[ https://issues.apache.org/jira/browse/SOLR-9733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mikhail Khludnev updated SOLR-9733: ----------------------------------- 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: {code} { query : "myquery", filter : [ {term : {field:myfield, val:myval}} , "another filter" ], limit : 10 } {code} was: 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 } > JSON Request filter param should support queries in JSON syntax > --------------------------------------------------------------- > > Key: SOLR-9733 > URL: https://issues.apache.org/jira/browse/SOLR-9733 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: JSON Request API > Reporter: Yonik Seeley > Priority: Major > > 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: > {code} > { > query : "myquery", > filter : [ {term : {field:myfield, val:myval}} , "another filter" ], > limit : 10 > } > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org