: I have a problem with index time boosting. I created 4  new fields:

I think you are missunderstanding the meaning of index time boosting vs 
query time boosting.

First of all, this is not meaninful syntax in your schema.xml...

:       <field name="title" type="text_general" indexed="true" stored="true"
: multiValued="true"  boost="5.0" omitNorms="false"/>

...there is no "boost" property that can be set on a <field/> in your 
schema.xml.

you can set boosts on the field values of individual documents when you 
index them -- but these boosts should vary per document.  It makes almost 
no sense to use the same index time boost of X for field Y on every 
document you index, because the relative effect on the query scores would 
be exactly the same for every document.

the goal you are describing sounds exacly like *query* time boosting -- 
you are quering for a word in multiple fields, and you want matches in 
some fields (title) to score higher then matches in other fields (text) 
regardless of document.

As otis points out: you can use something like dismax/edismax to cofigure 
this to happen automaticly, or you can be explicit in your query string 
with the lucene qparser (ie q=title:messi^5 text:messi^3)



-Hoss

Reply via email to