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.

Cheers

On 22 Jun 2015, at 11:23, Alessandro Benedetti 
<benedetti.ale...@gmail.com<mailto:benedetti.ale...@gmail.com>> wrote:

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 the
documentation.

Cheers

2015-06-22 9:57 GMT+01:00 Amadeo Asco 
<a...@trifork.com<mailto:a...@trifork.com>>:

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 in the
search melees in a map?

Example Json:
{"name_s":"Lion-o", "age_i":30, "leader_b":true, "data":{"name":"me",
"surname":"other"}, "values_ss":["red", "blue”]}
{"name_s":"Cheetara", "age_i":28, "leader_b":false, "content_type":
"parentDocument",
"_childDocuments_":[{"name":"1"},{"name":"2"},{"name":"3"}]}

What about with:
{"name_s":"Lion-o", "age_i":30, "leader_b":true, "data":{"name”:[“me”],
"surname”:[“other”, “next"]}, "values_ss":["red", "blue”]}

I look forward to hearing form you soon.

Thank you in advance,
Amadeo




--
--------------------------

Benedetti Alessandro
Visiting card : http://about.me/alessandro_benedetti

"Tyger, tyger burning bright
In the forests of the night,
What immortal hand or eye
Could frame thy fearful symmetry?"

William Blake - Songs of Experience -1794 England

Reply via email to