Ah, starting to see the light ...  thanks for your patience.

First, this is a Java REST service using solrj.   I am using default transport 
(wt=javabin, I think).

But right-clicking the URL at the top of the Admin query  page and selecting 
"open in new tab" displays the non-truncated _version_ values.

Also, I am getting the non-truncated values from SolrJ QueryResponse.   I think 
I short-circuited my diagnosis when I saw matching truncated values in the 
browser.   

So, my bad.

To be safe, I will transport _version_ values as strings.   Thanks for your 
help!

-----Original Message-----
From: Chris Hostetter [mailto:hossman_luc...@fucit.org] 
Sent: Friday, April 17, 2015 12:50 PM
To: solr-user@lucene.apache.org
Subject: RE: Spurious _version_ conflict?


you still haven't provided any details on what your client code looks like
-- ie: what code is talking to solr? what response format is it asking for? is 
it JSON? what is parsing that JSON?

as for the admin UI: if you are looking at a JSON response in the "Query" 
screen of the Admin UI, then the Javascript engine of your webbrowser is being 
use to parse the JSON and prettty print it for you.

what does the _version_ in the *RAW* response from your /get or /select request 
return when you use something like curl that does *NO* processing of the 
response data?



: Date: Fri, 17 Apr 2015 15:37:21 +0000
: From: "Reitzel, Charles" <charles.reit...@tiaa-cref.org>
: Reply-To: solr-user@lucene.apache.org
: To: "solr-user@lucene.apache.org" <solr-user@lucene.apache.org>
: Subject: RE: Spurious _version_ conflict?
: 
: Thanks for getting back.   Something like that crossed my mind but I checked 
the values on the way into SolrJ SolrInputDocument match the values printed in 
the Admin Query interface and they both match the expected value in the error 
message exactly.
: 
: Besides the difference is only in the last few bits ...
: 
: Error executing update: version conflict for 553d0f5d320c4321b13f4312ff907218 
expected=1498643112821522400 actual=1498643112821522432
: 
: Note, all my _version_ values have zeroes in the last two digits.  But, 
again, there is agreement between the Admin UI and every stage of my client 
(from query in my REST service, to REST client in browser, back to update in my 
REST service).
: 
: -----Original Message-----
: From: Chris Hostetter [mailto:hossman_luc...@fucit.org]
: Sent: Thursday, April 16, 2015 5:04 PM
: To: solr-user@lucene.apache.org
: Subject: Re: Spurious _version_ conflict?
: 
: 
: : I notice that the expected value in the error message matches both what
: : I pass in and the index contents.  But the actual value in the error
: : message is different only in the last (low order) two digits.  
: : Consistently.
: 
: what does your client code look like?  Are you sure you aren't being bit by a 
JSON parsing library that can't handle long values and winds up truncating them?
: 
: https://issues.apache.org/jira/browse/SOLR-6364
: 
: 
: 
: -Hoss
: http://www.lucidworks.com/
: 
: *************************************************************************
: This e-mail may contain confidential or privileged information.
: If you are not the intended recipient, please notify the sender immediately 
and then delete it.
: 
: TIAA-CREF
: *************************************************************************
: 
: 

-Hoss
http://www.lucidworks.com/

*************************************************************************
This e-mail may contain confidential or privileged information.
If you are not the intended recipient, please notify the sender immediately and 
then delete it.

TIAA-CREF
*************************************************************************

Reply via email to