You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by bu...@apache.org on 2001/10/11 17:26:37 UTC

DO NOT REPLY [Bug 4105] - Prefix Queries cannot be case insensitible

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4105>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4105

Prefix Queries cannot be case insensitible





------- Additional Comments From cutting@apache.org  2001-10-11 08:26 -------
A simple way to fix this might be to add two methods to QueryParser:
  void setLowercasePrefixes(boolean);
  boolean getLowercasePrefixes();

This would determine whether prefixes are lowercased by the query parser before 
the PrefixQuery is constructed.  It could be true by default.

Would that suffice?