Noticed that in Luke... is there any existing analyzer around that supports 
case-insensitive search and recognizes "RZ/G/17" as one token? 

-----Ursprüngliche Nachricht-----
Von: AHMET ARSLAN [mailto:iori...@yahoo.com] 
Gesendet: Donnerstag, 13. August 2009 22:52
An: java-user@lucene.apache.org
Betreff: Re: AW: Wildcard search fails

> we used different analyzers and regenerated the index each
> time with the same results...used Luke each time already.
> Currently we're using SnowBall and Luke can't find any
> documents using the supplied query examples below (in
> zzz-all).
> 
> Same happened using StandardAnalyzer (for both, indexing
> and search).
> Using Luke with StandardAnalyzer set, searching for
> "rz/g/*" results in a query for zzz-all:rz/g/* but with no results.

StandardTokenizer produces two tokens ('rz' and  'g/17') from 'RZ/G/17'.
That's why "rz/g/*" is not matching. WhitespaceTokenizer or WhitespaceAnalyazer 
will recognize 'RZ/G/17' as one token.
Then you the query "RZ/G/*" will return 'RZ/G/17'. Also wildcard queries are 
not analyzed (tokenize, lowercase, stem, etc). 


      

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to