Supported wildcards are *, which matches any character sequence (including the empty one), and ?, which matches any single character. 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 wildcards *.
This query uses the {@link MultiNodeTermQuery#CONSTANT_SCORE_AUTO_REWRITE_DEFAULT}rewrite method.
Code taken from {@link WildcardQuery} and adapted for SIREn. @see AutomatonQuery
| |
| |