Do you see CDCR forward messages in source solr logs and with some
numbers? That will confirm if data indeed going thru source and forwarded
to target.
Also any auto/soft commit settings difference between source & target?
On Wed, Feb 20, 2019 at 8:29 AM ypriverol wrote:
> Hi:
>
> I'm using a
Hi:
I'm using a CDRC feature from solr 7.1. My source solrcloud cluster is 3
shards and the target similar 3 shards. When we create both clusters and
push to the source and then enable CDRC the data is transfer nicely to the
target. If we start adding records everything is fine.
However, we hav
Use "set" instead of "add".
See:
http://wiki.apache.org/solr/UpdateJSON#Atomic_Updates
-- Jack Krupansky
-Original Message-
From: anurag.jain
Sent: Monday, February 18, 2013 6:09 AM
To: solr-user@lucene.apache.org
Subject: Re: Updating data
Hi,
i got a problem
his file for update. it is giving me error
"multivalue ...".
becoz "id":5 already updated .. due to this remaining id is not updating
in solr. i have 25 lakh doc in a json file. please give me some idea..
--
View this message in context:
http://lucene.472066.n3.nabble.com/Updating-data-tp4038492p4041123.html
Sent from the Solr - User mailing list archive at Nabble.com.
i have question
what if id not exits in previous data ? ?
like
[
{
"id":"6",
"is_good":{"add":"1"}
}
]
--
View this message in context:
http://lucene.472066.n3.nabble.com/Updating-data-tp4038492p4039190.html
Sent from the Solr - User mailing list archive at Nabble.com.
3
},
{
"id":"5",
"movie_name":"Young Guns",
"genre":[
"Comedy",
"Drama",
"Sci-Fi",
"War"
],
"release_year":"2012",
"url":"http://us.imdb.com/M/title-exact?Young%20Guns%20(1988)",
"rating":9.1,
"total_viewed":524323
}
]
i also want to add [
{
"id":"1",
"is_good":1
},
{
"id":"2",
"is_good":1
},
{
"id":"3",
"is_good":0
},
{
"id":"4",
"is_good":0
},
{
"id":"5",
"is_good":1
}
]
and here is my schema.xml part...
when i try to update through 2nd data it erase first data..
please reply
--
View this message in context:
http://lucene.472066.n3.nabble.com/Updating-data-tp4038492p4039178.html
Sent from the Solr - User mailing list archive at Nabble.com.
; View this message in context:
> http://lucene.472066.n3.nabble.com/Updating-data-tp4038492p4038833.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
Hi, Thanks for reply.
But i was doing same thing but whenver i tried to update previous field
automatically delete. :(
I am not getting why ?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Updating-data-tp4038492p4038833.html
Sent from the Solr - User mailing list
t;jain",
> "new_field":"xvz",
> ...
> }, ...
> ]
>
>
> but i want that :
> my json file like that
> [
> {
> "id":1,
> "new_field":"xvz"
> },
> {
> "id":2,
> "new_field":"xvz"
> }
&
;last_name":"jain",
"new_field":"xvz",
...
}, ...
]
but i want that :
my json file like that
[
{
"id":1,
"new_field":"xvz"
},
{
"id":2,
"new_field":"xvz"
}
]
so it automatically update in solr like th
10 matches
Mail list logo