Questions tagged [vector-search]

Vector Search allows for the discovery of approximations based on the relative distance between embedded vector data, which is usually the result of an NLP model (Bag of Words, Word2Vec, GloVe, etc). The approximate distance between vector embeddings is often computed with a cosine-based algorithm.

Vector Search allows for the discovery of approximations based on the relative distance between data that has been "vectorized" or written as arrays of numbers. This vectorized data is known as a "vector embedding" and is usually the result of a natural language processing (NLP) model such as Bag of Words, Word2Vec, or GloVe. The approximate distance between vector embeddings is often computed with a cosine-based algorithm.

Common Vector Search algorithms:

  • Approximate Nearest Neighbor (ANN)
  • Dot Product
  • K Nearest Neighbor (KNN)

Databases with Vector Search capability:

4 questions
2
votes
1 answer

How to INSERT a vector into Cassandra with Java?

I'm having trouble mapping a Java Vector type to my Cassandra table (Astra DB) in Java. The idea is to query by an ANN with Vector Search to return movie recommendations. Here is my table definition: CREATE TABLE movies ( movie_id INT PRIMARY…
Aaron
  • 55,518
  • 11
  • 116
  • 132
1
vote
1 answer

How to use a vector database to find matches between users?

I have an app where users can sign up and fill out a profile. This profile consists of 16 questions that can be answered using a slider. Each "answer" for a question can be between -3 and 3 (or 0 and 7). A user should be able to find similar users…
Andre Zimpel
  • 2,323
  • 4
  • 27
  • 42
1
vote
1 answer

'Vector Search' not working in Elastic Search version 8.9.0

I'm trying to use the 'Vector Search' feature of elastic search which is available from version 8.0. I'm using the latest version 8.9.0, but I'm getting the error: unknown field [vector_search] The query: { "query": { "vector_search": { …
Apoorva
  • 75
  • 6
0
votes
1 answer

How are the results of a Cassandra Vector Search sorted?

I have a table of movies in Cassandra (hosted on Astra DB), with a lone primary key of movie_id. There are several columns, but for my vector search I really only care about the title. The movie_vector column has a storage attached index (SAI) on…
Aaron
  • 55,518
  • 11
  • 116
  • 132