Parsing of queries.

2002-01-13 Thread Stefan Bergstrand
I add a field to a document using: doc.add(Field.Text("path", "d=100&a=102")); When I search for the document using "d=100&a=102" as the query using: public static void main(String[] args){ String indexDir = args[0]; String queryStr = args[1]; System.out.println(

Re: Trying to create NEAR option in QueryParser -- ideas/help

2002-01-13 Thread Brian Goetz
>First I have to say, Brian Goetz has done an awesome job putting this >together. A great way to get my attention, thanks! :) >Overview of how I think the QueryParser works: >The basis for the QueryParser is to break up everything into the >appropriate type of Query (TermQuery, PhraseQuery,

Re: I want to search on BOTH --> (1) "XML" data and (2) "Text" data.

2002-01-13 Thread Kelvin Tan
> You can also look on www.mail-archive.com and search this list's > archive for some related discussions. Try searching for Philip Ogren > (I think I got the name right), he sent some code that lets you go from > XML -> Lucene Document quickly, I think. > > Otis Ugh. I hate that we have to rely