I am using Solr 5.0.0, I have one question in relevance boost: If I search for laptop table like words, is there any way to boost results search word before the words like by with or without etc.
I used this query: ? defType = dismax & q = foo bar & bq = (*:* -by)^999 But, this will boost negatively those documents having the word by or with etc. How can i avoid this problem? For example, if I search for laptop table then by the above query the result DGB Cooling Laptop Table by GDB won't boost. I just need to give a boost to the search words before certain words like by, with, etc. Is it possible? Example 2 If i search for Laptop bag It should boost and return Results having search words before these words with,by,without,etc first. Lets say dell laptop with laptop bag laptop bag with cover laptop bag and table Results like laptop bag with cover laptop bag and table dell laptop without laptop bag, In the Results search word laptop bag is before with, without,and. Search results containing search word before these word should come first. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Boost-Search-word-before-Specific-Content-tp4216072.html Sent from the Solr - User mailing list archive at Nabble.com.