File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
specification/_types/query_dsl Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change 17
17
* under the License.
18
18
*/
19
19
20
- import { Field } from '@_types/common'
21
20
import { QueryBase } from './abstractions'
22
21
23
22
/** @shortcut_property value */
24
23
export class TextExpansionQuery extends QueryBase {
25
- /** The name of the rank features field to search against */
26
- value : Field
27
24
/** The text expansion NLP model to use */
28
25
model_id : string
29
26
/** The query text */
Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ export class QueryContainer {
160
160
* @availability stack since=8.8.0
161
161
* @availability serverless
162
162
*/
163
- text_expansion ?: TextExpansionQuery
163
+ text_expansion ?: SingleKeyDictionary < Field , TextExpansionQuery >
164
164
wildcard ?: SingleKeyDictionary < Field , WildcardQuery >
165
165
wrapper ?: WrapperQuery
166
166
You can’t perform that action at this time.
0 commit comments