lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandre Drouin <alexandre.dro...@orckestra.com>
Subject RE: Where should the listeners be defined in solrconfig.xml (Solr 6.0.1)
Date Wed, 03 Aug 2016 14:59:18 GMT
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:mkhl@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.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
View raw message