Re: Exact KNN

2024-01-30 Thread Paul Libbrecht
Isn’t that what Semantic-Vectors is doing? E.g. https://github.com/Ontotext-AD/semanticvectors Paul On 30 Jan 2024, at 20:50, William Zhou wrote: > Is there a way of directly executing an exact nearest neighbor search? It > seems like the API provides some general functionality, and we can force

Re: Exact KNN

2024-01-30 Thread Marcus Eagan
William, When I first read this question, I thought to myself, "why would anyone want to do that?" Then I remembered that with search engines everyone wants everything. Without thinking too much about it, I think you have a lot of options as always. Two that come to mind: 1. To retrieve the value

Re: hnsw parameters for vector search

2024-01-30 Thread Michael Wechner
Re your "second" question about suboptimal results, I think Nils Reimers explains quite nicely why this might happen, see for example https://www.youtube.com/watch?v=Abh3YCahyqU HTH Michael Am 30.01.24 um 15:48 schrieb Moll, Dr. Andreas: Hi, the hnsw documentation for the Lucene HnswGraph

hnsw parameters for vector search

2024-01-30 Thread Moll, Dr. Andreas
Hi, the hnsw documentation for the Lucene HnswGraph and the SolR vector search is not very verbose, especially in regards to the parameters hnswMaxConn and hnswBeamWidth. I find it hard to come up with sensible values for these parameters by reading the paper from 2018. Does anyone have experie

Re: Need suggestion for a Lucene upgrade scenario

2024-01-30 Thread Uwe Schindler
Hi, please read the documentation. It is explained in detail: https://lucene.apache.org/core/8_11_0/core/org/apache/lucene/analysis/package-summary.html#package.description There are also many blog posts about this change (which was done now almost 15 years ago)! Uwe Am 30.01.2024 um 11:30

Re: Need suggestion for a Lucene upgrade scenario

2024-01-30 Thread Mikhail Khludnev
Hello Rajib, Check OffsetAttribute. On Tue, Jan 30, 2024 at 1:31 PM Saha, Rajib wrote: > Hi, > > In our project for Lucene migration from 2.4.0 to 8.11.2, we need your > suggestion to address a case. > With Lucene 2.4.0, we were using the kind of below code snippet. > With Lucene 8.11.2[Written

Need suggestion for a Lucene upgrade scenario

2024-01-30 Thread Saha, Rajib
Hi, In our project for Lucene migration from 2.4.0 to 8.11.2, we need your suggestion to address a case. With Lucene 2.4.0, we were using the kind of below code snippet. With Lucene 8.11.2[Written snippet below], we need to extract the startOffset & endOffset value for further some calculation s