|
32 | 32 | "params":{
|
33 | 33 | "ids":{
|
34 | 34 | "type":"list",
|
35 |
| - "description":"A comma-separated list of documents ids. You must define ids as parameter or set \"ids\" or \"docs\" in the request body", |
36 |
| - "required":false |
| 35 | + "description":"A comma-separated list of documents ids. You must define ids as parameter or set \"ids\" or \"docs\" in the request body" |
37 | 36 | },
|
38 | 37 | "term_statistics":{
|
39 | 38 | "type":"boolean",
|
40 | 39 | "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\".",
|
41 |
| - "default":false, |
42 |
| - "required":false |
| 40 | + "default":false |
43 | 41 | },
|
44 | 42 | "field_statistics":{
|
45 | 43 | "type":"boolean",
|
46 | 44 | "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\".",
|
47 |
| - "default":true, |
48 |
| - "required":false |
| 45 | + "default":true |
49 | 46 | },
|
50 | 47 | "fields":{
|
51 | 48 | "type":"list",
|
52 |
| - "description":"A comma-separated list of fields to return. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\".", |
53 |
| - "required":false |
| 49 | + "description":"A comma-separated list of fields to return. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\"." |
54 | 50 | },
|
55 | 51 | "offsets":{
|
56 | 52 | "type":"boolean",
|
57 | 53 | "description":"Specifies if term offsets should be returned. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\".",
|
58 |
| - "default":true, |
59 |
| - "required":false |
| 54 | + "default":true |
60 | 55 | },
|
61 | 56 | "positions":{
|
62 | 57 | "type":"boolean",
|
63 | 58 | "description":"Specifies if term positions should be returned. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\".",
|
64 |
| - "default":true, |
65 |
| - "required":false |
| 59 | + "default":true |
66 | 60 | },
|
67 | 61 | "payloads":{
|
68 | 62 | "type":"boolean",
|
69 | 63 | "description":"Specifies if term payloads should be returned. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\".",
|
70 |
| - "default":true, |
71 |
| - "required":false |
| 64 | + "default":true |
72 | 65 | },
|
73 | 66 | "preference":{
|
74 | 67 | "type":"string",
|
75 |
| - "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\".", |
76 |
| - "required":false |
| 68 | + "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\"." |
77 | 69 | },
|
78 | 70 | "routing":{
|
79 | 71 | "type":"string",
|
80 |
| - "description":"Specific routing value. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\".", |
81 |
| - "required":false |
| 72 | + "description":"Specific routing value. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\"." |
82 | 73 | },
|
83 | 74 | "realtime":{
|
84 | 75 | "type":"boolean",
|
85 |
| - "description":"Specifies if requests are real-time as opposed to near-real-time (default: true).", |
86 |
| - "required":false |
| 76 | + "description":"Specifies if requests are real-time as opposed to near-real-time (default: true)." |
87 | 77 | },
|
88 | 78 | "version":{
|
89 | 79 | "type":"number",
|
|
0 commit comments