Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-14795 Config API Review: Umbrella issue
  3. SOLR-14805

Config API: query/listener is output without hierarchy

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • config-api
    • None

    Description

      Listener section within query

          <listener event="newSearcher" class="solr.QuerySenderListener">
            <arr name="queries"/>
          </listener>
          <listener event="firstSearcher" class="solr.QuerySenderListener">
            <arr name="queries"/>
          </listener>
      

      Is output outside of query:

          "listener":[{
              "event":"newSearcher",
              "class":"solr.QuerySenderListener",
              "queries":[]},
            {
              "event":"firstSearcher",
              "class":"solr.QuerySenderListener",
              "queries":[]}],
      

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            arafalov Alexandre Rafalovitch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: