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

Support elevate.q in QueryElevationComponent

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      QueryElevationComponent uses the query in parameter to match the elevate.xml.

      "query text" from elevate.xml
      : has to match the query (q=...). So in this case, elevation works only for
      : http://localhost:8080/solr/elevate?q=brain, but not for
      : http://localhost:8080/solr/elevate?q=indexingabstract:brain type of queries.

      But sometimes, the query is more complex, we may use some nested query or complexphrase.

      it would also be fairly easy to make QEC support an "elevate.q" param similar to how there is a "spellcheck.q" param and a "hl.q" param to let the client specify an alternate, simplified, string for the feature to use.

      Conten copied from:
      http://lucene.472066.n3.nabble.com/Problems-with-elevation-component-configuration-td3993204.html

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              yuanyun.cn jefferyyuan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: