You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mikhail Khludnev (JIRA)" <ji...@apache.org> on 2018/05/09 20:53:00 UTC
[jira] [Commented] (SOLR-12330) Referencing non existing parameter
in JSON Facet "filter" either reported too little and even might be ignored
[ https://issues.apache.org/jira/browse/SOLR-12330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16469475#comment-16469475 ]
Mikhail Khludnev commented on SOLR-12330:
-----------------------------------------
[^SOLR-12330.patch] attaching just a demonstration.
{{testStats()}} fails with
{code}
java.lang.NullPointerException
at __randomizedtesting.SeedInfo.seed([3A2EDDF3EDE3CD40:A0AF844C853F0363]:0)
at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936)
at org.apache.solr.util.ConcurrentLRUCache.get(ConcurrentLRUCache.java:124)
at org.apache.solr.search.FastLRUCache.get(FastLRUCache.java:163)
at org.apache.solr.search.SolrIndexSearcher.getPositiveDocSet(SolrIndexSearcher.java:833)
..
{code}
{{testStatsDistrib()}} fails with
{code}
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://127.0.0.1:64819/solr/collection1: Server Error
request: http://127.0.0.1:64819/solr/collection1/select?shards=127.0.0.1:64817/solr/collection1,127.0.0.1:64818/sol....
at __randomizedtesting.SeedInfo.seed([3A2EDDF3EDE3CD40:E6EE74858062698A]:0)
at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:643)
{code}
Not really user friendly.
> Referencing non existing parameter in JSON Facet "filter" either reported too little and even might be ignored
> ---------------------------------------------------------------------------------------------------------------
>
> Key: SOLR-12330
> URL: https://issues.apache.org/jira/browse/SOLR-12330
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Affects Versions: 7.3
> Reporter: Mikhail Khludnev
> Assignee: Mikhail Khludnev
> Priority: Major
> Attachments: SOLR-12330.patch
>
>
> Just encounter such weird behaviour, will recheck and followup.
> {{"filter":["\{!v=$bogus}"]}} responds back with just NPE which makes impossible to guess the reason.
> It might be even worse, since {{"filter":[\{"param":"bogus"}]}} seems like just silently ignored.
> Once agin, I'll double check.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org