[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lucene-user
Subject:    Re: how to write this SOLR query in LUCENE api?
From:       Trejkaz <trejkaz () trypticon ! org>
Date:       2015-09-18 6:16:27
Message-ID: CADuAvzcMER57024_dLx_nazmWXJ+MOQM74aLZQf-FD_0hBTmbQ () mail ! gmail ! com
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic