Yes I was thinking the same thing, although I was hoping there was a more elegant mechanism exposed by the solr infrastructure code to handle the shared map, aside from just using a global that is.
Phil -----Original Message----- From: simon [mailto:mtnes...@gmail.com] Sent: 12 October 2012 19:38 To: solr-user@lucene.apache.org Subject: Re: multi-core sharing synonym map I definitely haven't tried this ;=) but perhaps you could create your own XXXSynonymFilterFactory as a subclass of SynonymFilterFactory, which would allow you to share the synonym map across all cores - though I think there would need to be a nasty global variable to hold a reference to it... -Simon On Fri, Oct 12, 2012 at 12:27 PM, Phil Hoy <p...@friendsreunited.co.uk>wrote: > Hi, > > We have a multi-core set up with a fairly large synonym file, all > cores share the same schema.xml and synonym file but when solr loads > the cores, it loads multiple instances of the synonym map, this is a > little wasteful of memory and lengthens the start-up time. Is there a > way to get all cores to share the same map? > > > Phil > ______________________________________________________________________ This email has been scanned by the brightsolid Email Security System. Powered by MessageLabs ______________________________________________________________________