Re: VectorField renamed to KnnVectorField?

2021-11-02 Thread Michael Wechner
Hi Vigya Great, thank you very much for these links! All the best Michael Am 02.11.21 um 01:45 schrieb Vigya Sharma: Hi Michael, Glad you got it working. There is also a KNN vector search demo that was added not long ago. You might want to check it out. It has references for example, to

Re: VectorField renamed to KnnVectorField?

2021-11-01 Thread Vigya Sharma
Hi Michael, Glad you got it working. There is also a KNN vector search demo that was added not long ago. You might want to check it out. It has references for example, to compute embeddings and build knn vector queries

Re: VectorField renamed to KnnVectorField?

2021-11-01 Thread Michael Wechner
I was able to update my code -    FieldType vectorFieldType = VectorField.createHnswType(vector.length, VectorValues.SimilarityFunction.DOT_PRODUCT, 16, 500); -    VectorField vectorField = new VectorField(VECTOR_FIELD, vector, vectorFieldType); +    FieldType vectorFieldType =