Index Types
Vector indexing capabilities of PulsejetDB.
Pulsejet has 7 types of indexes. These indexes has different characteristics and optimizations based on different input.
Index Types
FlatL2
- Flat Index with L2 distance calculation- It is exact search with L2 (Euclidean Distance).
FlatIP
- Flat Index with Cosine Similarity (Inner Product) distance- It is exact search with Inner Product
HNSW
- Hierarchical Navigable Small WorldsIVFFlat
- Inverted File Index - FlatIVFScalar
- Inverted File Index - ScalarIVFPQ
- Inverted File Index - Product QuantizedOPQPQ
- Optimized PQ chained with Flat Product Quantization
How to select my index type?
Below you can find how to select which index and their general starting requirements.
Whatever your selection will be (unless you don’t disable optimizer) your indexes will optimized to better indexes through time by Pulsejet (with given constraints.)
Learn more about Optimizer Structure.
First, you can use FlatL2
index at collection creation with:
☝️ Welcome to the content that you can only see inside the first Tab.
First, you can use FlatL2
index at collection creation with:
☝️ Welcome to the content that you can only see inside the first Tab.
First, you can use FlatIP
index at collection creation with:
✌️ Here’s content that’s only inside the second Tab.
First, you can use HNSW
index at collection creation with:
💪 Here’s content that’s only inside the third Tab.
First, you can use IVFFlat
index at collection creation with:
💪 Here’s content that’s only inside the third Tab.
First, you can use IVFScalar
index at collection creation with:
💪 Here’s content that’s only inside the third Tab.
First, you can use IVFPQ
index at collection creation with:
💪 Here’s content that’s only inside the third Tab.
First, you can use OPQPQ
index at collection creation with:
💪 Here’s content that’s only inside the third Tab.
Was this page helpful?