Re: Adding a child doc incrementally

2018-01-19 Thread S G
Restriction to a single shard seems like a big limitation for us. Also, I was hoping that this was something Solr provided out of the box. (Like https://lucene.apache.org/solr/guide/6_6/updating-parts-of-documents.html#UpdatingPartsofDocuments-In-PlaceUpdates ) Something like: {

Re: Adding a child doc incrementally

2018-01-17 Thread Gus Heck
If the document routing can be arranged such that the children and the parent are always co-located in the same shard, and share an identifier, the graph query can pull back the parent plus any arbitrary number of "children" that have been added at any time in any order. In this scheme "children"

Adding a child doc incrementally

2018-01-15 Thread S G
Hi, We have a use-case where a single document can contain thousands of child documents. However, I could not find any way to do it incrementally. Only way is to read the full document from Solr, add the new child document to it and then re-index the full document will all of its child documents