Emir, no пт, 26 окт. 2018 г. в 10:17, Emir Arnautović <emir.arnauto...@sematext.com>:
> Hi, > The second query is equivalent to: > > { > > "query": "*:*", > > "limit": 0, > > "filter": [ > > "{!parent which=kind_s:edition}condition_s:0", > > "price_i:[* TO 750000]" > > ] > > } > > > HTH, > Emir > -- > Monitoring - Log Management - Alerting - Anomaly Detection > Solr & Elasticsearch Consulting Support Training - http://sematext.com/ > > > > > On 26 Oct 2018, at 08:49, Владислав Властовский <m...@vlastv.ru> wrote: > > > > 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": [] > > } > > } > >