Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-4221 Custom sharding
  3. SOLR-5017

Allow sharding based on the value of a field

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersConvert to IssueLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.5, 6.0
    • None
    • None

    Description

      We should be able to create a collection where sharding is done based on the value of a given field

      collections can be created with shardField=fieldName, which will be persisted in DocCollection in ZK

      implicit DocRouter would look at this field instead of shard field

      CompositeIdDocRouter can also use this field instead of looking at the id field.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            noble.paul Noble Paul Assign to me
            noble.paul Noble Paul
            Votes:
            1 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment