lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: Weighting Issue
Date Fri, 31 Aug 2007 18:28:17 GMT

> Have you tried giving the name field a boost?  E.g. name:(John Smith)^10
> alias:(John Smith)

i'm also guessing youd be much happier with a sloppy phrase query then 
with the boolean queries you are currently using..

    name:"John Smith"~3^10 alias:"John Smith"~3


-Hoss

---------------------------------------------------------------------
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