Hi all,

       I am using solr in my web application for search purposes. However, i
am having a problem with the default behaviour of the solr search.

>From my understanding, if i query for a keyword, let's say "Laptop",
preference is given to result rows having more occurences of the search
keyword "Laptop" in the field "name". This, however, is producing
undesirable scenarios, for example:

1. I index an item A with "name" value "Sony Laptop".
2. I index another item B with "name" value: "Laptop bags for laptops".
3. I search for the keyword "Laptop"

According to the default behaviour, precedence would be given to item B
since the keyword appears more times in the "name" field for that item.


Also we donot have anything in the catagory field with which we can
catagorize.

Can anyone suggest a better approach to sort potential search results?

Thanks in advance.
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Item-precedence-search-problem-tp2130419p2130419.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to