Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-5541

Allow QueryElevationComponent to accept elevateIds and excludeIds as http parameters

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.6
    • 4.7
    • 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.

      Attachments

        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

          People

            jbernste Joel Bernstein
            jbernste Joel Bernstein
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: