开发者

Solr and big synonym file

开发者 https://www.devze.com 2023-03-21 03:09 出处:网络
I have a big synonym dictionary and I created a file correctly formated to use it with solr. This file has a size of 4mb. But when I want to start solr using Tomcat,solr is blocke开发者_运维百科d in s

I have a big synonym dictionary and I created a file correctly formated to use it with solr. This file has a size of 4mb. But when I want to start solr using Tomcat, solr is blocke开发者_运维百科d in start.

What is the problem ? The file is too big ?

Thanks.


we created a new synonymsfilter to address this problem, the old synonymsfilter was quite bad with such large synonyms files:

https://issues.apache.org/jira/browse/LUCENE-3233

Unless something changes, should make it into 3.4


I think it has nothing to do with tomcat memory, try increasing solr memory. Found this link which mentions that synonym.txt will take lot of heap space, so mostly its due to solr running out of memory

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号