lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rene Hackl-Sommer <rene.a.ha...@gmx.de>
Subject Re: reusing the term-frequency count while indexing
Date Tue, 25 Oct 2011 09:51:10 GMT
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message