[
https://issues.apache.org/jira/browse/SOLR-4175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tomás Fernández Löbbe updated SOLR-4175:
----------------------------------------
Attachment: SOLR-4175.patch
I'm attaching a possible fix. The SearchComponent class now uses the name
defined in the solrconfig.xml (or the default component name for the default
ones).
This will change the debugQuery output, the "timing section" will use those
names instead of the class names, like:
{code:xml}
<lst name="timing">
<double name="time">2.0</double>
<lst name="prepare">
<double name="time">0.0</double>
<lst name="query">
<double name="time">0.0</double>
</lst>
<lst name="facet">
<double name="time">0.0</double>
</lst>
<lst name="mlt">
<double name="time">0.0</double>
</lst>
<lst name="highlight">
<double name="time">0.0</double>
</lst>
<lst name="stats">
<double name="time">0.0</double>
</lst>
<lst name="debug">
<double name="time">0.0</double>
</lst>
...
{code}
It will also change the MBean names.
thoughts?
> 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
> 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: [email protected]
For additional commands, e-mail: [email protected]