Re: Nested objects and map in Solr

2015-06-23 Thread Amadeo Asco
I found the answer to my problems: 1. If you have sub-objects add "content_type": , to the parent object, e.g. { “name_s” : ”mine”, "content_type": “surnames”, values { “surname1” : “first”, “s

Re: Nested objects and map in Solr

2015-06-22 Thread Amadeo Asco
Thank you for your reply. Some of my objects are not fully indexed. I have 121 objects with sub-objects and when querying with “*:*” only 81 are found. The objects are in Json format. I use Solr from within Riak. On 22 Jun 2015, at 17:31, Alessandro Benedetti mailto:benedetti.ale...@gmail.com

Re: Nested objects and map in Solr

2015-06-22 Thread Alessandro Benedetti
Join is not only query time related. Join is the Solr approach to nested documents. Block join and Query time join are 2 different strategies with different pros and cons . Basically : Block Join : - force you to follow a specific indexing strategy - if you want to update a child you need to updat

Re: Nested objects and map in Solr

2015-06-22 Thread Amadeo Asco
I have looked at the join but the problem isn’t with the query but on indexing sub-objects (in some places called also nested objects). The best documentation I have seen is http://yonik.com/solr-4-8-features/ but I am still getting very estrange indexes when I play with this approach and others

Re: Nested objects and map in Solr

2015-06-22 Thread Alessandro Benedetti
I would suggest you to take a look to the Solr Join ( block and query time join) . This is what you are looking for. Anyway, this request points out that the documentation is not good enough to address people to Nested Objects problems. Maybe this should highlight the need of improving that part of

Nested objects and map in Solr

2015-06-22 Thread Amadeo Asco
Dear all, I am starting with Solr and I cannot index map(key,values) or nested objects in Solr. I have not been able to find a satisfactory answer online. Please could anyone let me know where to find the full documentation of how to index nested objects in Solr? Also how to index and reference