Updating documents in Lucene

G

gefafwisp

Hi all,
The way that Lucene seems to work is that
updates to documents are implemented by the user as a document
addition (of the new version) and subsequent deletion (of the old
version).

My problem is that I'd like to update a number of documents which have
their Store flag set to NO - they're indexed, but not stored. I don't
have the original text content of these documents available anywhere
else - is there any way for me to get this un-stored indexed data from
the old document into the new?

I'm actually using the PyLucene bindings - anyone know if that makes a
difference?

Also posting to comp.lang.java.programmer.

Thanks,
James
 
G

gwoodhouse

I wish i could help but i use solr ontop of lucene.

Im not sure if luke would be able to read/analyse lucene index's. Its
worth giving it a try though, its a pretty useful tool - if it works
that is.

Graeme
 
E

EJP

I don't
have the original text content of these documents available anywhere
else - is there any way for me to get this un-stored indexed data from
the old document into the new?

If you don't have the old document any more, why do you still want its
index data?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top