Sorry - I said I was going to send some code ...
--
Ian.
import org.apache.lucene.queryParser.*;
import org.apache.lucene.search.*;
import org.apache.lucene.index.*;
import org.apache.lucene.analysis.*;
import org.apache.lucene.analysis.standard.*;
import org.apache.lucene.document.*;
impo
> Hi... I am both a "newbie" to Lucene and to using this list, so please
> forgive me if I make some mistakes. I am trailing onto this post because I
> cannot seem to get the "wildcard" function to work at all, while all of the
> other features seem to work just fine. I am using a very standard
>
ks!
-Original Message-
From: Ian Lea [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 24, 2002 10:00 AM
To: Lucene Users List
Cc: [EMAIL PROTECTED]
Subject: Re: AW: WildcardQuery
Left wildcards seem to work if you explicitly use a
WildcardQuery e.g.
Term t = new Term("id"
Left wildcards seem to work if you explicitly use a
WildcardQuery e.g.
Term t = new Term("id", "*ucene");
Query query = new WildcardQuery(t);
but if use QueryParser with an analyzer e.g.
Analyzer analyzer = new StandardAnalyzer();
Query query = QueryParser.pars
It works with the nightly builds and probably with 1.2-RC5 :-)
Christian
> -Ursprungliche Nachricht-
> Von: Otis Gospodnetic [mailto:[EMAIL PROTECTED]]
> Gesendet: 07 May 2002 17:31
> An: Lucene Users List
> Betreff: Re: WildcardQuery
>
>
> Yes, me too. I just tried it on some Lucene i