RegexpQuery
Constructs a query for terms matching term.
By default, all regular expression features are enabled.
Parameters
regular expression.
Constructs a query for terms matching term.
Parameters
regular expression.
optional RegExp syntax features from RegExp
maximum effort to spend while compiling the automaton from this regexp. Set higher to allow more complex queries and lower to prevent memory exhaustion. Use Operations.DEFAULT_DETERMINIZE_WORK_LIMIT as a decent default if you don't otherwise know what to specify.
Constructs a query for terms matching term.
Parameters
regular expression.
optional RegExp syntax features from RegExp automaton for the regexp can result in. Set higher to allow more complex queries and lower to prevent memory exhaustion.
boolean 'or' of match behavior options such as case insensitivity
maximum effort to spend while compiling the automaton from this regexp. Set higher to allow more complex queries and lower to prevent memory exhaustion. Use Operations.DEFAULT_DETERMINIZE_WORK_LIMIT as a decent default if you don't otherwise know what to specify.
Constructs a query for terms matching term.
Parameters
regular expression.
optional RegExp features from RegExp
custom AutomatonProvider for named automata
maximum effort to spend while compiling the automaton from this regexp. Set higher to allow more complex queries and lower to prevent memory exhaustion. Use Operations.DEFAULT_DETERMINIZE_WORK_LIMIT as a decent default if you don't otherwise know what to specify.