You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2019/10/24 23:05:56 UTC

[GitHub] [lucene-solr] danmfox opened a new pull request #976: SOLR-13749: Implement support for joining across collections with multiple shards

danmfox opened a new pull request #976: SOLR-13749: Implement support for joining across collections with multiple shards
URL: https://github.com/apache/lucene-solr/pull/976
 
 
   # Description
   
   Implements support for joining across collections with multiple shards.
   
   # Solution
   
   This PR includes two query parsers.  The XCJF query parser queries a remote collection to obtain a set of join keys to use as a filter against the local collection.  It retrieves the set of join keys from the remote collection using a streaming expression.
   
   The Hash Range query parser takes a field name and a range, and matches documents whose hash for that field falls within the range.  If the local collection uses the join key field as its routing prefix with the compositeId router, applying this filter allows the XCJF query on each shard to request only the join keys that could match against that shard's documents.
   
   # Tests
   
   There is a test class XCJFQueryTest.
   
   # Checklist
   
   Please review the following and check all that apply:
   
   - [x] I have reviewed the guidelines for [How to Contribute](https://wiki.apache.org/solr/HowToContribute) and my code conforms to the standards described there to the best of my ability.
   - [x] I have created a Jira issue and added the issue ID to my pull request title.
   - [x] I am authorized to contribute this code to the ASF and have removed any code I do not have a license to distribute.
   - [x] I have given Solr maintainers [access](https://help.github.com/en/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork) to contribute to my PR branch. (optional but recommended)
   - [x] I have developed this patch against the `master` branch.
   - [x] I have run `ant precommit` and the appropriate test suite.
   - [x] I have added tests for my changes.
   - [ ] I have added documentation for the [Ref Guide](https://github.com/apache/lucene-solr/tree/master/solr/solr-ref-guide) (for Solr changes only).
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org