It is solr 4.0 and uses the new FSTSynonymFilterFactory i believe but defers to 
ZkSolrResourceLoader to load the synonym file when in cloud mode.
Phil

-----Original Message-----
From: ☼ 林永忠 ☼ (Yung-chung Lin) [mailto:henearkrx...@gmail.com] 
Sent: 02 November 2011 12:24
To: solr-user@lucene.apache.org
Subject: Re: SolrCloud with large synonym files

Hi,

I didn't use Solr with Zookeeper before. But Solr 3.4 implements the
synonym module with a different data structure. If the version of your Solr
is not 3.4, then maybe you can try upgrading it first.

See also this thread on stackoverflow.
http://stackoverflow.com/questions/6747664/solr-and-big-synonym-file

Yung-chung Lin

2011/11/2 Phil Hoy <p...@friendsreunited.co.uk>

> Hi,
>
> I am running solrcloud and a file in the Dbootstrap_confdir is a large
> large synonym file (~50mb ) used by a SynonymFilterFactory configured in
> the schema.xml. When i start solr I get a zookeeper exception presumably
> because the file size is too large.
>
> Caused by: org.apache.zookeeper.KeeperException$ConnectionLossException:
> KeeperErrorCode = ConnectionLoss for /configs/recordsets_conf/firstnames.csv
>        at
> org.apache.zookeeper.KeeperException.create(KeeperException.java:90)
>        at
> org.apache.zookeeper.KeeperException.create(KeeperException.java:42)
>        at org.apache.zookeeper.ZooKeeper.setData(ZooKeeper.java:1038)
>
> Is there a way to either increase the limit in zookeeper or perhaps
> configure the SynonymFilterFactory differently to get the file from
> somewhere external to Dbootstrap_confdir?
>
> Phil
>


______________________________________________________________________
This email has been scanned by the brightsolid Email Security System. Powered 
by MessageLabs
______________________________________________________________________

Reply via email to