How can I integrate solr with mysql. I have deployed the solr server and all, so what I have to do next for performing search?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here is the ans
First have to do a full import which will index all the data in the database(indexing will make the search faster)full import can be started by hitting the below mentioned url in the browser.
If the database is so big and if we are performing full import several times it will take lots of time to avoid that we can do partial import by hitting the below url
When delta-import command is executed, it reads the start time stored in conf/dataimport.properties. It uses that timestamp to run delta queries and after completion, updates the timestamp in conf/dataimport.properties
After performing imports our solr is ready to perform search
we can simply hit this
url in the browser to get the result(here I am searching for the chairs, it will return 10 results)