You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Du...@Sun.COM on 2007/10/17 01:08:57 UTC

Fieldable and Document class.

	HI Folks,

        How to address the a change in the name of the file (or) the
    location of a file that was indexed.?. Is re-indexing this file the
    only way out ?.
    Since most of our files, we are planning on indexing are pretty dynamic.

    Thank you
    _Durga




Re: Fieldable and Document class.

Posted by Erick Erickson <er...@gmail.com>.
There is no "update in place" functionality in Lucene. You can use
IndexModifier
which (under the covers) does a delete/add.

How dynamic is "pretty dynamic"? updating one doc/hour? Updating
1,000 docs a second?

Best
Erick

On 10/16/07, Durga.Tirunagari@sun.com <Du...@sun.com> wrote:
>
>         HI Folks,
>
>         How to address the a change in the name of the file (or) the
>     location of a file that was indexed.?. Is re-indexing this file the
>     only way out ?.
>     Since most of our files, we are planning on indexing are pretty
> dynamic.
>
>     Thank you
>     _Durga
>
>
>
>