A couple of things.. 1> I don't think you set the boost when indexing. You set the boost when querying, so you don't need to re-index for boosting.
2> A recurring theme is that you can't do an update-in-place for a lucene document. You might search the mail archive for a discussion of this. The short form is that if you want to change every document, you're probably better off re-indexing the whole thing. If, for some reason you can't/don't want to just re-index it all, then be aware that if you didn't store the fields for the documents (i.e. use Field.Store.YES), then you really can't reconstruct the document from the index without potentially losing information. Hope this helps Erick On 8/29/06, Xiaocheng Luan <[EMAIL PROTECTED]> wrote:
Hi, Got a question. Here is what I want to achieve: Create a new index from an existing index, to change the boosting factor for some of the documents (and potentially some other tweaks), without reindexing it from the source. Is there any tools or ways to do this? Thanks! Xiaocheng Luan --------------------------------- Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small Business.