lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joel Bernstein (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-9148) SQLHandler should pass through http parameters not used to build the SQL request
Date Sun, 22 May 2016 22:18:12 GMT

     [ https://issues.apache.org/jira/browse/SOLR-9148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Joel Bernstein updated SOLR-9148:
---------------------------------
    Attachment: SOLR-9148.patch

Simple patch that collects the pass through params in the SQLHandler and adds them to the
StreamContext.

CloudSolrStream and FacetStream now look for the passThrough params in the StreamContext and
add them to the outgoing Solr request if they are present. 

This approach allows us to pass through params with minimal changes to the SQLHandler, which
doesn't need to know about the pass through params to build it's queries.

> SQLHandler should pass through http parameters not used to build the SQL request
> --------------------------------------------------------------------------------
>
>                 Key: SOLR-9148
>                 URL: https://issues.apache.org/jira/browse/SOLR-9148
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Joel Bernstein
>            Assignee: Joel Bernstein
>         Attachments: SOLR-9148.patch
>
>
> The SQLHandler should pass through http parameters that are not directly used to build
the SQL request. This will allow users to add filters that include QParserPlugins onto SQL
requests. This will facilitate the use of qparsers that perform custom access control, geo
location, re-ranking etc...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message