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

JSON Request filter param should support queries in JSON syntax

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • JSON Request API
    • None

    Description

      Currently, the top level "filter" in the JSON Request API is implemented by copying those values back to "fq" parameters, since that is what other components currently check.

      We should do a better job of isolating the creation of filters so other components don't have to know/care how they were created (i.e. what parameters were used, what syntax was used, etc).

      After that, it will be much easier to support filter queries in JSON syntax:

      {
       query : "myquery", 
       filter : [ {term : {field:myfield, val:myval}} , "another filter" ],
       limit : 10
      }
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              yseeley@gmail.com Yonik Seeley
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: