lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Naveen Kumar <id.n...@gmail.com>
Subject Re: Adding a new field to existing Index
Date Wed, 30 Jun 2010 06:52:57 GMT
yes, with lucene's current API's, it does not seem possible.
But, as this is a problem that many might be facing, I was hoping someone
might have figured out a solution.


On Tue, Jun 29, 2010 at 5:29 PM, Mango <bghost@gmail.com> wrote:

> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message