You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by xavier jmlucjav <jm...@gmail.com> on 2017/01/05 17:32:34 UTC

reuse a org.apache.lucene.search.Query in Solrj?

Hi,

I have a lucene Query (Boolean query with a bunch of possibly complex
spatial queries, even polygon etc) that I am building for some MemoryIndex
stuff.

Now I need to add that same query to a Solr query (adding it to a bunch of
other fq I am using). Is there a some way to piggyback the lucene query
this way?? It would be extremelly handy in my situation.

thanks
xavier

Re: reuse a org.apache.lucene.search.Query in Solrj?

Posted by Mikhail Khludnev <mk...@apache.org>.
If I've got you right, it's not possible. It's an obvious problem to pass
Lucene Query through SolrJ API.

On Thu, Jan 5, 2017 at 8:32 PM, xavier jmlucjav <jm...@gmail.com> wrote:

> Hi,
>
> I have a lucene Query (Boolean query with a bunch of possibly complex
> spatial queries, even polygon etc) that I am building for some MemoryIndex
> stuff.
>
> Now I need to add that same query to a Solr query (adding it to a bunch of
> other fq I am using). Is there a some way to piggyback the lucene query
> this way?? It would be extremelly handy in my situation.
>
> thanks
> xavier
>



-- 
Sincerely yours
Mikhail Khludnev