小编Ana*_*and的帖子

PG::ProgramLimitExceeded: 错误:索引行需要 13904 字节,最大大小为 8191

我有一个领域

t.text "po_description", null: false
Run Code Online (Sandbox Code Playgroud)

我正在尝试在此字段中保存 200-300 行文本并出现溢出错误:-

PG::ProgramLimitExceeded:错误:索引行需要 13904 字节,最大大小为 8191:插入“po_terms”(“company_id”、“po_description”、“created_at”、“updated_at”)值($1、$2、$3、$4)返回“id”

注意: - 我正在使用 postgresql db

如何修复它,任何帮助将不胜感激。谢谢

postgresql text ruby-on-rails

4
推荐指数
1
解决办法
7545
查看次数

Elasticsearch::Transport::Transport::Errors::NotFound ([404] {"error":{"root_cause":[{"type":"index_not_found_exception"

不确定在本地环境中工作时elasticsearch遇到这个奇怪的错误,任何帮助我都会很感激。谢谢

Elasticsearch::Transport::Transport::Errors::NotFound ([404] {"error":{"root_cause":[{"type":"index_not_found_exception","re​​ason":"没有这样的索引","re​​source. type":"index_or_alias","re​​source.id":"invoices","index":"invoices"}],"type":"index_not_found_exception","re​​ason":"没有这样的索引","re​​source.type" :"index_or_alias","re​​source.id":"invoices","index":"invoices"},"status":404})

ruby-on-rails elasticsearch elasticsearch-rails

3
推荐指数
1
解决办法
5200
查看次数