hi
i need add nested document in solr . how can i do this ?
how add nested document field in schema ?
for example i need to add this :
{
"id":12,
'topic":[ {
code:1,
name:"hi"
},
{
code:2,
Hi,
Please expand a bit your needs, because the answer to your question could
be different.
Specifically: is that nesting needed only for visualization purposes? Could
you please expand your access pattern (i.e. queries requirements)?
Even if Solr supports nested documents (just google "Solr nest
i need to have nested object to solr document , and query in nested objects
and children. i create this schema :
and add this doc :
{
"id":12,
"topic":{"code":12,"name":"hi"}
}
this file added completly but have a probelm in search. i didn't get any
result when is search : "topic.code:12"
i di
This is a duplicate of https://issues.apache.org/jira/browse/SOLR-11882.
The problem is fixed in 7.4.
--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
On 7/14/2018 6:46 AM, sara hajili wrote:
i need to have nested object to solr document , and query in nested objects
and children. i create this schema :
and add this doc :
{
"id":12,
"topic":{"code":12,"name":"hi"}
}
this file added completly but have a probelm in search. i didn't get any