Solr
  1. Solr
  2. SOLR-5541

Allow QueryElevationComponent to accept elevateIds and excludeIds as http parameters

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 4.6
    • Fix Version/s: 4.7
    • Labels:
      None

      Description

      The QueryElevationComponent currently uses an xml file to map query strings to elevateIds and excludeIds.

      This ticket adds the ability to pass in elevateIds and excludeIds through two new http parameters "elevateIds" and "excludeIds".

      This will allow more sophisticated business logic to be used in selecting which ids to elevate/exclude.

      Proposed syntax:

      http://localhost:8983/solr/elevate?q=*:*&elevatedIds=3,4&excludeIds=6,8

      The elevateIds and excludeIds point to the unique document Id.

      1. SOLR-5541.patch
        4 kB
        Joel Bernstein
      2. SOLR-5541.patch
        3 kB
        Joel Bernstein
      3. SOLR-5541.patch
        3 kB
        Joel Bernstein
      4. SOLR-5541.patch
        3 kB
        Joel Bernstein

        Activity

        David Smiley made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Joel Bernstein made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Joel Bernstein made changes -
        Attachment SOLR-5541.patch [ 12621990 ]
        Joel Bernstein made changes -
        Attachment SOLR-5541.patch [ 12617907 ]
        Joel Bernstein made changes -
        Attachment SOLR-5541.patch [ 12617899 ]
        Joel Bernstein made changes -
        Attachment SOLR-5541.patch [ 12617579 ]
        Joel Bernstein made changes -
        Field Original Value New Value
        Assignee Joel Bernstein [ joel.bernstein ]
        Joel Bernstein created issue -

          People

          • Assignee:
            Joel Bernstein
            Reporter:
            Joel Bernstein
          • Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development