Use term boosts? "solr^3 rocks^2 apache"

http://lucene.apache.org/java/3_4_0/queryparsersyntax.html#Boosting%20a%20Term

Am 25.10.2011 11:19, schrieb prasenjit mukherjee:
During search time I get the following input ( only for 1 field ) =
"solr:3 rocks:2 apache:1" . For this I have to create the lucene query
in the following way :  'solr solr solr rocks rocks apache'  This
approach becomes cumbersome with large value of  frequencies.

Is there a better approach than this ?



---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to