Set to
CopyC#
true
to allow leading wildcard characters.

When set,

CopyC#
*
or
CopyC#
?
are allowed as the first character of a PrefixQuery and WildcardQuery. Note that this can produce very slow queries on big indexes.

Default: false.

Namespace: Lucene.Net.QueryParsers
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public virtual void SetAllowLeadingWildcard(
	bool allowLeadingWildcard
)
Visual Basic
Public Overridable Sub SetAllowLeadingWildcard ( _
	allowLeadingWildcard As Boolean _
)
Visual C++
public:
virtual void SetAllowLeadingWildcard(
	bool allowLeadingWildcard
)

Parameters

allowLeadingWildcard
Type: System..::..Boolean

[Missing <param name="allowLeadingWildcard"/> documentation for "M:Lucene.Net.QueryParsers.QueryParser.SetAllowLeadingWildcard(System.Boolean)"]

See Also