Split your synonyms into multiple files and set the SynonymFilterFactory with a coma-separated list of files. e.g. : synonyms="syn1.txt,syn2.txt,syn3.txt"
On Thu, Apr 30, 2015 at 8:07 PM, Zheng Lin Edwin Yeo <edwinye...@gmail.com> wrote: > Just to populate it with the general synonym words. I've managed to > populate it with some source online, but is there a limit to what it can > contains? > > I can't load the configuration into zookeeper if the synonyms.txt file > contains more than 2100 lines. > > Regards, > Edwin > On 1 May 2015 05:44, "Chris Hostetter" <hossman_luc...@fucit.org> wrote: > > > > > : There is a possible solution here: > > : https://issues.apache.org/jira/browse/LUCENE-2347 (Dump WordNet to > SOLR > > : Synonym format). > > > > If you have WordNet synonyms you do't need any special code/tools to > > convert them -- the current solr.SynonymFilterFactory supports wordnet > > files (just specify format="wordnet") > > > > > > : > > Does anyone knows any faster method of populating the synonyms.txt > > file > > : > > instead of manually typing in the words into the file, which there > > could > > : > be > > : > > thousands of synonyms around? > > > > populate from what? what is hte source of your data? > > > > the default solr synonym file format is about as simple as it could > > possibly be -- pretty trivial to generate it from scripts -- the hard > part > > is usually selecting the synonym data you want to use and parsing > whatever > > format it is already in. > > > > > > > > -Hoss > > http://www.lucidworks.com/ > > >