-
Notifications
You must be signed in to change notification settings - Fork 132
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
[FEATURE] Provide context on Inner hit of multi vector to aid highlighting/debug use cases #1447
Comments
@heemin32 were you able to figure out why the query with filter is not returning inner hits? Plus is this consistent with Faiss engine too? |
Same for both Faiss and Lucene. Wasn't able to find the why. |
@heemin32 its pretty interesting that inner hits is working for standard search and not for filtered vector search even when we run almost same code in both the places. |
@navneet1v We faced the same issue for our use case and due to this we were unable to use on a query with filter |
@heemin32 looks like we are addressing two different issues on this thread. 1) ability to know which inner hit contributed the score for the document and 2)Filter seem to be broken with inner hits. Should we create separate issues for these? |
@vamshin. That is correct. However, in terms of feature completeness, wouldn't it be better to resolve them both together? |
@heemin32 agree both need to be resolved. Just that it might be hard to discover for folks seeing issues with filter and inner hits. Not a major concern. |
@vamshin After some deep dive, it seems they are two completely separate issue in terms of implementation. Let me create a new issue for innerHit with filter and address them one by one. |
Closing in favor of opensearch-project/OpenSearch#13903 |
As a follow up item on #1065, I would like to see inner hit of nested field so that I know which item inside nested fields are matched.
Create KNN index
Insert Data
Query
Response
It returns two nearest values among entire nested values, but not best one for each document.
The text was updated successfully, but these errors were encountered: