Skip to content

Commit 7292a00

Browse files
committed
Fix SpanQuery
1 parent 485e4b2 commit 7292a00

File tree

1 file changed

+3
-2
lines changed
  • specification/_types/query_dsl

1 file changed

+3
-2
lines changed

specification/_types/query_dsl/span.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*/
1919

2020
import { SingleKeyDictionary } from '@spec_utils/Dictionary'
21-
import { Field } from '@_types/common'
21+
import { Field, FieldValue } from '@_types/common'
2222
import { integer } from '@_types/Numeric'
2323
import { QueryBase, QueryContainer } from './abstractions'
2424

@@ -136,7 +136,8 @@ export class SpanOrQuery extends QueryBase {
136136
* @ext_doc_id query-dsl-span-term-query
137137
*/
138138
export class SpanTermQuery extends QueryBase {
139-
value: string
139+
/** @aliases term */
140+
value: FieldValue
140141
}
141142

142143
/**

0 commit comments

Comments
 (0)