RE: NativeFSLockFactory problem

2006-10-19 Thread Frank Kunemann
Hi Mike, no problem. Just good to know its not my fault this time... ;) Regards, Frank -Original Message- From: Michael McCandless [mailto:[EMAIL PROTECTED] Sent: Thursday, October 19, 2006 12:03 PM To: java-user@lucene.apache.org Subject: Re: NativeFSLockFactory problem Frank

NativeFSLockFactory problem

2006-10-18 Thread Frank Kunemann
Hi all, I'm trying to use the new class NativeFSLockFactory, but as you can guess I have a problem using it. Don't know what I'm doing wrong, so here is the code: FSDirectory dir = FSDirectory.getDirectory(indexDir, create, NativeFSLockFactory.getLockFactory()); logger.info("Index: "+indexDir.

How to tell if IndexSearcher/IndexReader was closed?

2006-09-26 Thread Frank Kunemann
Hi all, after I delete some entries from the index, I close the IndexSearcher to ensure that the changes are done. But after this I couldn't figure out a way to tell if the searcher is closed or not. Any ideas? Regards Frank -

Find out which field of document matched the query

2006-06-01 Thread Frank Kunemann
Hi lucene users, just wanted to know if there is a simple way to find out which field(s) of a document matched the query. In our case we have different content fields and the user can choose whether he wants to search in all of them or just in one. To keep the index as small as possible we don't s

RE: creating indexReader object

2006-05-02 Thread Frank Kunemann
Lucene's fields are case sensitive and I think "contents" is written in lower case by default. Cheers, Frank -Original Message- From: trupti mulajkar [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 02, 2006 4:11 PM To: java-user@lucene.apache.org Subject: Re: creating indexReader object

Which field has a hit?

2006-03-22 Thread Frank Kunemann
Hi again, is there a way to receive the fields of a document that have a hit? My problem is that in my case a lucene document consists of many different files that belong together. Each of the files has an own content field, but I don't store the content to keep the index as small as possible. The

RE: IndexWriter.addIndexes

2006-03-21 Thread Frank Kunemann
Message From: Frank Kunemann <[EMAIL PROTECTED]> To: java-user@lucene.apache.org Sent: Tuesday, March 21, 2006 7:29:16 AM Subject: IndexWriter.addIndexes Hi, all I want to know about IndexWriter.addIndexes() is if there is a way to tell if merging was successful or not. Or can I be sure t

IndexWriter.addIndexes

2006-03-21 Thread Frank Kunemann
Hi, all I want to know about IndexWriter.addIndexes() is if there is a way to tell if merging was successful or not. Or can I be sure that if no IOException is thrown, everything is fine and I can delete the old indexes? Regards Frank ---