Do you commit after running the delete?

> Am 09.09.2019 um 06:59 schrieb Jayadevan Maymala <jayade...@ftltechsys.com>:
> 
> Hello All,
> 
> I have a 3-node Solr cluster using a 3-node Zoookeeper system. Solr Version
> is 7.3.0. We have batch deletes which were working a few days ago. All of a
> sudden, they stopped working (I did run a yum update on the client machine
> - not sure if it did anything to the Guzzle client). The delete is sent via
> GuzzleHttp client from Lumen (php Microservices) framework. The delete
> request reaches the Solr servers all right - here is from the log -
> (qtp434091818-167594) [c:paymetryproducts s:shard1 r:core_node4
> x:paymetryproducts_shard1_replica_n2] o.a.s.u.p.LogUpdateProcessorFactory
> [paymetryproducts_shard1_replica_n2]  webapp=/solr path=/update
> params={stream.body=<delete><query>category_id:"*5812b8c81874e142b86fbb0e*"</query></delete>&commit=true&wt=json}{deleteByQuery=category_id:"5812b8c81874e142b86fbb0e"
> (-1644171174075170816),commit=} 0 3695
> I tried setting both 'json' and 'xml' wt types. A dump of the response on
> the client gives me only this -
> 
> (
>    [stream:GuzzleHttp\Psr7\Stream:private] => Resource id #403
>    [size:GuzzleHttp\Psr7\Stream:private] =>
>    [seekable:GuzzleHttp\Psr7\Stream:private] => 1
>    [readable:GuzzleHttp\Psr7\Stream:private] => 1
>    [writable:GuzzleHttp\Psr7\Stream:private] => 1
>    [uri:GuzzleHttp\Psr7\Stream:private] => php://temp
>    [customMetadata:GuzzleHttp\Psr7\Stream:private] => Array
>        (
>        )
> 
> )
> 
> If I execute the delete from Solr Admin panel, it works.  The query I am
> executing from Admin to check if the data was deleted is this  (I am
> forwarding Solr port to local machine).
> http://127.0.0.1:8993/solr/paymetryproducts/select?q=category_id%20:%22
> *5812b8c81874e142b86fbb0e*%22
> 
> Regards,
> Jayadevan

Reply via email to