-
Notifications
You must be signed in to change notification settings - Fork 20
(dsl): Support intervalQuery #647
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 2 commits
861a986
7bb2df6
907980b
3b97832
ee269c2
441fe9f
af9b2fe
805f6bd
f9a4a13
84c908b
d5b8bc8
7af2c13
ba54dc1
593f575
5f42ed1
ff1916d
ca243e9
640500d
6308187
41df198
f7cb287
a136f4f
7391cec
45bc91e
cf31617
3f44d44
dfece62
500610f
72715df
7941fe3
26150f1
4d60d5f
c7eab4e
377bf8c
b21a202
b14e4d9
72e782b
626dfda
61a4949
1aae089
689ab2e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -16,13 +16,16 @@ | |||||||||
|
|
||||||||||
| package zio.elasticsearch | ||||||||||
|
|
||||||||||
| import zio.Chunk | ||||||||||
| import zio.{Chunk, NonEmptyChunk} | ||||||||||
| import zio.elasticsearch.ElasticPrimitive.ElasticPrimitive | ||||||||||
| import zio.elasticsearch.data.GeoPoint | ||||||||||
| import zio.elasticsearch.query._ | ||||||||||
| import zio.elasticsearch.script.Script | ||||||||||
| import zio.json.ast.Json | ||||||||||
| import zio.schema.Schema | ||||||||||
|
|
||||||||||
| import javax.management.Query | ||||||||||
markok4 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
markok4 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||
|
|
||||||||||
| object ElasticQuery { | ||||||||||
|
|
||||||||||
| /** | ||||||||||
|
|
@@ -548,6 +551,280 @@ object ElasticQuery { | |||||||||
| final def ids(value: String, values: String*): IdsQuery[Any] = | ||||||||||
| Ids(values = Chunk.fromIterable(value +: values)) | ||||||||||
|
|
||||||||||
| /** | ||||||||||
| * Constructs an instance of [[zio.elasticsearch.query.IntervalMatch]] interval query. | ||||||||||
| * | ||||||||||
| * This query matches analyzed text within specified intervals based on the provided query string. | ||||||||||
| * | ||||||||||
| * @param query | ||||||||||
| * the text to match in the intervals. | ||||||||||
|
||||||||||
| * @param query | |
| * the text to match in the intervals. | |
| * @param query | |
| * the text to match in the intervals |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should have specific trait here as return type for methods here. (you can see other methods)
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| * @param prefix | |
| * the prefix string to match. | |
| * @param prefix | |
| * the prefix string to match |
Uh oh!
There was an error while loading. Please reload this page.