0 down vote favorite I am implementing Solr search, the search order is not displaying on the basis of relevancy. Lets say if use the search keywords as .net ios it's returning the results based on score. I have a field KeySkills which holds the following data
KeySkills:Android, ios, Phonegap, ios KeySkills:.net, .net, .net, MVC, HTML, CSS Here when i search *.net ios* as search keyword *.net, .net, .net, MVC, HTML, CSS* should come first in the results and the score should be higher because it contains .net 3 times, but i am getting reverse result. Is there any setting needs to be done in solr config file or in schema.xml file to achieve this or how can i sort the results based on max no of occurrence of the the text. please help me to solve this. Following is the result i get { "responseHeader": { "status": 0, "QTime": 0, "params": { "indent": "true", "q": ".net ios", "_": "1434345788751", "wt": "json" } }, "response": { "numFound": 2, "start": 0, "docs": [ { "KeySkills": "Android, ios, Phonegap, ios", "_version_": 1504020323727573000, "score": 0.47567564 }, { "KeySkills": "net, net, net, MVC, HTML, CSS", "_version_": 1504020323675144200, "score": 0.4726259 } ] } } -- View this message in context: http://lucene.472066.n3.nabble.com/Solr5-search-not-displaying-results-based-on-relevancy-tp4211796.html Sent from the Solr - User mailing list archive at Nabble.com.