You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael Sun (JIRA)" <ji...@apache.org> on 2015/11/14 01:46:11 UTC

[jira] [Commented] (SOLR-8284) JSON Facet API sort:index causes NPE

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

Michael Sun commented on SOLR-8284:
-----------------------------------

it's probably because facet.sortVariable is not set if there is no direction set. The patch is uploaded. There is a test added in patch to catch this failure.


> JSON Facet API sort:index causes NPE
> ------------------------------------
>
>                 Key: SOLR-8284
>                 URL: https://issues.apache.org/jira/browse/SOLR-8284
>             Project: Solr
>          Issue Type: Bug
>          Components: Facet Module
>            Reporter: Yonik Seeley
>            Priority: Minor
>
> sort:index was meant to be a shortcut for sort:"index asc", but this currently causes a NPE. 



--
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