Re: Delete with Solrj deleteByQuery - Boolean clauses

2019-06-19 Thread Shawn Heisey
On 6/19/2019 8:33 AM, rgummadi wrote: Still using Solr 4.6. Terms query parser does not exist in this version right? Correct. It was added in version 4.10.0. https://issues.apache.org/jira/browse/SOLR-6318 Thanks, Shawn

Re: Delete with Solrj deleteByQuery - Boolean clauses

2019-06-19 Thread rgummadi
Hi Erick, Still using Solr 4.6. Terms query parser does not exist in this version right? -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Delete with Solrj deleteByQuery - Boolean clauses

2019-06-18 Thread rgummadi
Thanks Erick. I will try the terms query. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Delete with Solrj deleteByQuery - Boolean clauses

2019-06-18 Thread Erick Erickson
If these are the id field (i.e. ), then delete by id is much less painful. That aside: 1> check how the query is parsed with just one or two Barcodes. If you are pushing this through edismax or similar, you might be getting surprising results 2> try putting that massive OR clause inside a Terms q

Delete with Solrj deleteByQuery - Boolean clauses

2019-06-18 Thread rgummadi
There is a situation where we have to delete a lot of assets for a customer from solr index. There are occasions where the number of assets run into thousands. So I am constructing the query as below. If the number of ‘OR’ clauses cross a certain limit (like 50), the delete is not working. We ar