|
51 | 51 | "params":{
|
52 | 52 | "ids":{
|
53 | 53 | "type":"list",
|
54 |
| - "description":"A comma-separated list of documents ids. You must define ids as parameter or set \"ids\" or \"docs\" in the request body", |
55 |
| - "required":false |
| 54 | + "description":"A comma-separated list of documents ids. You must define ids as parameter or set \"ids\" or \"docs\" in the request body" |
56 | 55 | },
|
57 | 56 | "term_statistics":{
|
58 | 57 | "type":"boolean",
|
59 | 58 | "description":"Specifies if total term frequency and document frequency should be returned. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\".",
|
60 |
| - "default":false, |
61 |
| - "required":false |
| 59 | + "default":false |
62 | 60 | },
|
63 | 61 | "field_statistics":{
|
64 | 62 | "type":"boolean",
|
65 | 63 | "description":"Specifies if document count, sum of document frequencies and sum of total term frequencies should be returned. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\".",
|
66 |
| - "default":true, |
67 |
| - "required":false |
| 64 | + "default":true |
68 | 65 | },
|
69 | 66 | "fields":{
|
70 | 67 | "type":"list",
|
71 |
| - "description":"A comma-separated list of fields to return. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\".", |
72 |
| - "required":false |
| 68 | + "description":"A comma-separated list of fields to return. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\"." |
73 | 69 | },
|
74 | 70 | "offsets":{
|
75 | 71 | "type":"boolean",
|
76 | 72 | "description":"Specifies if term offsets should be returned. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\".",
|
77 |
| - "default":true, |
78 |
| - "required":false |
| 73 | + "default":true |
79 | 74 | },
|
80 | 75 | "positions":{
|
81 | 76 | "type":"boolean",
|
82 | 77 | "description":"Specifies if term positions should be returned. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\".",
|
83 |
| - "default":true, |
84 |
| - "required":false |
| 78 | + "default":true |
85 | 79 | },
|
86 | 80 | "payloads":{
|
87 | 81 | "type":"boolean",
|
88 | 82 | "description":"Specifies if term payloads should be returned. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\".",
|
89 |
| - "default":true, |
90 |
| - "required":false |
| 83 | + "default":true |
91 | 84 | },
|
92 | 85 | "preference":{
|
93 | 86 | "type":"string",
|
94 |
| - "description":"Specify the node or shard the operation should be performed on (default: random) .Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\".", |
95 |
| - "required":false |
| 87 | + "description":"Specify the node or shard the operation should be performed on (default: random) .Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\"." |
96 | 88 | },
|
97 | 89 | "routing":{
|
98 | 90 | "type":"string",
|
99 |
| - "description":"Specific routing value. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\".", |
100 |
| - "required":false |
| 91 | + "description":"Specific routing value. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\"." |
101 | 92 | },
|
102 | 93 | "realtime":{
|
103 | 94 | "type":"boolean",
|
104 |
| - "description":"Specifies if requests are real-time as opposed to near-real-time (default: true).", |
105 |
| - "required":false |
| 95 | + "description":"Specifies if requests are real-time as opposed to near-real-time (default: true)." |
106 | 96 | },
|
107 | 97 | "version":{
|
108 | 98 | "type":"number",
|
|
0 commit comments