Package org.codelibs.fess.crawler.util
Class FessCrawlerConfig
java.lang.Object
org.codelibs.fess.crawler.util.OpenSearchCrawlerConfig
org.codelibs.fess.crawler.util.FessCrawlerConfig
public class FessCrawlerConfig
extends org.codelibs.fess.crawler.util.OpenSearchCrawlerConfig
Fess-specific crawler configuration that extends OpenSearchCrawlerConfig.
This class provides configuration settings for the Fess crawler including
index names, shard counts, and replica counts for queue, data, and filter indices.
-
Field Summary
Fields inherited from class org.codelibs.fess.crawler.util.OpenSearchCrawlerConfig
dataIndex, dataReplicas, dataShards, filterIndex, filterReplicas, filterShards, queueIndex, queueReplicas, queueShards -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the name of the data index for the crawler.intGets the number of replicas for the data index.intGets the number of shards for the data index.Gets the name of the filter index for the crawler.intGets the number of replicas for the filter index.intGets the number of shards for the filter index.Gets the name of the queue index for the crawler.intGets the number of replicas for the queue index.intGets the number of shards for the queue index.Methods inherited from class org.codelibs.fess.crawler.util.OpenSearchCrawlerConfig
setDataIndex, setDataReplicas, setDataShards, setFilterIndex, setFilterReplicas, setFilterShards, setQueueIndex, setQueueReplicas, setQueueShards
-
Constructor Details
-
FessCrawlerConfig
public FessCrawlerConfig()Default constructor.
-
-
Method Details
-
getQueueIndex
Gets the name of the queue index for the crawler.- Overrides:
getQueueIndexin classorg.codelibs.fess.crawler.util.OpenSearchCrawlerConfig- Returns:
- the queue index name
-
getDataIndex
Gets the name of the data index for the crawler.- Overrides:
getDataIndexin classorg.codelibs.fess.crawler.util.OpenSearchCrawlerConfig- Returns:
- the data index name
-
getFilterIndex
Gets the name of the filter index for the crawler.- Overrides:
getFilterIndexin classorg.codelibs.fess.crawler.util.OpenSearchCrawlerConfig- Returns:
- the filter index name
-
getQueueShards
public int getQueueShards()Gets the number of shards for the queue index.- Overrides:
getQueueShardsin classorg.codelibs.fess.crawler.util.OpenSearchCrawlerConfig- Returns:
- the number of queue shards
-
getDataShards
public int getDataShards()Gets the number of shards for the data index.- Overrides:
getDataShardsin classorg.codelibs.fess.crawler.util.OpenSearchCrawlerConfig- Returns:
- the number of data shards
-
getFilterShards
public int getFilterShards()Gets the number of shards for the filter index.- Overrides:
getFilterShardsin classorg.codelibs.fess.crawler.util.OpenSearchCrawlerConfig- Returns:
- the number of filter shards
-
getQueueReplicas
public int getQueueReplicas()Gets the number of replicas for the queue index.- Overrides:
getQueueReplicasin classorg.codelibs.fess.crawler.util.OpenSearchCrawlerConfig- Returns:
- the number of queue replicas
-
getDataReplicas
public int getDataReplicas()Gets the number of replicas for the data index.- Overrides:
getDataReplicasin classorg.codelibs.fess.crawler.util.OpenSearchCrawlerConfig- Returns:
- the number of data replicas
-
getFilterReplicas
public int getFilterReplicas()Gets the number of replicas for the filter index.- Overrides:
getFilterReplicasin classorg.codelibs.fess.crawler.util.OpenSearchCrawlerConfig- Returns:
- the number of filter replicas
-