Apache Lucene.Net 2.1 Class Library API
QueryParser.SetAllowLeadingWildcard Method
Set to
true
to allow
*
and
?
as the first character of a PrefixQuery and WildcardQuery. Note that this can produce very slow queries on big indexes. Default: false.
public virtual
void
SetAllowLeadingWildcard(
bool
allowLeadingWildcard
);
See Also
QueryParser Class
|
Lucene.Net.QueryParsers Namespace