lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mango <bgh...@gmail.com>
Subject Re: Adding a new field to existing Index
Date Tue, 29 Jun 2010 11:59:53 GMT
Unfortunately, I don't think it is possible to add new field without
re-indexing.

As for extracting content from the field, it should be possible to
retrieve data if the term vectors
were stored with positions offset
(Field.TermVector.WITH_POSITIONS_OFFSETS). If not, I don't
think it's possible.

On Tue, Jun 29, 2010 at 1:40 PM, Naveen Kumar <id.navs@gmail.com> wrote:
> Hey,
>
> I need to add a new field (a stored , not indexed field) for all documents
> present in an existing large index. Reindexing the whole index will be very
> costly. Is there a way to do this or any work around?
>
> I would also like to know, if data or term vector, of a field indexed
> without storing, can somehow be retrieved. This would enable a work around
> solution to my problem.
>
> Thank you
> Naveen Kumar
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message