I'm using Solr-5.0.0 and ZooKeeper-3.4.6.

I've gotton some samples from the Moby Treasure List
http://www.gutenberg.org/catalog/world/results?title=moby+list to try it
out.

However, currently I can only have up to around 2100 lines in my
synonyms.txt in when I load the configuration into ZooKeeper. Beyond which
I'll get the following errors.


2015-05-01 00:21:55,146 [myid:1] - DEBUG
[CommitProcessor:1:FinalRequestProcessor@160] - sessionid:0x14d0b1ffa860002
type:exists cxid:0x148 zxid:0xfffffffffffffffe txntype:unknown
reqpath:/configs/collection1/synonyms.txt
2015-05-01 00:21:55,287 [myid:1] - WARN  [NIOServerCxn.Factory:
0.0.0.0/0.0.0.0:2181:NIOServerCnxn@362] - Exception causing close of
session 0x14d0b1ffa860002 due to java.io.IOException: Len error 24896062
2015-05-01 00:21:55,287 [myid:1] - DEBUG [NIOServerCxn.Factory:
0.0.0.0/0.0.0.0:2181:NIOServerCnxn@366] - IOException stack trace
java.io.IOException: Len error 24896062
at
org.apache.zookeeper.server.NIOServerCnxn.readLength(NIOServerCnxn.java:928)
at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:237)
at
org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:208)
at java.lang.Thread.run(Unknown Source)
2015-05-01 00:21:55,288 [myid:1] - INFO  [NIOServerCxn.Factory:
0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1007] - Closed socket connection for
client /127.0.0.1:56818 which had sessionid 0x14d0b1ffa860002
2015-05-01 00:21:55,578 [myid:1] - INFO  [NIOServerCxn.Factory:
0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@197] - Accepted socket connection
from /0:0:0:0:0:0:0:1:56819
2015-05-01 00:21:55,579 [myid:1] - DEBUG [NIOServerCxn.Factory:
0.0.0.0/0.0.0.0:2181:ZooKeeperServer@810] - Session establishment request
from client /0:0:0:0:0:0:0:1:56819 client's lastZxid is 0x18000000a7
2015-05-01 00:21:55,579 [myid:1] - INFO  [NIOServerCxn.Factory:
0.0.0.0/0.0.0.0:2181:ZooKeeperServer@861] - Client attempting to renew
session 0x14d0b1ffa860002 at /0:0:0:0:0:0:0:1:56819
2015-05-01 00:21:55,580 [myid:1] - INFO  [NIOServerCxn.Factory:
0.0.0.0/0.0.0.0:2181:Learner@108] - Revalidating client: 0x14d0b1ffa860002
2015-05-01 00:21:55,582 [myid:1] - INFO
 [QuorumPeer[myid=1]/0:0:0:0:0:0:0:0:2181:ZooKeeperServer@617] -
Established session 0x14d0b1ffa860002 with negotiated timeout 30000 for
client /0:0:0:0:0:0:0:1:56819


Is there a limit to how much data that can be contain in the synonyms.txt
file?
The searching on the synonyms using the solr.SyynonymFilterFactory works
fine if I have less than 2100 records in synonyms.txt file, but beyond
which it cannot be loaded into ZooKeeper.


Regards,
Edwin


On 30 April 2015 at 22:42, Vincenzo D'Amore <v.dam...@gmail.com> wrote:

> Which version of solr?
>
> On Thu, Apr 30, 2015 at 9:58 AM, Zheng Lin Edwin Yeo <edwinye...@gmail.com
> >
> wrote:
>
> > Hi,
> >
> > 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?
> >
> > Regards,
> > Edwin
> >
>
>
>
> --
> Vincenzo D'Amore
> email: v.dam...@gmail.com
> skype: free.dev
> mobile: +39 349 8513251
>

Reply via email to