On the QueryParser:
/**
* Whether terms of wildcard, prefix, fuzzy and range queries are to
be automatically
* lower-cased or not. Default is <code>true</code>.
*/
public void setLowercaseExpandedTerms(boolean lowercaseExpandedTerms) {
this.lowercaseExpandedTerms = lowercaseExpandedTerms;
}
- Mark
Michael Böckling wrote:
Hi!
I just discovered that it is not possible to search in untokenized fields
when using a wildcard query.
The query
code:KP00* becomes code:kp00*
in its parsed form when it should really be "code:KP00*", as tested in Luke
using a whitespace analyzer. When omitting the wildcard character *, the
parsed query reads correctly as "code:KP00".
Is this a bug or a "feature"?
Thanks for any help!
Michael
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]