lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikhail Khludnev <m...@apache.org>
Subject Re: Where should the listeners be defined in solrconfig.xml (Solr 6.0.1)
Date Wed, 03 Aug 2016 14:51:57 GMT
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.drouin@orckestra.com> wrote:

> Does anyone knows where the listener should be defined in solrconfig.xml?
>
>
> Alexandre Drouin
>
>
> -----Original Message-----
> From: Alexandre Drouin [mailto:alexandre.drouin@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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message