You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by "ron.buchanan" <ro...@motion-ind.com> on 2019/09/03 16:21:59 UTC
Custom TokenizerFactory that reads configuration file from
zookeeper
I'm working on a custom tokenizer (Solr 7.3.0) whose Factory needs to read a
configuration file.
I have been able to run it successfully in my local reading from a local
directory.
I would like to be able to have the configuration read from zookeeper
(similarly to how SynonymGraphFilterFactory reads it's synonym file.)
Tokenizers reading files does not seem to be a thing, but if it is possible
ResourceLoaderAware seems to be the key.
Is this even possible? If so, is there mechanism like ResourceLoader that
can be utilized?
Thanks,
Ron
--
Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Re: Custom TokenizerFactory that reads configuration file from
zookeeper
Posted by "ron.buchanan" <ro...@motion-ind.com>.
ResourceLoader worked brilliantly - my brain, on the other hand, not so much
--
Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html