hmm ok,

but how will i be able to set different boosts to fields, if this value is not stored?! i dont really understand why i can set a boost factor and it is not stored and used.
what i want to do, is to weight my searchable index fields (type: Field.UnStored) with a different factors for those fields and if am not totally wrong this is done with set boost when i create the doc and write it to the index... or is there another way to do this?


thanks, bastian


----

Daniel Naber wrote:

See the documentation for getBoost:
"Note: this value is not stored directly with the document in the index. Documents returned from IndexReader.document(int) and Hits.doc(int) may thus not have the same value present as when this field was indexed."


Regards
Daniel


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to