Commit b742b02
Pinned retriever (elastic#126401)
* Created PinnedQueryRetriever Builder
* Added retriever build test file
* Changed the test to accept all the retrievers as its not licensed
* [CI] Auto commit changes from spotless
* Added integration test and fixed the code style issues
* Fixed merge issues
* Added cluster test feature to the integration tests
* Update docs/changelog/126401.yaml
* Registered retriever plugin
* Enhanced changelog description
* Added validation to the constructor creation
* Introduced validations in the code and incorporated in tests - compiling version
* Included PinnedRankDoc to enhance the explain query, validations for inputs anfd sorting. Fixed the tests after these changes
* Working on improving integration test and introducing cluster features
* Removed cluster test temporarily
* Got pinnedretriever yaml to working state without cluster
* [CI] Auto commit changes from spotless
* Resolved no source yaml error
* Cluster loaded successfully
* [CI] Auto commit changes from spotless
* Fixed integration test
* Made validate sort less strict
* Included shareddoc sorting in the validate sort
* All yaml issues resolved
* Explanation yaml files added
* Trying to add clustering to the test
* [CI] Auto commit changes from spotless
* Removed explicit feature specification
* Deleted the empty file
* Put the node feature in the proper place
* Added additional validation in ids and docs
* Cleaned the create pinned query validation
* made unit tests robust
* Remove query.es from version control
* Remove result.json from version control
* [CI] Auto commit changes from spotless
* Everything except explanation is fixed
* added duplicate doc test
* Applied checkstyle fix, spotless and a failing yaml
* Improvements based on PR comments
* [CI] Auto commit changes from spotless
* Modified the unit test to accomodate the change in createPinnedQuery
* Split the yaml to test for basic and trial, cleanedup and acted on all the comments
* Remove result.json and query.es from version control
* Removed unnecessary comments
* Removed redundant file
* Fixing CI build error
* [CI] Auto commit changes from spotless
* Removed pinnedBy as it wasnt necessary
* Removed unnecessary ToXContent Information
* Fixed transport version charges and cleaned up null checks:
"
* [CI] Auto commit changes from spotless
* Retriever status changed to 9.1 version
* cleaned up 2 yamltestsuite for different licenses
* Trying to get the clustering works
* Cleaned up the yaml clustering and also reorganised the yaml tests
* Unnecessary file introduction removed
* Reverted the plugins to the previous state as the changes werent necessary
* Removed unnecessary transport versioning from pinnedrankdoc
* reverted
* [CI] Auto commit changes from spotless
* Edited the SearchBusinessRules to remove the class from getFeatures
* [CI] Auto commit changes from spotless
* Cleaned up Pinned retriever to allow only id or docs
* Added more test to the pinned retriever
* did spotless
* Introduced new transport versioning
* Cleaning it up
* Resolved validate module error
* BWT issues
* [CI] Auto commit changes from spotless
* fix NPE occuring in ci
* trying to fix duplicate feature issue
* [CI] Auto commit changes from spotless
* modified the tests
* Playing with pinned retriever CI (elastic#127530)
* Fix compilation error
* Remove SearchPlugin from META-INF
* Remove duplicate FeatureSpecification
* Add service as test resource
* Move to test
* More file moving
* Remove from module-info, remove file
* Make search business rules plugin extensible
* fix ent search plugin
* Delete dup files
* [CI] Auto commit changes from spotless
* Add module info back in
---------
Co-authored-by: elasticsearchmachine <[email protected]>
* top document no pinned
* Removing this to see if it works without this transport version check, as i had made changes related to the cluster error
* Fixed the retriever builder comments and error message
* removed the unnencessary explain
* Fixed all the tests in the yaml file
* added extra test case
* [CI] Auto commit changes from spotless
---------
Co-authored-by: elasticsearchmachine <[email protected]>
Co-authored-by: Kathleen DeRusso <[email protected]>1 parent 89134fe commit b742b02
File tree
17 files changed
+1295
-7
lines changed- docs/changelog
- server/src/main/java/org/elasticsearch
- x-pack/plugin
- ent-search
- rank-rrf
- src/yamlRestTest/resources/rest-api-spec/test/rrf
- search-business-rules
- src
- main
- java
- org/elasticsearch/xpack/searchbusinessrules
- retriever
- resources/META-INF/services
- test/java/org/elasticsearch/xpack/searchbusinessrules/retriever
- yamlRestTest
- java/org/elasticsearch/xpack/searchbusinessrules
- resources/rest-api-spec/test/search-business-rules
17 files changed
+1295
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
| 234 | + | |
234 | 235 | | |
235 | 236 | | |
236 | 237 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
Lines changed: 98 additions & 0 deletions
| 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 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| 17 | + | |
16 | 18 | | |
17 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
18 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
19 | 22 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
12 | 17 | | |
13 | 18 | | |
14 | 19 | | |
15 | 20 | | |
16 | 21 | | |
17 | | - | |
| 22 | + | |
18 | 23 | | |
19 | 24 | | |
20 | 25 | | |
21 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
22 | 32 | | |
23 | 33 | | |
24 | 34 | | |
Lines changed: 28 additions & 0 deletions
| 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 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
0 commit comments