mirror of
https://github.com/opensearch-project/neural-search.git
synced 2026-12-03 16:24:29 +00:00
Neural search transforms text into vectors and facilitates vector search both at ingestion time and at search time.
- Java 97.8%
- C++ 1.4%
- Shell 0.3%
- Python 0.3%
- CMake 0.2%
* Normalize hybrid query scores once when explain is enabled With explain enabled, the normalization processor workflow explained the normalization before running it, and each technique's explain() wrote the normalized score back into the TopDocs it explained. normalizeScores then normalized those scores a second time. The response's _score and the explanation's top node reported the second pass, while the explanation's children held the first one. For z_score this changed the hit order. explain() of the min_max, z_score, l2 and rrf techniques no longer writes to scoreDoc.score. The workflow explains the normalization on the raw scores, normalizes once, then explains the combination on the normalized scores, which are the ones combineScores reads. Resolves #2097 Signed-off-by: ahlag <theeahlag@gmail.com> * Add CHANGELOG entry for #2104 Signed-off-by: ahlag <theeahlag@gmail.com> * Cover explain ordering, l2 on 3 shards and min_score in explain tests - NormalizationProcessorWorkflowTests: check that the normalization explanation children average to the combined score, which fails if normalization is explained after normalizeScores. - HybridQueryExplainIT: check _explanation on every hit, run on 1 and 3 shards (l2 only drifts on more than one shard), and compare with and without explain under a min_score. Before the fix that min_score returned a 500 for z_score on 1 shard (IndexOutOfBoundsException in ExplanationResponseProcessor). Signed-off-by: ahlag <theeahlag@gmail.com> --------- Signed-off-by: ahlag <theeahlag@gmail.com> |
||
|---|---|---|
| .github | ||
| .idea | ||
| formatter | ||
| gradle/wrapper | ||
| jni | ||
| qa | ||
| release-notes | ||
| scripts | ||
| src | ||
| .gitignore | ||
| .gitmodules | ||
| .whitesource | ||
| ADMINS.md | ||
| build.gradle | ||
| CHANGELOG.md | ||
| CODE_OF_CONDUCT.md | ||
| codecov.yml | ||
| CONTRIBUTING.md | ||
| DEVELOPER_GUIDE.md | ||
| gradle.properties | ||
| gradlew | ||
| gradlew.bat | ||
| LICENSE | ||
| lombok.config | ||
| MAINTAINERS.md | ||
| NOTICE | ||
| README.md | ||
| RELEASING.md | ||
| repositories.gradle | ||
| SECURITY.md | ||
| settings.gradle | ||
| TRIAGING.md | ||
OpenSearch Neural Search
OpenSearch Neural Search is an OpenSearch plugin that adds dense neural retrieval into the OpenSearch ecosystem. The plugin provides the capability for indexing documents and doing neural search on the indexed documents.
Project Resources
- Project Website
- Downloads.
- Documentation
- Need help? Try Forums
- Project Principles
- Contributing to OpenSearch
- Maintainer Responsibilities
- Release Management
- Admin Responsibilities
- Security
- Code of Conduct
- License
- Copyright
Code of Conduct
This project has adopted the Amazon Open Source Code of Conduct. For more information see the Code of Conduct FAQ, or contact opensource-codeofconduct@amazon.com with any additional questions or comments.
License
This project is licensed under the Apache v2.0 License.
Copyright
Copyright OpenSearch Contributors. See NOTICE for details.