Hi,
could u pl. tell me how to update boost factor of already indexed document
using setBoost.
Thanks & regards,
Rohit
--
VANDE - MATRAM
thanks koji but can u give me a example..it will be so nice of you...
thanks & regards
Rohit
On 8/10/07, Koji Sekiguchi <[EMAIL PROTECTED]> wrote:
>
> Or, you can use FieldNormModifier class to modify existing fieldNorm:
>
> $ java org.apache.lucene.index.FieldNormModifier path-to-index
> yo
Or, you can use FieldNormModifier class to modify existing fieldNorm:
$ java org.apache.lucene.index.FieldNormModifier path-to-index
your.Similarity field1 [field2 ...]
To do this, you have to write your own Similarity class to adjust boost,
via lengthNorm().
Thank you,
Koji
rohit saini wrote
You can't. You have to delete and reindex the document with the new
boost.
On Aug 9, 2007, at 11:59 PM, rohit saini wrote:
Hi,
could u pl. tell me how to update boost factor of already indexed
document
using setBoost.
Thanks & regards,
Rohit
--
VANDE - MATRAM
-
Thanks a lot Grant
I have been trying to do socould u please send me example of doing the
way u r talking .
Again thanks so much...
Regards,
Rohit
On 8/10/07, Grant Ingersoll <[EMAIL PROTECTED]> wrote:
>
> You can't. You have to delete and reindex the document with the new
> boost.
>
>
Hi koji,
please give me an example. Let me explain what I want to do:
I have indexed some documents. Now I want to update the ranking of the
documents based on following criteria:
1.) The documents which come into search result should get one point
2.) The documents which are viewed by the user s
Hi Rohit,
The way I showed you doesn't suit your need, because FieldNormModifier
should be used for modifying all fieldNorm values of the field specified
at the
command line parameter in batch mode.
You can have an extra field other than content and register the point
to the field. Then use Fu