Re: Append children documents for nested document

2014-09-16 Thread bradhill99
Anyone can help me about this? or Solr not support adding additional children documents to existed parent document? -- View this message in context: http://lucene.472066.n3.nabble.com/Append-children-documents-for-nested-document-tp4157087p4159152.html Sent from the Solr - User mailing list arc

Append children documents for nested document

2014-09-04 Thread bradhill99
Hi, I have these nested document in solr: curl http://localhost:8983/solr/update/json?commit=true -H 'Content-type:application/json' -d ' [ { "id": "chapter1", "content_type": "chapter", "_childDocuments_": [ { "id": "1-1", "text": "xxx" }, {

Re: Does solr cloud support rename or swap function for collection?

2013-04-07 Thread bradhill99
I think the api is : http://localhost:8983/solr/admin/collections?action=CREATEALIAS&name=alias&collections=collection1,collection2,... And you can do query like: http://localhost:8983/solr/alias/select?... And it will query collection1 and collection2. I tried it using solr 4.2.1, it works. Th

Does solr cloud support rename or swap function for collection?

2013-04-06 Thread bradhill99
Hi, We are using solr 4.1 and we create a collection name my_data with 20 shards. Our index files are generated by using lucence api every one hour and load into solr cloud using core admin API. My problem is, for data generated every one hour, I need to create a new collection name like my_data_0

Solr 4.2 replcation whole index files mechanism.

2013-03-22 Thread bradhill99
Hi, I use solrcloud 4.1. I start up two solr nodes A and B and then created a new collection using CoreAdmin to A using one shard, so Node A is leader. Then I index some docs to it. Then I created the same collection using CoreAdmin to B to become a replica. I found that solr will sync all ind