VectorFilterMode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. search. documents. models. VectorFilterMode
- com.
- com.
public final class VectorFilterMode
extends ExpandableStringEnum<VectorFilterMode>
Determines whether or not filters are applied before or after the vector search is performed.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Vector |
POST_FILTER
The filter will be applied after the candidate set of vector results is returned. |
static final
Vector |
PRE_FILTER
The filter will be applied before the search query. |
Constructor Summary
Constructor | Description |
---|---|
VectorFilterMode() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Vector |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Vector |
fromString(String name)
Creates or finds a Vector |
static
Collection<Vector |
values()
Gets known Vector |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
POST_FILTER
public static final VectorFilterMode POST_FILTER
The filter will be applied after the candidate set of vector results is returned. Depending on the filter selectivity, this can result in fewer results than requested by the parameter 'k'.
PRE_FILTER
public static final VectorFilterMode PRE_FILTER
The filter will be applied before the search query.
Constructor Details
VectorFilterMode
@Deprecated
public VectorFilterMode()
Deprecated
Creates a new instance of VectorFilterMode value.
Method Details
fromString
public static VectorFilterMode fromString(String name)
Creates or finds a VectorFilterMode from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known VectorFilterMode values.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for