Re: Using analyzers with term queries

2005-10-25 Thread Erik Hatcher
On 25 Oct 2005, at 09:46, Jeff Rodenburg wrote: I don't mean to take the thread off-topic, but is this the recommended approach for any of the Query objects, i.e. SpanQuery or PhraseQuery? In several applications I've built, a Query object is built via the API using an Analyzer directly and

Re: Using analyzers with term queries

2005-10-25 Thread Jeff Rodenburg
I don't mean to take the thread off-topic, but is this the recommended approach for any of the Query objects, i.e. SpanQuery or PhraseQuery? On 10/25/05, Erik Hatcher <[EMAIL PROTECTED]> wrote: > > > On 25 Oct 2005, at 07:00, Rob Young wrote: > > I am using TermQuery s (and FuzzyQuery s) on the s

Re: Using analyzers with term queries

2005-10-25 Thread Erik Hatcher
On 25 Oct 2005, at 07:00, Rob Young wrote: I am using TermQuery s (and FuzzyQuery s) on the searching side and I would like to keep doing so. However, I would like to use the MetaphoneReplacementAnalyzer (from Lucene in Action) when indexing. How can I allow for this in searching if I'm usi

Using analyzers with term queries

2005-10-25 Thread Rob Young
Hi, I am using TermQuery s (and FuzzyQuery s) on the searching side and I would like to keep doing so. However, I would like to use the MetaphoneReplacementAnalyzer (from Lucene in Action) when indexing. How can I allow for this in searching if I'm using TermQuery? Thanks Rob --