Prosenjit Sinha created SOLR-10730:
--------------------------------------
Summary: Need to support for graph traversal based on a path
Key: SOLR-10730
URL: https://issues.apache.org/jira/browse/SOLR-10730
Project: Solr
Issue Type: Improvement
Security Level: Public (Default Security Level. Issues are Public)
Reporter: Prosenjit Sinha
I have parent child relationship where parent's name is kept as a field in
child document. Parent name at each level is unique. Given a path to the child
I want to find out the leaf node. e.g.,
Fields->id,Name,ParentName
Document1->id1,node1,
Document2->id2,node2,node1
Document3->id3,node3,node2
Document4->id4,node4,node2
I have 2 requirements:
1. I should be able to find Document3 from this path: "node1\node2\node3"
without making multiple queries.
2. if I do a traversal from Root to leaf, there should be a way where it
returns me the path with respect to the root. So, the traversal output should
be like this:
id,Name,ParentName,TraversedPath
id1,node1,,node1
id2,node2,node1,node1\node2
id3,node3,node2,node1\node2\node3
id4,node4,node2,node1\node2\node4
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]