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

Yonik Seeley commented on SOLR-10564:
-------------------------------------

QueryComponent is not even involved in a real-time-get request.  The real issue 
here looks like the selection of the desired request handler?

{code}
/get
{code}
vs
{code}
/select?qt=/get
{code}

I haven't been following changes to handling of "qt", and why those changes 
were made myself, but a related JIRA is SOLR-6807 (although that is only for 
7.0 and later).
SOLR-3161 looks related... it removed the ability to use "qt" with a leading 
slash (since 4.0?)


> NPE in QueryComponent when RTG
> ------------------------------
>
>                 Key: SOLR-10564
>                 URL: https://issues.apache.org/jira/browse/SOLR-10564
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: 6.5
>            Reporter: Markus Jelsma
>             Fix For: 7.0
>
>         Attachments: screenshot-1.png, screenshot-2.png, screenshot-3.png, 
> screenshot-4.png, screenshot-5.png, SOLR-10564.patch, SOLR-10564.patch
>
>
> The following URL:
> {code}
> /get?fl=queries,prob_*,view_score,feedback_score&ids=<SOME_ID>
> {code}
> Kindly returns the document.
> This once, however:
> {code}
> /select?qt=/get&fl=queries,prob_*,view_score,feedback_score&ids=<SOME_ID>
> {code}
> throws:
> {code}
> 2017-04-25 10:23:26.222 ERROR (qtp1873653341-28693) [c:documents s:shard1 
> r:core_node3 x:documents_shard1_replica1] o.a.s.s.HttpSolrCall 
> null:java.lang.NullPointerException
>         at 
> org.apache.solr.handler.component.QueryComponent.unmarshalSortValues(QueryComponent.java:1226)
>         at 
> org.apache.solr.handler.component.QueryComponent.mergeIds(QueryComponent.java:1077)
>         at 
> org.apache.solr.handler.component.QueryComponent.handleRegularResponses(QueryComponent.java:777)
>         at 
> org.apache.solr.handler.component.QueryComponent.handleResponses(QueryComponent.java:756)
>         at 
> org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:428)
>         at 
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:173)
>         at org.apache.solr.core.SolrCore.execute(SolrCore.java:2440)
>         at org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:723)
>         at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:529)
>         at 
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:347)
>         at 
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:298)
> {code}
> This is thrown when i do it manually, but the error does not appear when Solr 
> issues those same queries under the hood.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to