RE: multi-core sharing synonym map

2012-10-16 Thread Chris Hostetter
: 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. a) if you have a large data structure you wnat to share between SolrCores, you might be ab

Re: multi-core sharing synonym map

2012-10-12 Thread Erick Erickson
side 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 tri

RE: multi-core sharing synonym map

2012-10-12 Thread Phil Hoy
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 - tho

Re: multi-core sharing synonym map

2012-10-12 Thread simon
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... -S