Re: [I] Avoid recalculating the norm of the target vector when using cosine metric [lucene]

2024-03-17 Thread via GitHub
bugmakerr commented on issue #13185: URL: https://github.com/apache/lucene/issues/13185#issuecomment-2002493642 > I would rather not change anything related to this enumeration until we figure out: #13182 got it. > As an aside, I think cosine as a metric is fairly useless.

[PR] Pass custom similarity function to similarityToQueryVector API [lucene]

2024-03-17 Thread via GitHub
shubhamvishu opened a new pull request, #13187: URL: https://github.com/apache/lucene/pull/13187 ### Description This PR allows passing a custom vector similarity function to DVS implementations of `VectorSimilarityValuesSource` as opposed to current behaviour which by default only a

[I] Support for building materialized views using Lucene formats [lucene]

2024-03-17 Thread via GitHub
bharath-techie opened a new issue, #13188: URL: https://github.com/apache/lucene/issues/13188 ### Description We are exploring the use case of building materialized views for certain fields and dimensions using [Star Tree index](https://github.com/opensearch-project/OpenSearch/issues

Re: [PR] Made DocIdsWriter use DISI when reading documents with an IntersectVisitor [lucene]

2024-03-17 Thread via GitHub
gf2121 commented on code in PR #13149: URL: https://github.com/apache/lucene/pull/13149#discussion_r1527917667 ## lucene/core/src/java/org/apache/lucene/search/PointRangeQuery.java: ## @@ -185,6 +186,13 @@ public void visit(DocIdSetIterator iterator) throws IOException {