lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From George Abraham <>
Subject Re: querying multiple fields
Date Wed, 22 Jun 2005 18:02:04 GMT
That worked like a charm. It seems to me that reading up on the
different analyzers would solve a lot of questions in my mind.
Unfortunately your book has not arrived yet from Amazon. Aarrgh!

Thanks a ton!

> Your analyzer is eating the ImageExistsBit:1 because "1" returns no
> tokens through StopAnalyzer.  Here's a solution, adapted from the
> code that powers  Use this as your analyzer:
>       PerFieldAnalyzerWrapper analyzer = new PerFieldAnalyzerWrapper
> (new StopAnalyzer());
>       analyzer.addAnalyzer("ImageExistsBit", new WhitespaceAnalyzer());
> That should do the trick.
>     Erik

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message