This two queries are not similar.  If you have parent with two children - 
"{condition_s:0, price_i: 1000000}"  and "{condition_s:1, price_i: 10}", it 
will be matched by first query, it won't be matched by second. 
   



26.10.2018, 09:50, "Владислав Властовский" <m...@vlastv.ru>:
> Hi, I use 7.5.0 Solr
>
> Why do I get two different results for similar requests?
>
> First req/res:
> {
>   "query": "*:*",
>   "limit": 0,
>   "filter": [
>     "{!parent which=kind_s:edition}condition_s:0",
>     "{!parent which=kind_s:edition}price_i:[* TO 750000]"
>   ]
> }
>
> {
>   "response": {
>     "numFound": 453,
>     "start": 0,
>     "docs": []
>   }
> }
>
> And second query:
> {
>   "query": "*:*",
>   "limit": 0,
>   "filter": [
>     "{!parent which=kind_s:edition}condition_s:0 AND price_i:[* TO 750000]"
>   ]
> }
>
> {
>   "response": {
>     "numFound": 452,
>     "start": 0,
>     "docs": []
>   }
> }

Reply via email to