Re: Limiting Backup IO

2023-07-10 Thread Bruno Roustant
Nice +1 Le ven. 7 juil. 2023 à 16:07, David Smiley a écrit : > I gave it a look. I like it! > > ~ David > > > On Thu, Jul 6, 2023 at 6:22 PM Pierre Salagnac > wrote: > > > Here is my POC to add a queue into CoreAdminHandler: > > https://github.com/apache/solr/pull/1761 > > > > It does the foll

RE: Negative Query not working when use brackets in Solr 8.9.0

2023-07-10 Thread Vishal Patel
Actually before our query was -msg_content1:(ASI-STD-ITB*) OR -(status_id:1020 AND project_id:2143947). Now we want to add AND recordRetentionPolicyStatus:0 So we have added brackets in first query like (-msg_content1:(ASI-STD-ITB*) OR -(status_id:1020 AND project_id:2143947)) and append the AND

Re: Negative Query not working when use brackets in Solr 8.9.0

2023-07-10 Thread Alessandro Benedetti
I see plenty of questionable practices here that can be improved: 1) wildcard queries -> unless really necessary, you should avoid them as much as possible and design a proper text analysis chain (indexing and query time) instead 2) negative queries -> they are tricky, some query parsers manage pur

Re: Negative Query not working when use brackets in Solr 8.9.0

2023-07-10 Thread Mikhail Khludnev
Hello Vishal. It seems like it made a pure negative query which it can't work around. A few notes: * +- syntax is more predictable than AND/OR * (perhaps) Json Query DSL even more predictable * it's always worth to check how query is parsed via debugQuery=true I'd rather put this query as: q=+*

Negative Query not working when use brackets in Solr 8.9.0

2023-07-10 Thread Vishal Patel
We are using Solr 8.9.0. We have configured Solr cloud like 2 shards and each shard has one replica. We have used 5 zoo keepers for Solr cloud. When we hit the query q= (-msg_content1:(ASI-STD-ITB*) OR -(status_id:1020 AND project_id:2143947)) AND recordRetentionPolicyStatus:0 in Solr admin pane