Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: SolrCloud
    • Labels:
      None

      Description

      A first crack at creating policies to be used for determining to which of a list of shards a document should go. See discussion on "Distributed Indexing" on dev-list.

      1. SOLR-2341.patch
        12 kB
        William Mayor
      2. SOLR-2341.patch
        16 kB
        William Mayor

        Issue Links

          Activity

          Hide
          William Mayor added a comment -

          We've created an interface for making policies and then implemented a few basic ideas. There's tests for the abstract policies but not the concrete ones.

          Show
          William Mayor added a comment - We've created an interface for making policies and then implemented a few basic ideas. There's tests for the abstract policies but not the concrete ones.
          Hide
          William Mayor added a comment - - edited

          This patch makes the implemented policy deterministic. This is missing from the previous patch. The policy code has also been refactored into its own package.

          Show
          William Mayor added a comment - - edited This patch makes the implemented policy deterministic. This is missing from the previous patch. The policy code has also been refactored into its own package.
          Hide
          Jamie Johnson added a comment -

          Where would this be plugged into Solr? The provided patches don't seem to modify any existing solr files so I'm having difficulty understanding where this fits.

          Show
          Jamie Johnson added a comment - Where would this be plugged into Solr? The provided patches don't seem to modify any existing solr files so I'm having difficulty understanding where this fits.
          Hide
          Alex Cowell added a comment -

          Where would this be plugged into Solr?

          The distribution policy interface was designed to be used by SOLR-2358 (which is also in the very early stages).

          Show
          Alex Cowell added a comment - Where would this be plugged into Solr? The distribution policy interface was designed to be used by SOLR-2358 (which is also in the very early stages).
          Hide
          Furkan KAMACI added a comment -

          Does new policy considers about document size of a shard? If one shard has much more documents than others there may occur a bottleneck so does it avoid it?

          Show
          Furkan KAMACI added a comment - Does new policy considers about document size of a shard? If one shard has much more documents than others there may occur a bottleneck so does it avoid it?
          Hide
          Steve Rowe added a comment -

          Bulk move 4.4 issues to 4.5 and 5.0

          Show
          Steve Rowe added a comment - Bulk move 4.4 issues to 4.5 and 5.0
          Hide
          Shalin Shekhar Mangar added a comment -

          This is already implemented in the form of HashBasedRouter, CompositeIdRouter etc.

          Show
          Shalin Shekhar Mangar added a comment - This is already implemented in the form of HashBasedRouter, CompositeIdRouter etc.

            People

            • Assignee:
              Unassigned
              Reporter:
              William Mayor
            • Votes:
              2 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development