Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / January 2008

Tip: Looking for answers? Try searching our database.

Updating documents in Lucene

Thread view: 
gefafwisp@gmail.com - 30 Jan 2008 18:20 GMT
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
gwoodhouse@gmail.com - 31 Jan 2008 08:36 GMT
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
EJP - 31 Jan 2008 10:43 GMT
> 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?


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.