On 6/6/2019 12:46 PM, Wendy2 wrote:
Why "AND" didn't work anymore?

I use Solr 7.3.1 and edismax parser.
Could someone explain to me why the following query doesn't work any more?
What could be the cause? Thanks!

q=audit_author.name:Burley,%20S.K.%20AND%20entity.type:polymer

It worked previously but now returned very lower number of documents.
I had to use "fq" to make it work correctly:

q=audit_author.name:Burley,%20S.K.&fq=entity.type:polymer&rows=1

That should work no problem with edismax. It would not however work properly with dismax, and it would be easy to mix up the two query parsers.

The way you have written your query is somewhat ambiguous, because of the space after the comma. That ambiguity exists in both of the queries mentioned, even the one with the fq.

Thanks,
Shawn

Reply via email to