thanks doug,
that works... but i have to do this setNorm() for each document, which
has been indexed up to now, right? there are round about 1 mio. docs in
the index... i dont think it's a good idea to perform a search and do it
for every doc (and every field of the doc...).
is there any possibi
thanks for your reply, eric.
so i am right that its not possible to change the boost without
reindexing all files? thats not good... or is it ok only to change the
boosts an optimize the index to take changes effecting the index?
if not, will i be able to boost those fields in the searcher?
than
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 thos
hi all,
i have a strange problem with the get and setBoost functions
(lucene-1.4.1). i am trying the following code:
[...]
Document d1 = new Document();
Field f1 = Field.Text("field", "word");
f1.setBoost(2.0f);
d1.add(f1);
d1.setBoost(3.0f);
writer.addDocument(d1);
[...]
so if i'am right, this m