Lucene sorting case-sensitive by default?

2008-01-11 Thread Alex Wang
Hi All, I was searching my index with sorting on a field called "Label" which is not tokenized, here is what came back: Extended Sites Catalog Asset Store Extended Sites Catalog Asset Store SALES Print Catalog 2 Print catalog test Test Print Catalog Test refresh catalog print test 3

RE: Lucene sorting case-sensitive by default?

2008-01-14 Thread Alex Wang
ache.org Subject: Re: Lucene sorting case-sensitive by default? On Fri, 2008-01-11 at 11:40 -0500, Alex Wang wrote: > Looks like Lucene is separating upper case and lower case while sorting. As Tom points out, default sorting uses natural order. It's worth noting that this implies that defa

RE: Lucene sorting case-sensitive by default?

2008-01-14 Thread Alex Wang
al Message- > From: Toke Eskildsen [mailto:[EMAIL PROTECTED] > Sent: Monday, January 14, 2008 3:13 AM > To: java-user@lucene.apache.org > Subject: Re: Lucene sorting case-sensitive by default? > > On Fri, 2008-01-11 at 11:40 -0500, Alex Wang wrote: > > Looks like Lucene is

RE: Lucene sorting case-sensitive by default?

2008-01-14 Thread Alex Wang
Exception e) { e.printStackTrace(); } System.out.println("done"); } prints "This is Some Mixed, case Junk($*%& With Ugly SYmbols" yet still finds the document with a search for "junk" using StandardAnalyzer. Sorry for the confusion! Erick On Jan 14, 20

Urgent Help Please: "Resource Tempararily Unavailable"

2008-08-06 Thread Alex Wang
Hi Everyone, We have an application built using Lucene 1.9. The app allows incremental updating to the index while other users are searching the same index. Today, some search suddenly returns nothing when we know it should return some hits. This does not happen all the time. Sometimes the sear

Urgent Help Please: "Resource temporarily unavailable"

2008-08-06 Thread Alex Wang
Hi Everyone, We have an application built using Lucene 1.9. The app allows incremental updating to the index while other users are searching the same index. Today, some search suddenly returns nothing when we know it should return some hits. This does not happen all the time. Sometimes the sea

RE: Urgent Help Please: "Resource temporarily unavailable"

2008-08-06 Thread Alex Wang
IndexReader and IndexWriter are thread safe. Beside, I have no explicit multi-threading in our own code. Thanks again! Alex Wang CrossView Inc. Office: 416-281-6888 Email: [EMAIL PROTECTED] Web: http://www.crossview.com

Lucene Concurrency Issue

2008-08-06 Thread Alex Wang
Hi all, To allow mutilple users concurrently add, delete docs and at the same time search the same index, what should I watch out for in terms of initing indexreader, indexwriter and indexsearcher? My application is getting various IOException (seek failed, permission denied, etc...) when con

RE: Lucene Concurrency Issue

2008-08-07 Thread Alex Wang
o: java-user@lucene.apache.org >Subject: Re: Lucene Concurrency Issue > >The contrib realtime search patch enables the functionality you described. >https://issues.apache.org/jira/browse/LUCENE-1313 > >On Wed, Aug 6, 2008 at 7:45 PM, Alex Wang <[EMAIL PROTECTED]> wrote: > >