Re: JSON Update create different copies of the same document

2013-08-09 Thread Jack Krupansky
essage- From: Bruno René Santos Sent: Friday, August 09, 2013 11:43 AM To: solr-user@lucene.apache.org Subject: Re: JSON Update create different copies of the same document Hi, I think I found out what is really happening. When I try to do a atomic update the document id is trans

Re: JSON Update create different copies of the same document

2013-08-09 Thread Bruno René Santos
-Original Message- From: Bruno René Santos >> Sent: Thursday, August 08, 2013 4:58 AM >> To: solr-user@lucene.apache.org >> Subject: JSON Update create different copies of the same document >> >> >> Hello, >> >> I thought that by adding a new

Re: JSON Update create different copies of the same document

2013-08-09 Thread Bruno René Santos
René Santos > Sent: Thursday, August 08, 2013 4:58 AM > To: solr-user@lucene.apache.org > Subject: JSON Update create different copies of the same document > > > Hello, > > I thought that by adding a new document with the same id on Solr the > document already on Solr would be up

Re: JSON Update create different copies of the same document

2013-08-08 Thread Jack Krupansky
SON Update create different copies of the same document Hello, I thought that by adding a new document with the same id on Solr the document already on Solr would be updated with the new info. But both documents appear on the search results... How can I update a document? Regards Bruno Santos --

Re: JSON Update create different copies of the same document

2013-08-08 Thread Yonik Seeley
On Thu, Aug 8, 2013 at 4:58 AM, Bruno René Santos wrote: > I thought that by adding a new document with the same id on Solr the > document already on Solr would be updated with the new info. Yes, this should be the case. > But both > documents appear on the search results... How can I update a d

Re: JSON Update create different copies of the same document

2013-08-08 Thread Bruno René Santos
Yes, id. I was just reading and maybe this happens because I do not send the _version_ with the document? I tried to send it with a value chosen (_versoin_=342342342) by me with Solr empty of documents and get the http response 409 with the reason conflict. Any ideas? Regards Bruno On Thu, Aug

Re: JSON Update create different copies of the same document

2013-08-08 Thread Rafał Kuć
Hello! Do you have the unique identifier specified in the schema.xml ? -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - ElasticSearch > Hello, > I thought that by adding a new document with the same id on Solr the > document already on Solr would be updated with the

JSON Update create different copies of the same document

2013-08-08 Thread Bruno René Santos
Hello, I thought that by adding a new document with the same id on Solr the document already on Solr would be updated with the new info. But both documents appear on the search results... How can I update a document? Regards Bruno Santos -- Bruno René Santos Lisboa - Portugal