Re: Document centric external version conflict not returning 409

2020-10-05 Thread Deepu
Dear Team,
Any suggestions on below observation?

Thanks & Regards,
Deepu

On Sun, Oct 4, 2020 at 7:57 PM Deepu  wrote:

> Hi Team,
>
> I am using Solr document centric external version configuration to control
> concurrent updates.
> Followed sample configuration given in below github path.
>
> https://github.com/apache/lucene-solr/blob/master/solr/core/src/test-files/solr/collection1/conf/solrconfig-externalversionconstraint.xml
>
> Document not getting updated if the new document's external version is
> less than the existing one, but it is not giving response status code as
> 409, still getting status=0 in update response, need to configure anything
> else to get status=409 in response.
>
> 
>   
> live_b
> true
>   
>
>   
> _external_version_
> _external_version_
>   
>
>   
> live_b
> false
>   
>
>   
> update_timestamp_tdt
>   
>
>   
>   
> 
>
>
> I am using Solr version : 8.6.1 and Solrj version : 8.4.0
>
> Thanks,
> Deepu
>
>
>


Document centric external version conflict not returning 409

2020-10-04 Thread Deepu
Hi Team,

I am using Solr document centric external version configuration to control
concurrent updates.
Followed sample configuration given in below github path.
https://github.com/apache/lucene-solr/blob/master/solr/core/src/test-files/solr/collection1/conf/solrconfig-externalversionconstraint.xml

Document not getting updated if the new document's external version is less
than the existing one, but it is not giving response status code as 409,
still getting status=0 in update response, need to configure anything else
to get status=409 in response.


  
live_b
true
  

  
_external_version_
_external_version_
  

  
live_b
false
  

  
update_timestamp_tdt
  

  
  



I am using Solr version : 8.6.1 and Solrj version : 8.4.0

Thanks,
Deepu