Solr
  1. Solr
  2. SOLR-7212

Parameter substitution across whole request

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1
    • Component/s: None
    • Labels:
      None

      Description

      Simple example:

      q=price:[ ${low} TO ${high} ]
      &low=100
      &high=200
      

      Blog Post:
      http://yonik.com/solr-query-parameter-substitution/

      1. SOLR-7212.patch
        3 kB
        Yonik Seeley

        Issue Links

          Activity

          Hide
          Yonik Seeley added a comment -

          Here's the test to finish this issue up.

          Show
          Yonik Seeley added a comment - Here's the test to finish this issue up.
          Hide
          ASF subversion and git services added a comment -

          Commit 1669354 from Yonik Seeley in branch 'dev/trunk'
          [ https://svn.apache.org/r1669354 ]

          SOLR-7212: Parameter substitution / macro expansion across entire request

          Show
          ASF subversion and git services added a comment - Commit 1669354 from Yonik Seeley in branch 'dev/trunk' [ https://svn.apache.org/r1669354 ] SOLR-7212 : Parameter substitution / macro expansion across entire request
          Hide
          ASF subversion and git services added a comment -

          Commit 1669358 from Yonik Seeley in branch 'dev/branches/branch_5x'
          [ https://svn.apache.org/r1669358 ]

          SOLR-7212: Parameter substitution / macro expansion across entire request

          Show
          ASF subversion and git services added a comment - Commit 1669358 from Yonik Seeley in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1669358 ] SOLR-7212 : Parameter substitution / macro expansion across entire request
          Hide
          Shai Erera added a comment -

          Yonik Seeley this doesn't compile, as TestMacro is under package org.apache.solr.request.macro, but under folder org/apache/solr/request.

          Show
          Shai Erera added a comment - Yonik Seeley this doesn't compile, as TestMacro is under package org.apache.solr.request.macro , but under folder org/apache/solr/request .
          Hide
          Yonik Seeley added a comment -

          hmmm, why the heck did this work for me. let me look.

          Show
          Yonik Seeley added a comment - hmmm, why the heck did this work for me. let me look.
          Hide
          ASF subversion and git services added a comment -

          Commit 1669423 from Yonik Seeley in branch 'dev/trunk'
          [ https://svn.apache.org/r1669423 ]

          SOLR-7212: tests - fix package mismatch

          Show
          ASF subversion and git services added a comment - Commit 1669423 from Yonik Seeley in branch 'dev/trunk' [ https://svn.apache.org/r1669423 ] SOLR-7212 : tests - fix package mismatch
          Hide
          ASF subversion and git services added a comment -

          Commit 1669424 from Yonik Seeley in branch 'dev/trunk'
          [ https://svn.apache.org/r1669424 ]

          SOLR-7212: tests - fix package mismatch

          Show
          ASF subversion and git services added a comment - Commit 1669424 from Yonik Seeley in branch 'dev/trunk' [ https://svn.apache.org/r1669424 ] SOLR-7212 : tests - fix package mismatch
          Hide
          Shai Erera added a comment -

          Thanks, eclipse is happy now!

          Show
          Shai Erera added a comment - Thanks, eclipse is happy now!
          Hide
          ASF subversion and git services added a comment -

          Commit 1669425 from Yonik Seeley in branch 'dev/branches/branch_5x'
          [ https://svn.apache.org/r1669425 ]

          SOLR-7212: tests - fix package mismatch

          Show
          ASF subversion and git services added a comment - Commit 1669425 from Yonik Seeley in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1669425 ] SOLR-7212 : tests - fix package mismatch
          Hide
          Yonik Seeley added a comment -

          I ran the test under intellij, which highlighted the package mismatch, but happily ran the test anyway.

          Show
          Yonik Seeley added a comment - I ran the test under intellij, which highlighted the package mismatch, but happily ran the test anyway.
          Hide
          Timothy Potter added a comment -

          Bulk close after 5.1 release

          Show
          Timothy Potter added a comment - Bulk close after 5.1 release

            People

            • Assignee:
              Yonik Seeley
              Reporter:
              Yonik Seeley
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development