lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-4175) SearchComponent chain can't contain two components of the same class and use debugQuery
Date Thu, 27 Dec 2012 17:22:14 GMT

    [ https://issues.apache.org/jira/browse/SOLR-4175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13540055#comment-13540055
] 

Erik Hatcher commented on SOLR-4175:
------------------------------------

Tomas - looks like a good solution to me.  It's one-to-one for a component instance and its
name, so this works out nicely.

One bit of test improvement could be to have MockSearchComponent write something to the response
that the test picks up, something that is pulled from the config init, so that both the init
params and separate instance cases are accounted for in the tests explicitly.
                
> SearchComponent chain can't contain two components of the same class and use debugQuery
> ---------------------------------------------------------------------------------------
>
>                 Key: SOLR-4175
>                 URL: https://issues.apache.org/jira/browse/SOLR-4175
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Tomás Fernández Löbbe
>            Priority: Minor
>             Fix For: 4.1, 5.0
>
>         Attachments: failure.patch, SOLR-4175.patch
>
>
> steps to reproduce the issue:
> 1) Add two components of the same type to the components chain of the request handler
> 2) start solr with assertions enabled
> 3) run a query to the request handler configured in 1 with debugQuery=true
> The query will throw a java.lang.AssertionError. I'll attach a test case to reproduce
the issue.

--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message