Commit 5da2001
committed
Clean up dead code, fix misleading comment and test name
- Remove unused VECTOR_OPTION constant from VectorSearchIndex
- Clarify buildKnnQuery() comment: quoted fallback is for forward
compatibility, all P0 values are already canonicalized as numeric
- Rename testMissingSearchModeOptionThrows to
testUnknownOptionKeyOnlyThrows to match what it actually tests
Signed-off-by: Eric Wei <mengwei.eric@gmail.com>1 parent 7d2c62a commit 5da2001
2 files changed
Lines changed: 3 additions & 4 deletions
File tree
- opensearch/src
- main/java/org/opensearch/sql/opensearch/storage
- test/java/org/opensearch/sql/opensearch/storage
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | 26 | | |
29 | 27 | | |
30 | 28 | | |
| |||
81 | 79 | | |
82 | 80 | | |
83 | 81 | | |
84 | | - | |
| 82 | + | |
| 83 | + | |
85 | 84 | | |
86 | 85 | | |
87 | 86 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
0 commit comments