Commit 3fe79c3
authored
Merge pull request #22 from SOFTNETWORK-APP/feature/select
- update client apis so as to use generic elastic result
- add elastic client companion
- add and implement scroll api :
- ✅ Retry with exponential backoff
- ✅ Automatic tie-breaker for search_after
- ✅ PIT (Point In Time) support for consistent snapshots
- ✅ Configurable batch size
- ✅ Shard failure detection
- ✅ Resource cleanup
- ✅ Detailed error messages
- add and implement metrics and monitoring
- add and implement SPI architecture for elastic client api
- add specific module for persistence
- fix deprecated scala.collection.JavaConverters
- choose scroll strategy based on query type and underlying Elasticsearch version
- add documentation for all apisFile tree
196 files changed
+56860
-8645
lines changed- .github/workflows
- core
- src
- main
- resources
- scala-2.12/app/softnetwork/elastic/client
- scala-2.13/app/softnetwork/elastic/client
- scala/app/softnetwork/elastic/client
- bulk
- metrics
- monitoring
- result
- scroll
- spi
- test/scala/app/softnetwork/elastic/client
- testkit/src
- main/scala/app/softnetwork/elastic
- client
- persistence
- person
- query
- test/resources
- documentation
- client
- sql
- es6
- jest/src
- main
- resources/META-INF/services
- scala/app/softnetwork/elastic
- client
- jest
- spi
- persistence/query
- test/scala/app/softnetwork/elastic
- client
- persistence/person
- rest/src
- main
- resources/META-INF/services
- scala/app/softnetwork/elastic
- client
- rest
- spi
- persistence/query
- test/scala/app/softnetwork/elastic
- client
- persistence/person
- sql-bridge/src
- main/scala/app/softnetwork/elastic/sql/bridge
- test/scala/app/softnetwork/elastic/sql
- es7/rest/src
- main
- resources/META-INF/services
- scala/app/softnetwork/elastic
- client
- rest
- spi
- persistence/query
- test/scala/app/softnetwork/elastic
- client
- persistence/person
- es8/java/src
- main
- resources/META-INF/services
- scala/app/softnetwork/elastic
- client
- java
- spi
- persistence/query
- test/scala/app/softnetwork/elastic
- client
- persistence/person
- es9/java/src
- main
- resources/META-INF/services
- scala/app/softnetwork/elastic
- client
- java
- spi
- persistence/query
- test/scala/app/softnetwork/elastic
- client
- persistence/person
- persistence
- src/main/scala/app/softnetwork/elastic/persistence
- query
- typed
- project
- sql
- bridge/src
- main/scala/app/softnetwork/elastic/sql/bridge
- test/scala/app/softnetwork/elastic/sql
- src/main/scala/app/softnetwork/elastic/sql
- function/aggregate
- query
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
196 files changed
+56860
-8645
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
| |||
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
68 | | - | |
69 | | - | |
| 70 | + | |
| 71 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
15 | 16 | | |
16 | | - | |
| 17 | + | |
17 | 18 | | |
18 | | - | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | | - | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
31 | 36 | | |
32 | 37 | | |
33 | 38 | | |
34 | 39 | | |
35 | 40 | | |
36 | | - | |
| 41 | + | |
37 | 42 | | |
38 | 43 | | |
39 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
57 | 73 | | |
58 | 74 | | |
59 | 75 | | |
| |||
75 | 91 | | |
76 | 92 | | |
77 | 93 | | |
| 94 | + | |
78 | 95 | | |
79 | 96 | | |
80 | 97 | | |
| |||
101 | 118 | | |
102 | 119 | | |
103 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
104 | 132 | | |
105 | 133 | | |
106 | 134 | | |
| |||
136 | 164 | | |
137 | 165 | | |
138 | 166 | | |
139 | | - | |
| 167 | + | |
140 | 168 | | |
141 | 169 | | |
142 | 170 | | |
| |||
383 | 411 | | |
384 | 412 | | |
385 | 413 | | |
| 414 | + | |
386 | 415 | | |
387 | 416 | | |
388 | 417 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
9 | 22 | | |
10 | 23 | | |
11 | 24 | | |
12 | 25 | | |
13 | 26 | | |
14 | 27 | | |
15 | 28 | | |
16 | | - | |
17 | | - | |
18 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
| 9 | + | |
7 | 10 | | |
8 | | - | |
| 11 | + | |
9 | 12 | | |
10 | 13 | | |
11 | 14 | | |
| |||
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
| 21 | + | |
18 | 22 | | |
19 | | - | |
| 23 | + | |
| 24 | + | |
20 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
21 | 42 | | |
Lines changed: 37 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
1 | 17 | | |
2 | 18 | | |
3 | 19 | | |
4 | 20 | | |
5 | 21 | | |
6 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
7 | 40 | | |
8 | 41 | | |
9 | 42 | | |
10 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
11 | 47 | | |
12 | 48 | | |
13 | 49 | | |
| |||
Lines changed: 22 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
23 | 41 | | |
24 | 42 | | |
25 | 43 | | |
26 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
27 | 48 | | |
28 | 49 | | |
29 | 50 | | |
| |||
0 commit comments