You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Christine Poerschke (JIRA)" <ji...@apache.org> on 2017/05/09 10:39:04 UTC
[jira] [Commented] (SOLR-10610) Add CanaryComponent, a search
component to analyse requests
[ https://issues.apache.org/jira/browse/SOLR-10610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16002462#comment-16002462 ]
Christine Poerschke commented on SOLR-10610:
--------------------------------------------
ticket cross-reference: in SOLR-1687 [~janhoy] mentioned a generic {{RequestSanitizerComponent}} he wrote. it sounds like there's some similarities between the request sanitizer and canary components.
> Add CanaryComponent, a search component to analyse requests
> -----------------------------------------------------------
>
> Key: SOLR-10610
> URL: https://issues.apache.org/jira/browse/SOLR-10610
> Project: Solr
> Issue Type: Task
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Domenico Fabio Marino
> Priority: Minor
> Attachments: 769e538ce74c5707f2e3c6bc7f3e070c59f357f5.patch
>
>
> This patch outlines a new component that analyses a request and reports whether it is too complex to continue processing.
> Running this component should be conditional and happen before other components start processing. The component will set a status flag so that other components can know the result of the Canary check, and also adds some information to the response sent back to the client.
> In the future this could be used to process a query only on selected shards (canaries) and based on the outcome decide whether to continue on all shards.
> Please note this is only an outline so far.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org