简体   繁体   English

可索引CharField的Django Haystack Elastic Search最大值

[英]Django Haystack Elastic Search maximum value for indexable CharField

I was wondering whats the maximum value for an indexable CharField in Django Haytack with elasticsearch? 我想知道Django Haytack中带有Elasticsearch的可索引CharField的最大值是多少?

I am asking this, because I am getting a timeout when I try to index a specific charfield that has a size of at least 736166 . 我之所以这样问是因为,当我尝试索引大小至少为736166的特定charfield时,我超时了。

This seems to be pretty big for me, but is there a way for me to avoid that timeout, or am I not supposed to be using fields this big? 这对我来说似乎很大,但是我有办法避免超时吗,还是我不应该使用这么大的字段?

Thanks in advance. 提前致谢。

The problem is that there was not enough memory. 问题是没有足够的内存。 Upgrading from 2GB to 4GB in my VM fixed the problem. 在我的VM中从2GB升级到4GB解决了该问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM