Sebi wrote:
I want to create an index where words in "title" field will have bigger
weight that those in "description" field. i see there si a field
variable called boost. I tried to set that variable to a bigger value
(let's say 100), but useless. After I added the field to the document
and the document to the index, the boost variable for title field is
just 1 (which is the default value). What should I do to make this work?
Fields' and documents' boost factors are not stored in the index, so
they will be 1.0 for documents loaded from index.
Index stores "normalization factor" for each field of each document.
This normalization factor depends on document and field boost factors
and number of terms within the field.
Take a look on
http://framework.zend.com/manual/en/zend.search.extending.html#zend.search.extending.scoring
for details.
Normalization factors affect hits' scores, but it was not processed
correctly (http://framework.zend.com/issues/browse/ZF-228).
I've just fixed this and resolved the issue.
> Any ideas?
Take SVN version :)
With best regards,
Alexander Veremyev.