mirror of https://github.com/apache/lucene.git
add note about escaping terms
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384427 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e494b8841b
commit
08f86a018f
|
@ -28,7 +28,10 @@ import java.util.List;
|
|||
|
||||
/** Implements the wildcard search query. Supported wildcards are <code>*</code>, which
|
||||
* matches any character sequence (including the empty one), and <code>?</code>,
|
||||
* which matches any single character. Note this query can be slow, as it
|
||||
* which matches any single character. If you want to treat a wildcard as a literal
|
||||
* character instead, escape it with '\'.
|
||||
* <p>
|
||||
* Note this query can be slow, as it
|
||||
* needs to iterate over many terms. In order to prevent extremely slow WildcardQueries,
|
||||
* a Wildcard term should not start with the wildcard <code>*</code>
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue