0

I have a Created Lucene Index over some documents and storing this index in a folder.

Now i want to update this Index like

1- Deleting subset of documents from Lucene Index

2- Adding more documents to Lucene Index

How is this possible ? Do i have to create Lucene Index over complete documents again?

Thanks

1
  • I am using Lucene.Net which is Version 3 Commented Nov 26, 2014 at 10:14

1 Answer 1

1

Don't know which version of Lucene you are using, but assuming you are using Java and version 4.0+, you should open IndexWriter with APPEND mode, configured in IndexWriterConfig. If you are using .net, there should be a close counterpart.

Sign up to request clarification or add additional context in comments.

2 Comments

How can i delete subset of documents from Lucene Index?
Recent version of Lucene/Java IndexWriter has two deleteDocuments methods based either on Term or Query.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.