What are the best document edit options?

2008-12-16 Thread Thomas J. Buhr
Hello Lucene, Looking at the document object it seems like each time I want to edit its contents I need to do the following: 1 - fetch the document 2 - dump its contents into a temp container 3 - update field values in the temp container 4 - create a new document 5 - transfer my updated field

Re: What are the best document edit options?

2008-12-17 Thread Thomas J. Buhr
version of Lucene are you using? The more recent ones have IndexWriter.updateDocument.. Best Erick On Wed, Dec 17, 2008 at 2:20 AM, Thomas J. Buhr wrote: Hello Lucene, Looking at the document object it seems like each time I want to edit its contents I need to do the following: 1 - fetch

Re: What are the best document edit options?

2008-12-17 Thread Thomas J. Buhr
same lines for JSON would be even sweeter. Cheers, Thom On 17-Dec-08, at 2:39 PM, Steven A Rowe wrote: Hi Thomas, On 12/17/2008 at 11:52 AM, Thomas J. Buhr wrote: Where can I see how IndexWriter.updateDocument works without getting into Lucene all over again until this important issue is

Lucene and JSON

2008-12-19 Thread Thomas J. Buhr
Lucene, Is there JSON support in Lucene? JSON is more fat-free compared to XML and would be preferred. Digester works well for indexing XML but something along the same lines for JSON would be even sweeter. Best, Thom - To

Dynamic Indexing?

2009-03-11 Thread Thomas J. Buhr
Lucene, From what I have read on your website indexing does seem like a useful thing. I'm considering the possible use of Lucene in a company project and have a few research questions. What I'm considering is using Lucene as a backend data store for a graphic editor. The typical usage exa