lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Escuer <david.esc...@simpple.com>
Subject Re: Field Boosting
Date Thu, 17 Nov 2005 12:38:40 GMT

Hi Daniel,

I faced the same problem a couple of days ago. I was trying to set the 
boost values while indexing, but the
results wasn't the expected. I've solved just putting the boost values 
in the search query, using the '^'
operator. There is an example:

((+text:house)^25.0) (+title:house)^40.0) (+hottext:house)^20.0)

Hope it helps

David

Daniel.Clark@sybase.com wrote:

>When I boost fields while indexing, the fields still have a boost of 1.0
>during searching.  When I view the values via Luke, it confirms the value
>of 1.0.  Do I have to boost it agin during search?  I want certain fields
>to have higher priority/score during search.  How do I get it to work?  I'm
>using version 1.4.3.  Any help will be appreciated.
>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>Daniel Clark, Senior Consultant
>Sybase Federal Professional Services
>6550 Rock Spring Drive, Suite 800
>Bethesda, MD  20817
>Office - (301) 896-1103
>Office Fax - (301) 896-1604
>Mobile - (703) 403-0340
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
>For additional commands, e-mail: java-user-help@lucene.apache.org
>
>  
>


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