lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From " (JIRA)" <>
Subject [jira] [Created] (SOLR-7098) Solr Join: Return Parent and Child Documents
Date Wed, 11 Feb 2015 03:58:11 GMT created SOLR-7098:

             Summary: Solr Join: Return Parent and Child Documents
                 Key: SOLR-7098
             Project: Solr
          Issue Type: Improvement
          Components: search
            Priority: Minor
             Fix For: 5.1

Solr JoinQParserPlugin returns only right side(parent) documents, it would be great if we
can return all documents.

User case:
If JoinQParserPlugin can return all (parent and child) documents, client can  group parent
and child docs together with same group.field - (optionally) then use group.main=true to navigate

The implementation in single mode:
(as solr join doesn't support distributed search)

req parameter: {!join from=man_id to=id includeParent=true}

Add includeParent into
Update JoinQuery's hashCode and equals to include includeParent.

DocSet fromSet = fromSearcher.getDocSet(q);

if (includeParent) {
	rstDocset = rstDocset.union(fromSet);

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message