Re: Question about unintended deletions of Solr documents

2021-12-18 Thread Shawn Heisey
On 12/16/2021 1:35 PM, Claire Burke wrote: How can I construct my delete query so that I am only deleting what is in the q field in my /select query? You can't. The q parameter is not used by the update handler. The query used for delete must be in the XML or JSON update request that is se

Question about unintended deletions of Solr documents

2021-12-18 Thread Claire Burke
If I enter a query in the q field (which is associated with the Request-Handler (qt) type /select), then I enter a delete query (which is associated with the Request-Handler (qt) type /update), I am finding that I did not just delete what was in the q field, based on the before and after snapsho

Re: Question about unintended deletions of Solr documents

2021-12-18 Thread Andy Lester
Can you please post specific queries that you are trying? Cut and pasted, not paraphrases. > On Dec 18, 2021, at 3:13 PM, Claire Burke wrote: > > If I enter a query in the q field (which is associated with the > Request-Handler (qt) type /select), then I enter a delete query (which is > ass

Re: null pointer exception for solr package management v8.11.0

2021-12-18 Thread andrew goh
hi Timothy, Thanks for your response ! When I run solr package -h i got: bin/solr package -h Failed to parse command-line arguments due to: Unrecognized option: -h usage: org.apache.solr.util.SolrCLI  -c,--collection  The collection to apply the package to, not