Field searching for nothing

2005-04-08 Thread Bruce Best (CRO)
Is there any syntax to find all the documents where a particular Lucene-indexed field is empty? For instance, say there is a field called "author". I can do a field search for author:cutting to find all documents with "cutting" in the author field; I could also search for author:

Re: Corrupted index

2005-04-08 Thread Daniel Naber
On Friday 08 April 2005 23:51, Bill Tschumy wrote: > Would > this happen if there was a Writer that was not closed? Either the copy was done while the index was being updated, or the previous index update didn't finish (e.g. because it crashed before the index was closed). Regards Daniel --

Re: Corrupted index

2005-04-08 Thread Bill Tschumy
So, did this happen because he copied the data while in an inconsistent state? I'm a bit surprised that an inconsistent index is ever left on disk (except for temporarily while something is being written). Would this happen if there was a Writer that was not closed? On Apr 8, 2005, at 1:22 PM

Re: Implementing(Indexing) as Server

2005-04-08 Thread Erik Hatcher
On Apr 8, 2005, at 1:03 PM, bib bib wrote: Hi All People use my webapp to load documents. I want to use lucene to index and present a search page for them. My files are uploaded to a directory. I want to write a program which runs stand alone and does all the indexing etc. My web app just searc

Re: Corrupted index

2005-04-08 Thread Daniel Naber
On Friday 08 April 2005 19:26, Bill Tschumy wrote: > The only thought I had was that he copied the data while the app was  > still running and perhaps it was in an inconsistent state. Yes, the *.cfs shows that this is a compound index which has *.fnm files only when it's being modified. You're

Re: Corrupted index

2005-04-08 Thread Daniel Naber
On Friday 08 April 2005 19:26, Bill Tschumy wrote: > The only thought I had was that he copied the data while the app was  > still running and perhaps it was in an inconsistent state. Yes, the *.cfs shows that this is a compound index which has *.fnm files only when it's being modified. You're

Corrupted index

2005-04-08 Thread Bill Tschumy
I had a customer report a corrupted Lucene index. He had copied the index to backup storage, reformatted his drive, and then restored the data. After that Lucene has trouble opening the index. Here is the backtrace: java.io.FileNotFoundException: /Users/bill/Desktop/IndexData/_v.fnm (No su

RV: nested queries

2005-04-08 Thread Romero Mariela
Hi all, We are using Lucene to search business objects with simple queries, but now we need advanced searchs. For example, we have a user object which has as indexed fields the type of the object, its id and its role, and an account object which has as indexed fields the type, its id and the id

Implementing(Indexing) as Server

2005-04-08 Thread bib bib
Hi All People use my webapp to load documents. I want to use lucene to index and present a search page for them. My files are uploaded to a directory. I want to write a program which runs stand alone and does all the indexing etc. My web app just searches and displays. Is there a sample app