Lucene's default scoring formula gives shorter fields a higher score: http://lucene.apache.org/java/2_4_0/api/org/apache/lucene/search/Similarity.html
Sounds like you want the opposite. You can write your own Similarity class overriding the lengthNorm() method: http://lucene.apache.org/java/2_4_0/api/org/apache/lucene/search/Similarity.html#lengthNorm%28java.lang.String,%20int%29 Bill http://lucene.apache.org/java/2_4_0/api/org/apache/lucene/search/Similarity.html On Tue, Aug 18, 2009 at 3:02 PM, Fuad Efendi <f...@efendi.ca> wrote: > I don't want single-term docs such as "home" to appear in top for simple > search for a home; I need "home improvement made easy" in top... How to > implement it at query time? > > Thanks! > > > >