[ https://issues.apache.org/jira/browse/SOLR-4351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yonik Seeley updated SOLR-4351: ------------------------------- Attachment: SOLR-4351.patch Here's a quick prototype. QParser was changed to take Object instead of String. ObjectSolrParams is a new SolrParams implementation that can deal with objects rather than just strings, and JSON is used to populate that. Lots of stuff "just works" since it simply builds on our QParser framework and all of the existing QParser implementations. Examples of what currently works: {code} {'term':{'id':'11'}} {'field':{'text':'Now Cow'}} {'prefix':{'text':'brow'}} {'frange':{'v':'mul(foo_i,2)', 'l':20,'u':24}}} {'join':{'from':'qqq_s', 'to':'www_s', 'v':'id:10'}} {'join':{'from':'qqq_s', 'to':'www_s', 'v':{'term':{'id':'10'}}}} {'lucene':'text:Cow -id:1'} {code} > JSON QParser integration > ------------------------ > > Key: SOLR-4351 > URL: https://issues.apache.org/jira/browse/SOLR-4351 > Project: Solr > Issue Type: New Feature > Reporter: Yonik Seeley > Attachments: SOLR-4351.patch > > > Our QParser framework currently gets parameters from localParams. JSON > integration would allow specifying parameters to the parsers in JSON. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org