Skip to content

Commit

Permalink
ok
Browse files Browse the repository at this point in the history
  • Loading branch information
xpc committed Aug 28, 2024
1 parent fa810fb commit 91da1c7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/10.v2.x文档/010.快速入门/080.注解.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ public class Document {
|value|String||""|索引名,可简单理解为MySQL表名|
|aliasName|String||""|索引别名|
|keepGlobalPrefix|boolean||false|是否保持使用全局的 tablePrefix 的值,与MP用法一致|
|maxResultWindow|int||10000|分页返回的最大数据量,默认值为1万条,超出推荐使用searchAfter或滚动查询等方式,详见拓展功能章节. 当此值调整至大于1W后,需要重建索引并同步开启配置文件中的enable-track-total-hits=true方可生效|
|refreshPolicy|Enum||NONE|索引数据刷新策略,默认为不刷新,其取值参考RefreshPolicy枚举类,一共有3种刷新策略|


Expand Down Expand Up @@ -108,7 +107,6 @@ public class Document {

| 属性| 类型| 必须指定|默认值 |描述 |
|---|---|---|---|---|
|value|String||"_id"|主键字段名|
|type|Enum||IdType.NONE|指定主键类型|

:::tip 温馨提示
Expand Down

0 comments on commit 91da1c7

Please sign in to comment.