Skip to content

Commit

Permalink
HSEARCH-3879 Add pointers to the reference documentation for thread/i…
Browse files Browse the repository at this point in the history
…ndexing settings constants
  • Loading branch information
yrodiere authored and fax4ever committed Apr 3, 2020
1 parent 33365e0 commit 49efc18
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 0 deletions.
Expand Up @@ -233,6 +233,9 @@ private ElasticsearchBackendSettings() {
* or a string that can be parsed to such integer value.
* <p>
* Defaults to the number of processor cores available to the JVM on startup.
* <p>
* See the reference documentation, section "Elasticsearch backend - Threads",
* for more information about this setting and its implications.
*/
public static final String THREAD_POOL_SIZE = "thread_pool.size";

Expand Down
Expand Up @@ -50,6 +50,9 @@ private ElasticsearchIndexSettings() {
* or a string that can be parsed to such integer value.
* <p>
* Defaults to {@link Defaults#INDEXING_QUEUE_COUNT}.
* <p>
* See the reference documentation, section "Elasticsearch backend - Indexing",
* for more information about this setting and its implications.
*/
public static final String INDEXING_QUEUE_COUNT = INDEXING_PREFIX + IndexingRadicals.QUEUE_COUNT;

Expand All @@ -60,6 +63,9 @@ private ElasticsearchIndexSettings() {
* or a string that can be parsed to such integer value.
* <p>
* Defaults to {@link Defaults#INDEXING_QUEUE_SIZE}.
* <p>
* See the reference documentation, section "Elasticsearch backend - Indexing",
* for more information about this setting and its implications.
*/
public static final String INDEXING_QUEUE_SIZE = INDEXING_PREFIX + IndexingRadicals.QUEUE_SIZE;

Expand All @@ -70,6 +76,9 @@ private ElasticsearchIndexSettings() {
* or a string that can be parsed to such integer value.
* <p>
* Defaults to {@link Defaults#INDEXING_MAX_BULK_SIZE}.
* <p>
* See the reference documentation, section "Elasticsearch backend - Indexing",
* for more information about this setting and its implications.
*/
public static final String INDEXING_MAX_BULK_SIZE = INDEXING_PREFIX + IndexingRadicals.MAX_BULK_SIZE;

Expand Down
Expand Up @@ -121,6 +121,9 @@ private LuceneBackendSettings() {
* or a string that can be parsed to such integer value.
* <p>
* Defaults to the number of processor cores available to the JVM on startup.
* <p>
* See the reference documentation, section "Lucene backend - Threads",
* for more information about this setting and its implications.
*/
public static final String THREAD_POOL_SIZE = "thread_pool.size";

Expand Down
Expand Up @@ -139,6 +139,9 @@ private LuceneIndexSettings() {
* or a string that can be parsed to such integer value.
* <p>
* Defaults to {@link Defaults#INDEXING_QUEUE_COUNT}.
* <p>
* See the reference documentation, section "Lucene backend - Indexing",
* for more information about this setting and its implications.
*/
public static final String INDEXING_QUEUE_COUNT = INDEXING_PREFIX + IndexingRadicals.QUEUE_COUNT;

Expand All @@ -149,6 +152,9 @@ private LuceneIndexSettings() {
* or a string that can be parsed to such integer value.
* <p>
* Defaults to {@link Defaults#INDEXING_QUEUE_SIZE}.
* <p>
* See the reference documentation, section "Lucene backend - Indexing",
* for more information about this setting and its implications.
*/
public static final String INDEXING_QUEUE_SIZE = INDEXING_PREFIX + IndexingRadicals.QUEUE_SIZE;

Expand Down

0 comments on commit 49efc18

Please sign in to comment.