lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: Leading wildcards
Date Thu, 19 Apr 2007 21:51:19 GMT

: > Any reason that parser.setAllowLeadingWildcards(true) shouldn't be
: > the default?

i'm of two minds on this, both of which vote "don't do it"

from a predictibility standpoint, i think we should keep the default
beahvior the same as the base QueryParsers default behavior as much as

from a stability standpoint, i would suggest that people should have to go
out of their way to get this behavior, since it does open up the
possiblity of a query OOMing Solr extremely easily.

In general: if we are going to change the behavior of existing syntax in
QP, it should be in ways that make the system more stable (ala:
ConstantScore Range and Prefix queries) and not less.


View raw message