You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Joel Bernstein (JIRA)" <ji...@apache.org> on 2015/05/01 00:26:06 UTC
[jira] [Commented] (SOLR-7363) Expand component throws an Exception
when the results have been collapsed and grouped
[ https://issues.apache.org/jira/browse/SOLR-7363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14522390#comment-14522390 ]
Joel Bernstein commented on SOLR-7363:
--------------------------------------
I haven't had a chance to look into this deeper. The thing that needs to be done is to understand why Grouping either doesn't use the DocList or is putting it in a different place. Other components, like Highlighting also use the DocList, so it might interesting to know if/how they interact with Grouping.
I personally am pretty swamped for the near future, so I won't have too much time to dig deeper.
> Expand component throws an Exception when the results have been collapsed and grouped
> -------------------------------------------------------------------------------------
>
> Key: SOLR-7363
> URL: https://issues.apache.org/jira/browse/SOLR-7363
> Project: Solr
> Issue Type: Bug
> Components: SearchComponents - other
> Affects Versions: 4.10.3
> Reporter: Brandon Chapman
>
> The expand component does not work when used on a result that has been both collapsed and grouped. This is counter-intuitive as collapsing and grouping work together with no issues.
> {code}
> {
> "responseHeader":{
> "status":500,
> "QTime":1198,
> "params":{
> "fl":"psid",
> "indent":"true",
> "q":"*:*",
> "expand":"true",
> "group.field":"merchant",
> "group":"true",
> "wt":"json",
> "fq":"{!collapse field=groupId}",
> "rows":"1"}},
> "grouped":{
> "merchant":{
> "matches":71652,
> "groups":[{
> "groupValue":"sears",
> "doclist":{"numFound":30672,"start":0,"docs":[
> {
> "psid":"3047500675628000"}]
> }}]}},
> "error":{
> "trace":"java.lang.NullPointerException\n\tat org.apache.solr.handler.component.ExpandComponent.process(ExpandComponent.java:193)\n\tat org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:218)\n\tat org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)\n\tat org.apache.solr.core.SolrCore.execute(SolrCore.java:1976)\n\tat org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:777)\n\tat org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:418)\n\tat org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)\n\tat org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)\n\tat org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)\n\tat org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)\n\tat org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\n\tat java.lang.Thread.run(Thread.java:744)\n",
> "code":500}}
> {code}
--
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