Re: SearchBean submitted in Lucene-Sandbox contributions

2002-07-17 Thread Peter Carlson
Does anyone now where Java CC 2.0 is. I thought someone got permission to included it with the source distribution. --Peter On 7/18/02 8:13 AM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Dear Peter, > > hi, I was trying to use the SearchBean, but was unable to locate a copy of > JavaCC

Re: CachedSearcher

2002-07-17 Thread David Smiley
On Tuesday, July 16, 2002, at 01:23 PM, Scott Ganyo wrote: > Point taken. Indeed, these were general recommendations that > may/may not > have a strong impact on Lucene's specific use of finalization. My only > specific performance claim is that there will be a negative impact > of some > d

Re: CachedSearcher

2002-07-17 Thread Doug Cutting
Halácsy Péter wrote: > I made an IndexReaderCache class from the code you have sent (the code in >demo/Search.jhtml). > But this causes exception: > IndexSearcher searcher = new IndexSearcher(cache.getReader("/data/index")); > searcher.close(); > > > searcher = new IndexSearcher(cache.getReader

Re: Escape woes

2002-07-17 Thread Matthew B. Merrill
I'll bet it has something to do with numbers vs letters around the hyphen. The example I had that worked with a single hyphen was "#-#", like "1-1" or "4-13". Your example is also number-based (-MM-DD). Anyone care to weigh in with a detailed treatise on what's happening and why? --- Matt

Re: Escape woes

2002-07-17 Thread Matthew B. Merrill
I tried double quotes when using StandardAnalyzer; things got *really* strange then. If I was searching for a string that contained just one hyphen, I got what I expected. If the string contained *two* hyphens, then I got things like: search string I construct: (host:"ny-dns-2") query as repor

Re: Escape woes

2002-07-17 Thread Keith Gunn
I had the same problem when indexing date fields i.e. -MM-DD I use the standard analyzer and i use double quotes and it works fine. On Tue, 16 Jul 2002, Matthew B. Merrill wrote: > > I think I have a workaround, but I'm not sure why it works (since it > doesn't mesh with the docs about esca