> 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