Re: Trying To Understand Query Syntax Details

2001-10-16 Thread Dave Kor
--- "W. Eliot Kimber" <[EMAIL PROTECTED]> wrote: > I'm trying to understand the details of the query > syntax. I found the > syntax ` in QueryParser.jj, but it doesn't make > everything clear. > > My initial questions: > > - It doesn't appear that "?" can be the last > character in a search. Fo

Re: Highlighting terms, new white paper

2001-10-16 Thread Dave Kor
--- Lee Mallabone <[EMAIL PROTECTED]> wrote: > I've just done a whole bunch of code > browsing/digging, and it's as you > suspected - the WildcardQuery.prepare() method must > be executed so that the > enum is set correctly. It turns out that this gets > done when > Searcher.search() is called.

demo null path

2001-10-16 Thread Mark Ayad
Hi, I've been testing the demo files (note that the java docs need updating) So far the indexing on test files works ok. Moving to HTML files: I used the following command: java -classpath %classpath% org.apache.lucene.IndexHTML -create . adding ./powered.html adding ./resources.html Optimiz

XML Indexing Samples

2001-10-16 Thread W. Eliot Kimber
I have put together a hopefully useful package that demonstrates our current experiments with using Lucene for XML indexing. You can get the files by anonymous ftp from che.isogen.com, /outgoing/lucene. There are two zip files: - lucene_xml_indexing.zip This is the core indexing code and a l

rec.food.recipes data

2001-10-16 Thread Michael Barry
When I was playing with lucene a couple of months ago, the data for the javadoc examples was either bundled with the distro or available separately (I don't recall exactly). I now wish to explore the 1.2 release with the javadoc examples but cannot find the rec.food.recipes data on the apache site

Re: Trying To Understand Query Syntax Details

2001-10-16 Thread W. Eliot Kimber
> Scott Ganyo wrote: > > Not sure about the rest, but if you've stored your dates in mmdd > format, you can use a RangeQuery like so: > > dateField:[20011001-null] > > This would return all dates on or after October 1, 2001. Cool--thanks! E. -- . . . . . . . . . . . . . . . . . . . . . .

Fwd: Re: eou

2001-10-16 Thread Bernhard Huber
--- Begin Message --- > Hello hi, > > I download your webapplication in jsp concerning lucene. > It is very well, with my tomcat server... congralutations! Thanks > I create index for severals documents. > I use some requet like "text + text" yes > "text - text" ye

RE: Trying To Understand Query Syntax Details

2001-10-16 Thread Scott Ganyo
Not sure about the rest, but if you've stored your dates in mmdd format, you can use a RangeQuery like so: dateField:[20011001-null] This would return all dates on or after October 1, 2001. Scott > -Original Message- > From: W. Eliot Kimber [mailto:[EMAIL PROTECTED]] > Sent: Tuesda

Trying To Understand Query Syntax Details

2001-10-16 Thread W. Eliot Kimber
I'm trying to understand the details of the query syntax. I found the syntax ` in QueryParser.jj, but it doesn't make everything clear. My initial questions: - It doesn't appear that "?" can be the last character in a search. For example, to match "fool" and "food", I tried to do "foo?", but got

Re: Highlighting terms, new white paper

2001-10-16 Thread Lee Mallabone
> I tested by directly creating a WildcardQuery, and it worked okay for > me. Ah. I'm using the queryParser, so it was slightly less obvious what queries were created for what. > As you can see from the trace, the exception occurs in MultiTermQuery. > As what I can see from the source, it looks

RE: File Handles issue

2001-10-16 Thread Scott Ganyo
> > P.S. At one point I tried doing an in-memory index using the > > RAMDirectory > > and then merging it with an on-disk index and it didn't work. The > > RAMDirectory never flushed to disk... leaving me with an > > empty index. I > > think this is because of a bug in the mechanism that is >

AW: Highlighting terms, new white paper

2001-10-16 Thread Maik Schreiber
>However, when I enter a wildcard search ("wo?d" or "woo*" both >cause the error with my index), I get a NullPointerException >with this trace: > >java.lang.NullPointerException at >org.apache.lucene.search.MultiTermQuery.getQuery(MultiTermQuery >.java:131) I tested by directly creating a Wild

AW: Highlighting terms, new white paper

2001-10-16 Thread Maik Schreiber
>However, when I enter a wildcard search ("wo?d" or "woo*" both >cause the error with my index), I get a NullPointerException >with this trace: > >java.lang.NullPointerException at >org.apache.lucene.search.MultiTermQuery.getQuery(MultiTermQuery >.java:131) I tested by directly creating a Wild

Re: Highlighting terms, new white paper

2001-10-16 Thread Lee Mallabone
Dear Maik, > Hi, I just wanted to let you know that I've set up a new white paper > along with complete source code. The new code also takes care of the new > Query subclasses PrefixQuery, RangeQuery and MultiTermQuery. This looks fantastic - a great piece of documentation, thanks a lot! Howeve

Highlighting terms, new white paper

2001-10-16 Thread Maik Schreiber
Hi, I just wanted to let you know that I've set up a new white paper along with complete source code. The new code also takes care of the new Query subclasses PrefixQuery, RangeQuery and MultiTermQuery. You can get the white paper (in PDF format) and source at http://www.iq-computing.de/lucene/l