You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Alexandre Rafalovitch (Jira)" <ji...@apache.org> on 2020/09/01 21:26:00 UTC

[jira] [Created] (SOLR-14805) Config API: query/listener is output without hierarchy

Alexandre Rafalovitch created SOLR-14805:
--------------------------------------------

             Summary: Config API: query/listener is output without hierarchy
                 Key: SOLR-14805
                 URL: https://issues.apache.org/jira/browse/SOLR-14805
             Project: Solr
          Issue Type: Sub-task
      Security Level: Public (Default Security Level. Issues are Public)
          Components: config-api
            Reporter: Alexandre Rafalovitch


Listener section within *query*
{code:java}
    <listener event="newSearcher" class="solr.QuerySenderListener">
      <arr name="queries"/>
    </listener>
    <listener event="firstSearcher" class="solr.QuerySenderListener">
      <arr name="queries"/>
    </listener>
{code}

Is output outside of *query*:
{code:json}
    "listener":[{
        "event":"newSearcher",
        "class":"solr.QuerySenderListener",
        "queries":[]},
      {
        "event":"firstSearcher",
        "class":"solr.QuerySenderListener",
        "queries":[]}],
{code}
Also, is there a reason this is an array instead of associative array/map with event as a key? Are we allowed to have multiple newSearcher events (not sure myself).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org