KnowledgeSourceResultsProcessing Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. search. documents. indexes. models. KnowledgeSourceResultsProcessing
- com.
- com.
public final class KnowledgeSourceResultsProcessing
extends ExpandableStringEnum<KnowledgeSourceResultsProcessing>
Controls whether a knowledge source's results are reranked.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Knowledge |
NONE
Results from this knowledge source bypass reranking and preserve their underlying order. |
|
static final
Knowledge |
RERANK
Results from this knowledge source go through the reranking pipeline. |
Constructor Summary
| Constructor | Description |
|---|---|
| KnowledgeSourceResultsProcessing() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Knowledge |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Knowledge |
fromString(String name)
Creates or finds a Knowledge |
|
static
Collection<Knowledge |
values()
Gets known Knowledge |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
NONE
public static final KnowledgeSourceResultsProcessing NONE
Results from this knowledge source bypass reranking and preserve their underlying order.
RERANK
public static final KnowledgeSourceResultsProcessing RERANK
Results from this knowledge source go through the reranking pipeline. This is the default behavior.
Constructor Details
KnowledgeSourceResultsProcessing
@Deprecated
public KnowledgeSourceResultsProcessing()
Deprecated
Creates a new instance of KnowledgeSourceResultsProcessing value.
Method Details
fromString
public static KnowledgeSourceResultsProcessing fromString(String name)
Creates or finds a KnowledgeSourceResultsProcessing from its string representation.
Parameters:
Returns:
values
public static Collection<KnowledgeSourceResultsProcessing> values()
Gets known KnowledgeSourceResultsProcessing values.
Returns: