Hello, Chuming. It doesn't. The closest thing is to create TermAutomatonQuery.
On Mon, Nov 20, 2017 at 11:03 PM, Chuming Chen <chumingc...@gmail.com> wrote: > Hi All, > > According to http://lucene.apache.org/core/7_1_0/core/org/apache/lucene/ > util/automaton/RegExp.html. Lucene supports repeat expressions. > > repeatexp ::= repeatexp ? (zero or one occurrence) > | repeatexp * (zero or more occurrences) > | repeatexp + (one or more occurrences) > | repeatexp {n} (n occurrences) > | repeatexp {n,} (n or more occurrences) > | repeatexp {n,m} (n to m occurrences, including both) > > > Does Solr support multiple occurrence of terms in a phrase query? For > example: name:”abc{0, 3} def”, which means term “abc” repeats 0 to 3 times > in the phrase. > > Thanks, > > Chuming > > -- Sincerely yours Mikhail Khludnev