alleyinteractive / alleyinteractive/searchpress

Error indexing posts: Limit of total fields in index has been exceeded

未關閉
#101 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
PHP
星號
85
分支
10
PR 合併指標
30 天內沒有已合併 PR

描述

When I run:

```
$ wp searchpress index --flush --put-mapping
```

I eventually see this error:

```
Warning: Error indexing post 5021340; HTTP response code: 400; Data: {"index":{"_index":"bgr.test","_type":"post","_id":"5021340","status":400,"error":{"type":"illegal_argument_exception","reason":"Limit of total fields [1000] in index [bgr.test] has been exceeded"}}}
```

The stats end up as:

```
Completed page 1/1 (29.36s / 101.48M current / 157.01M max), 7s remaining
Success: Index Complete!
1481 posts processed
1081 posts indexed
400 errors/warnings
Replacing the default search with SearchPress...
Success: Successfully activated SearchPress!
```

Any ideas why there's a cap?

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。