Re: A different result with filters

2018-10-26 Thread Владислав Властовский
Andrey, thx. You are an expert! пт, 26 окт. 2018 г. в 18:40, Kydryavtsev Andrey : > There supposed to be support of children "filters" attribute in latest > releases. Try it out. > > Link > https://lucene.apache.org/solr/guide/7_3/other-parsers.html#filtering-and-tagging-2 > > 26.10.2018, 16:34,

Re: A different result with filters

2018-10-26 Thread Kydryavtsev Andrey
There supposed to be support of children "filters" attribute in latest releases. Try it out. Link https://lucene.apache.org/solr/guide/7_3/other-parsers.html#filtering-and-tagging-2 26.10.2018, 16:34, "Владислав Властовский" : > Andrey, ok > > How can I tag the filter then? > > I send: > { >  

Re: A different result with filters

2018-10-26 Thread Владислав Властовский
Andrey, ok How can I tag the filter then? I send: { "query": "*:*", "limit": 1000, "filter": [ "{!parent which=kind_s:edition}condition_s:0 AND {!tag=price}price_i:[* TO 75]" ] } I got: { "error": { "metadata": [ "error-class", "org.apache.solr.common.SolrExcept

Re: A different result with filters

2018-10-26 Thread Kydryavtsev Andrey
This two queries are not similar. If you have parent with two children - "{condition_s:0, price_i: 100}" 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, "Владислав Властовский" : > Hi, I use 7.5.0 Solr > > Why

Re: A different result with filters

2018-10-26 Thread Владислав Властовский
Emir, no пт, 26 окт. 2018 г. в 10:17, Emir Arnautović : > Hi, > The second query is equivalent to: > > { > > "query": "*:*", > > "limit": 0, > > "filter": [ > >"{!parent which=kind_s:edition}condition_s:0", > >"price_i:[* TO 75]" > > ] > > } > > > HTH, > Emir > -- > Monitoring - L

Re: A different result with filters

2018-10-26 Thread Emir Arnautović
Hi, The second query is equivalent to: > { > "query": "*:*", > "limit": 0, > "filter": [ >"{!parent which=kind_s:edition}condition_s:0", >"price_i:[* TO 75]" > ] > } HTH, Emir -- Monitoring - Log Management - Alerting - Anomaly Detection Solr & Elasticsearch Consulting Support Tra