Details

    • Type: New Feature
    • Status: Resolved
    • Priority: 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
        16 kB
        William Mayor
      2. SOLR-2341.patch
        12 kB
        William Mayor

        Issue Links

          Activity

          Hide
          williammayor 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
          williammayor 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
          williammayor 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
          williammayor 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
          jej2003 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
          jej2003 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
          alexcowell 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
          alexcowell 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
          kamaci 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
          kamaci 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 Steve Rowe added a comment -

          Bulk move 4.4 issues to 4.5 and 5.0

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

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

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

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development