Hi,

A more or less equivalent query (using Solr's LuceneQParser) to
"topics:29^2 AND (-id:41135) topics:38^3" would be:

topics:29^2 AND (-id:41135) topics:38^3

Edward

On Mon, Jan 20, 2020 at 1:10 AM Arnold Bronley <arnoldbron...@gmail.com>
wrote:

> Hi,
>
> I have a Lucene query as following (toString represenation of Lucene's
> Query object):
>
> +(topics:29)^2 (topics:38)^3 +(-id:41135)
>
> It works fine when I am using it as a lucene query in
> SolrIndexSearcher.getDocList function.
>
> However, now I want to use it as a Solr query and query against a
> collection. I tried to use the as-is representation from Lucene query
> object's toString method but it does not work. How should I proceed?
>

Reply via email to