Thank you for your answer. >> 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. I understand. So I must use the norm() function to test the current normalization factor for a field? >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. The current svn is 2441. I will wait until the 2444 will appear to download the patch. Thank you for this answer. > Any ideas? Take SVN version :) With best regards, Alexander Veremyev. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
