gauravj88 commented on PR #12434: URL: https://github.com/apache/lucene/pull/12434#issuecomment-1844886604
Hello, I hope this message finds you well. I am reaching out regarding the recent enhancement described in https://lucene.apache.org/core/9_8_0/changes/Changes.html#v9.8.0.new_features GitHub issue #12434, which introduces the KnnCollector to LeafReader and KnnVectorReader for custom collection of vector search results. I am currently using a KNN query in the following format: {!knn f=vector topK=5}[-0.08779877, ... , 0.009549321] I would like to leverage the new KnnCollector to obtain scores from child documents. Specifically, I would appreciate an example illustrating how to: Apply a filter query (fq) on the parent document. Retrieve both the parent document and child document with the child's score. Your assistance with this matter would be immensely helpful. Thank you in advance for your time and support. Best regards, Gaurav Jayswal -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org