That's good to know thanks! I should have thought to check the java code before asking.
Alexandre Drouin -----Original Message----- From: Mikhail Khludnev [mailto:m...@apache.org] Sent: August 3, 2016 10:52 AM To: solr-user <solr-user@lucene.apache.org> Subject: Re: Where should the listeners be defined in solrconfig.xml (Solr 6.0.1) Importance: High As far as I remember the code it captures <listener> everywhere https://github.com/apache/lucene-solr/blob/master/solr/core/src/java/org/apache/solr/core/SolrConfig.java#L331 Double slash "//listener" means "everywhere". On Wed, Aug 3, 2016 at 4:38 PM, Alexandre Drouin < alexandre.dro...@orckestra.com> wrote: > Does anyone knows where the listener should be defined in solrconfig.xml? > > > Alexandre Drouin > > > -----Original Message----- > From: Alexandre Drouin [mailto:alexandre.dro...@orckestra.com] > Sent: July 29, 2016 10:46 AM > To: solr-user@lucene.apache.org > Subject: Where should the listeners be defined in solrconfig.xml (Solr > 6.0.1) > Importance: High > > Hello, > > I was wondering where I should put the <listener> configuration. I > can see from the sample solrconfig.xml that they are defined under the > <updateHandler> and <query> elements. > The Schema API for listeners does not specify a parent of type > updateHandler or query so I wanted to know if I also define them > directly under the root of the xml document (config)? > > Alexandre Drouin > > -- Sincerely yours Mikhail Khludnev