apache / apache/lucene

FaissKnnVectorsFormat byte vectors support

Open
#16,067 0 comments 0 reactions 0 assignees View on GitHub
type:enhancement
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

now FaissKnnVectorsFormat doesn’t support KnnByteVectorField. Because of this, a few tests in TestFaissKnnVectorsFormat are currently disabled.

Faiss only works with float32 vectors. It doesn’t have a native byte vector type like Lucene does.

Contributor guide

Open the contributing guide

Research direction

Start with FaissKnnVectorsFormat and the disabled tests in TestFaissKnnVectorsFormat. Read the existing float32-vector handling and inspect what the disabled KnnByteVectorField cases expect, keeping in mind that Faiss has no native byte vector type. Done means byte-vector support is implemented and the relevant tests can be enabled and pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.