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(
>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,
> 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