Re: Refactor JapaneseTokenizer to take a dictionary as a parameter

2015-07-14 Thread Upayavira
Where do you get the impression that the dictionary must come from the classpath? When you see ResourceLoader, this is a Lucene construct, and Solr provides its own that will look into the core's conf directory (whether that is on the file system in non-cloud mode, or Zookeeper for cloud mode).

Refactor JapaneseTokenizer to take a dictionary as a parameter

2015-07-13 Thread Hayden Muhl
I'd like to make the JapaneseTokenizer a little more flexible by allowing Solr users to supply their own dictionary via the JapaneseTokenizerFactory. We looked into using the existing User Dictionary functionality, but it didn't suit our use case. We compiled our own dictionary, and had to do a