lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trejkaz <trej...@trypticon.org>
Subject Re: how to write this SOLR query in LUCENE api?
Date Fri, 18 Sep 2015 06:16:27 GMT
On Fri, Sep 18, 2015 at 1:14 AM, Ziqi Zhang <ziqi.zhang@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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message