-----Original Message-----
From: Elier Delgado [mailto:elier.delgado@gmail.com]
Sent: 31 March 2018 21:53
To: solr-user@lucene.apache.org
Subject: Bad request from solr by just changing the order in the filter
query
Hi, I'm working with facets in solr 7.2.1. Basically I'm following this
tutorial:
http://yonik.com/multi-select-faceting/
The following solr request works just fine:
&json.facet={domains:{type:terms,field:domains,domain:{excludeTags:DOMAIN}},
specialties:{type:terms,field:specialties,domain:{excludeTags:SPECIALTY}}}
&fq={!tag=SPECIALTY}specialties:(1043 1023) AND {!tag=DOMAIN}domains:100
If I just change the order in the fq parameter, solr response with 400 Bad
Request.
&json.facet={domains:{type:terms,field:domains,domain:{excludeTags:DOMAIN}},
specialties:{type:terms,field:specialties,domain:{excludeTags:SPECIALTY}}}
&fq={!tag=DOMAIN}domains:100 AND {!tag=SPECIALTY}specialties:(1043 1023)
I would like to know if I'm doing something wrong or it if could be a
problem in solr.
Thanks!
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_cam
paign=sig-email&utm_content=webmail>
Virus-free.
www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_cam
paign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
No comments:
Post a Comment