Class SimpleIndexConfig

All Implemented Interfaces:
Evolvable, PortableObject

public class SimpleIndexConfig extends IndexConfig<Object>
Configuration class for SIMPLE vector indexing.

Simple index uses standard Coherence index on a vector field, in order to avoid chunk and vector deserialization when performing similarity search.

Unlike HnswIndex and BinaryQuantIndex, simple index cannot be queried directly, and requires vector distance calculation to be performed for each document chunk in the store. That means that it will always provide the most accurate results, at the cost of performance.

Unless the store is fairly small, HnswIndex and BinaryQuantIndex are better options for most use cases, abd should be preferred.

Since:
25.09
Author:
Aleks Seovic 2025.06.28
See Also:
  • Field Details

    • TYPE

      public static final String TYPE
      The type of the index this configuration is for.
      See Also:
    • IMPLEMENTATION_VERSION

      public static final int IMPLEMENTATION_VERSION
      The implementation version for this class.

      This version is used by Coherence POF for class evolution support. Increment this value when making incompatible changes to the class structure.

      See Also:
  • Constructor Details

    • SimpleIndexConfig

      public SimpleIndexConfig()
      Constructs a new SimpleIndexConfig with default settings.

      Initializes the configuration with:

      • Index type: "SIMPLE"

  • Method Details