lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Digy" <>
Subject RE: Wildcard queries are not analyzed
Date Tue, 17 Apr 2012 19:26:06 GMT
GetPrefixQuery doesn't use analyzers, and it is a well known issue of

Suppose a hypothetical analyzer(with stemming) which stems 'went' as 'go'
and you want to search 'wentworth miller'.
A search like 'went*' would be converted to 'go*' which i guess wouldn't be
what you want.


-----Original Message-----
From: Björn Kremer [] 
Sent: Tuesday, April 17, 2012 12:59 PM
Subject: Wildcard queries are not analyzed


maybe I have found a little lucene problem: Wildcard queries are not
analyzed correctly. I'm using the german analyzer with the

In the lucene-index my name('Björn') is stored as 'bjorn'. If I performe a
wildcard query like 'björ*' the function 'GetPrefixQuery' does not analyze
the search term. So the query result is 'björ*' instead of 'bjor*'. (björ* =
no match, bjor* = match)

Thank You


Checked by AVG -
Version: 2012.0.1913 / Virus Database: 2411/4940 - Release Date: 04/16/12

View raw message