cost of opening IndexSearcher

2003-05-29 Thread Herman Chen
Hello, Is the cost of opening an IndexSearcher proportional to anything, e.g. physical index size, number of segments? Thanks. -- Herman - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTEC

Question on having IndexReader and IndexWriter simultaneously

2002-11-22 Thread Herman Chen
Hi, According to my experimentation, I am unable to create an IndexWriter while any IndexReader/Searcher is open on the same index. Since I have all search threads share one IndexReader, each time I need to create an IndexWriter I have to wait until all searches are done so that I can close the I

Re: Change in Range Query Syntax?

2002-11-13 Thread Herman Chen
I was surprised by this change too. I think the syntax changed from [from - to] to [from to]. - Original Message - From: "Terry Steichen" <[EMAIL PROTECTED]> To: "Lucene Users Group" <[EMAIL PROTECTED]> Sent: Thursday, November 14, 2002 12:18 AM Subject: Change in Range Query Syntax? I

Date can't be before 1970?

2002-11-03 Thread Herman Chen
Hi, I noticed that DateField.dateToString does not allow dates before 1970. Is the limitation caused by java's Date or by the way it needs to be encoded for the index. What is the suggested solution to deal with dates prior to 1970? Thanks. -- Herman

Read-only mode index

2002-09-08 Thread Herman Chen
Hi, I recall having seen discussions on the need for accessing index in read-only mode. Has there been a solution suggested or any contributions? Thanks. -- Herman

identical field names

2002-05-20 Thread Herman Chen
Hi, Does Lucene allow Document with more than one Field of the same name but different values? I'm wondering about this because I'm trying to implement hierarchical search as suggested by the FAQ, i.e. /dir1/dir2/dir3. But that seems to work only for one folder assignment for each Document, I

corrupted index

2002-03-15 Thread Herman Chen
Hi, If my jre is terminated abnormally when Lucene is modifying the index, the index seems to be left in a corrupt state, i.e. can no longer make changes to the index. Is there any way to fix this, such as removing the .lock files or something? Also I am using some nightly build before rc2.

Maximum indexable data

2002-03-07 Thread Herman Chen
Hi, Is there a limit for the amount of data indexable by a segment? If so is there a limit for searching? i.e. can I give MultiSearcher several indices that are all close to the maximum size. Thanks. -- Herman