Partilhar via


IndexProjectionMode Class

public final class IndexProjectionMode
extends ExpandableStringEnum<IndexProjectionMode>

Defines behavior of the index projections in relation to the rest of the indexer.

Field Summary

Modifier and Type Field and Description
static final IndexProjectionMode INCLUDE_INDEXING_PARENT_DOCUMENTS

The source document will be written into the indexer's target index.

static final IndexProjectionMode SKIP_INDEXING_PARENT_DOCUMENTS

The source document will be skipped from writing into the indexer's target index.

Constructor Summary

Constructor Description
IndexProjectionMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of IndexProjectionMode value.

Method Summary

Modifier and Type Method and Description
static IndexProjectionMode fromString(String name)

Creates or finds a IndexProjectionMode from its string representation.

static Collection<IndexProjectionMode> values()

Gets known IndexProjectionMode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

INCLUDE_INDEXING_PARENT_DOCUMENTS

public static final IndexProjectionMode INCLUDE_INDEXING_PARENT_DOCUMENTS

The source document will be written into the indexer's target index. This is the default pattern.

SKIP_INDEXING_PARENT_DOCUMENTS

public static final IndexProjectionMode SKIP_INDEXING_PARENT_DOCUMENTS

The source document will be skipped from writing into the indexer's target index.

Constructor Details

IndexProjectionMode

@Deprecated
public IndexProjectionMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of IndexProjectionMode value.

Method Details

fromString

public static IndexProjectionMode fromString(String name)

Creates or finds a IndexProjectionMode from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding IndexProjectionMode.

values

public static Collection values()

Gets known IndexProjectionMode values.

Returns:

known IndexProjectionMode values.

Applies to