Re: Search Problem

2005-11-29 Thread Dirk Hennig
Lucene is case sensitive. Make sure the case in your query matches the case in the index. You could also try selecting the keyword analyser in Luke. I've done both, but the results are as written. Dirk - To unsubscribe, e-m

Re: Search Problem

2005-11-29 Thread Dirk Hennig
Hi Pierrick, It is very likely that the analyzer bound to your query parser filters "pdf" out, maybe because it has only 3 letters, Luke shows me "filetype:pdf" as parsed and rewritten query. I think than this can't be the problem or am I wrong on this? Greetings, Dirk

Search Problem

2005-11-29 Thread Dirk Hennig
ts. Even the simple query "+filetype:pdf" returns no results. But "+filetype:html" works perfect. How can this be? Has anyone an idea? Thanx, Dirk Hennig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Iterate through all entries

2005-10-26 Thread Dirk Hennig
Hallo, I want to iterate through all documents in my index (to add some new fields). What ist the best / fastest way to do this? Greetings, Dirk Hennig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

luke start problem

2005-09-29 Thread Dirk Hennig
Hello, I downloaded lukeall.jar, put it in my classpath and tried to start it: > java org.getopt.luke.Luke and I get: -- Exception in thread "main" java.lang.SecurityException: class "org.apache.lucene.store.IndexInput"'s signer information does not match signer information of other classe

Re: IOException IndexReader out of date

2005-07-07 Thread Dirk Hennig
Volodymyr Bychkoviak wrote: method open is static method wich returns new indexReader. maybe this is the problem. I did not see the wood for the trees! That's it! The correct program looks like this: - indexReader = IndexReade

Re: IOException IndexReader out of date

2005-07-07 Thread Dirk Hennig
Volodymyr Bychkoviak wrote: the problem is than index was modified between indexReader.open(index); and indexReader.delete(hitId); method calls. That would explain the exception. But How? The program is exactly as I wrote it! --

IOException IndexReader out of date

2005-07-07 Thread Dirk Hennig
Hallo, When I try to use this to remove several documents from the index - indexReader.open(index); while (!removeStack.empty()) { int hitId = ((Integer)(removeStack.pop())).intValue(); indexReader.delete(hitId); } indexR