On Fri, Sep 18, 2015 at 1:14 AM, Ziqi Zhang <ziqi.zh...@sheffield.ac.uk> wrote: => > So my question is, how can I achieve the same by using the Lucene API, not > solr? I looked into the org.apache.solr.handler.component.TermsComponent > class but it is not very obvious for me.
org.apache.lucene.search.RegexpQuery. Or, if your regexes are not trivial enough to be represented by that one, org.apache.lucene.sandbox.queries.regex.RegexQuery. TX --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org