com.yelp.nrtsearch.server.grpc.IndexLiveSettingsOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of clientlib Show documentation
Show all versions of clientlib Show documentation
GRPC Clientlib for nrtSearch
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: yelp/nrtsearch/luceneserver.proto
// Protobuf Java Version: 3.25.3
package com.yelp.nrtsearch.server.grpc;
public interface IndexLiveSettingsOrBuilder extends
// @@protoc_insertion_point(interface_extends:luceneserver.IndexLiveSettings)
com.google.protobuf.MessageOrBuilder {
/**
*
* Longest time to wait before reopening IndexSearcher (i.e., periodic background reopen), default: 1.0
*
*
* .google.protobuf.DoubleValue maxRefreshSec = 1;
* @return Whether the maxRefreshSec field is set.
*/
boolean hasMaxRefreshSec();
/**
*
* Longest time to wait before reopening IndexSearcher (i.e., periodic background reopen), default: 1.0
*
*
* .google.protobuf.DoubleValue maxRefreshSec = 1;
* @return The maxRefreshSec.
*/
com.google.protobuf.DoubleValue getMaxRefreshSec();
/**
*
* Longest time to wait before reopening IndexSearcher (i.e., periodic background reopen), default: 1.0
*
*
* .google.protobuf.DoubleValue maxRefreshSec = 1;
*/
com.google.protobuf.DoubleValueOrBuilder getMaxRefreshSecOrBuilder();
/**
*
* Shortest time to wait before reopening IndexSearcher (i.e., when a search is waiting for a specific indexGen), default: 0.05
*
*
* .google.protobuf.DoubleValue minRefreshSec = 2;
* @return Whether the minRefreshSec field is set.
*/
boolean hasMinRefreshSec();
/**
*
* Shortest time to wait before reopening IndexSearcher (i.e., when a search is waiting for a specific indexGen), default: 0.05
*
*
* .google.protobuf.DoubleValue minRefreshSec = 2;
* @return The minRefreshSec.
*/
com.google.protobuf.DoubleValue getMinRefreshSec();
/**
*
* Shortest time to wait before reopening IndexSearcher (i.e., when a search is waiting for a specific indexGen), default: 0.05
*
*
* .google.protobuf.DoubleValue minRefreshSec = 2;
*/
com.google.protobuf.DoubleValueOrBuilder getMinRefreshSecOrBuilder();
/**
*
* Non-current searchers older than this are pruned, default: 60.0
*
*
* .google.protobuf.DoubleValue maxSearcherAgeSec = 3;
* @return Whether the maxSearcherAgeSec field is set.
*/
boolean hasMaxSearcherAgeSec();
/**
*
* Non-current searchers older than this are pruned, default: 60.0
*
*
* .google.protobuf.DoubleValue maxSearcherAgeSec = 3;
* @return The maxSearcherAgeSec.
*/
com.google.protobuf.DoubleValue getMaxSearcherAgeSec();
/**
*
* Non-current searchers older than this are pruned, default: 60.0
*
*
* .google.protobuf.DoubleValue maxSearcherAgeSec = 3;
*/
com.google.protobuf.DoubleValueOrBuilder getMaxSearcherAgeSecOrBuilder();
/**
*
* Size (in MB) of IndexWriter's RAM buffer, default: 16.0
*
*
* .google.protobuf.DoubleValue indexRamBufferSizeMB = 4;
* @return Whether the indexRamBufferSizeMB field is set.
*/
boolean hasIndexRamBufferSizeMB();
/**
*
* Size (in MB) of IndexWriter's RAM buffer, default: 16.0
*
*
* .google.protobuf.DoubleValue indexRamBufferSizeMB = 4;
* @return The indexRamBufferSizeMB.
*/
com.google.protobuf.DoubleValue getIndexRamBufferSizeMB();
/**
*
* Size (in MB) of IndexWriter's RAM buffer, default: 16.0
*
*
* .google.protobuf.DoubleValue indexRamBufferSizeMB = 4;
*/
com.google.protobuf.DoubleValueOrBuilder getIndexRamBufferSizeMBOrBuilder();
/**
*
* Max number of documents to add at a time, default: 100
*
*
* .google.protobuf.Int32Value addDocumentsMaxBufferLen = 5;
* @return Whether the addDocumentsMaxBufferLen field is set.
*/
boolean hasAddDocumentsMaxBufferLen();
/**
*
* Max number of documents to add at a time, default: 100
*
*
* .google.protobuf.Int32Value addDocumentsMaxBufferLen = 5;
* @return The addDocumentsMaxBufferLen.
*/
com.google.protobuf.Int32Value getAddDocumentsMaxBufferLen();
/**
*
* Max number of documents to add at a time, default: 100
*
*
* .google.protobuf.Int32Value addDocumentsMaxBufferLen = 5;
*/
com.google.protobuf.Int32ValueOrBuilder getAddDocumentsMaxBufferLenOrBuilder();
/**
*
* Maximum number of documents allowed in a parallel search slice, default: 250,000
*
*
* .google.protobuf.Int32Value sliceMaxDocs = 6;
* @return Whether the sliceMaxDocs field is set.
*/
boolean hasSliceMaxDocs();
/**
*
* Maximum number of documents allowed in a parallel search slice, default: 250,000
*
*
* .google.protobuf.Int32Value sliceMaxDocs = 6;
* @return The sliceMaxDocs.
*/
com.google.protobuf.Int32Value getSliceMaxDocs();
/**
*
* Maximum number of documents allowed in a parallel search slice, default: 250,000
*
*
* .google.protobuf.Int32Value sliceMaxDocs = 6;
*/
com.google.protobuf.Int32ValueOrBuilder getSliceMaxDocsOrBuilder();
/**
*
* Maximum number of segments allowed in a parallel search slice, default: 5
*
*
* .google.protobuf.Int32Value sliceMaxSegments = 7;
* @return Whether the sliceMaxSegments field is set.
*/
boolean hasSliceMaxSegments();
/**
*
* Maximum number of segments allowed in a parallel search slice, default: 5
*
*
* .google.protobuf.Int32Value sliceMaxSegments = 7;
* @return The sliceMaxSegments.
*/
com.google.protobuf.Int32Value getSliceMaxSegments();
/**
*
* Maximum number of segments allowed in a parallel search slice, default: 5
*
*
* .google.protobuf.Int32Value sliceMaxSegments = 7;
*/
com.google.protobuf.Int32ValueOrBuilder getSliceMaxSegmentsOrBuilder();
/**
*
* Number of virtual shards to use for this index, default: 1
*
*
* .google.protobuf.Int32Value virtualShards = 8;
* @return Whether the virtualShards field is set.
*/
boolean hasVirtualShards();
/**
*
* Number of virtual shards to use for this index, default: 1
*
*
* .google.protobuf.Int32Value virtualShards = 8;
* @return The virtualShards.
*/
com.google.protobuf.Int32Value getVirtualShards();
/**
*
* Number of virtual shards to use for this index, default: 1
*
*
* .google.protobuf.Int32Value virtualShards = 8;
*/
com.google.protobuf.Int32ValueOrBuilder getVirtualShardsOrBuilder();
/**
*
* Maximum sized segment to produce during normal merging, default: 5GB
*
*
* .google.protobuf.Int32Value maxMergedSegmentMB = 9;
* @return Whether the maxMergedSegmentMB field is set.
*/
boolean hasMaxMergedSegmentMB();
/**
*
* Maximum sized segment to produce during normal merging, default: 5GB
*
*
* .google.protobuf.Int32Value maxMergedSegmentMB = 9;
* @return The maxMergedSegmentMB.
*/
com.google.protobuf.Int32Value getMaxMergedSegmentMB();
/**
*
* Maximum sized segment to produce during normal merging, default: 5GB
*
*
* .google.protobuf.Int32Value maxMergedSegmentMB = 9;
*/
com.google.protobuf.Int32ValueOrBuilder getMaxMergedSegmentMBOrBuilder();
/**
*
* Number of segments per tier used by TieredMergePolicy, default: 10
*
*
* .google.protobuf.Int32Value segmentsPerTier = 10;
* @return Whether the segmentsPerTier field is set.
*/
boolean hasSegmentsPerTier();
/**
*
* Number of segments per tier used by TieredMergePolicy, default: 10
*
*
* .google.protobuf.Int32Value segmentsPerTier = 10;
* @return The segmentsPerTier.
*/
com.google.protobuf.Int32Value getSegmentsPerTier();
/**
*
* Number of segments per tier used by TieredMergePolicy, default: 10
*
*
* .google.protobuf.Int32Value segmentsPerTier = 10;
*/
com.google.protobuf.Int32ValueOrBuilder getSegmentsPerTierOrBuilder();
/**
*
* Timeout value to used when not specified in the search request, or 0 for no timeout, default: 0
*
*
* .google.protobuf.DoubleValue defaultSearchTimeoutSec = 11;
* @return Whether the defaultSearchTimeoutSec field is set.
*/
boolean hasDefaultSearchTimeoutSec();
/**
*
* Timeout value to used when not specified in the search request, or 0 for no timeout, default: 0
*
*
* .google.protobuf.DoubleValue defaultSearchTimeoutSec = 11;
* @return The defaultSearchTimeoutSec.
*/
com.google.protobuf.DoubleValue getDefaultSearchTimeoutSec();
/**
*
* Timeout value to used when not specified in the search request, or 0 for no timeout, default: 0
*
*
* .google.protobuf.DoubleValue defaultSearchTimeoutSec = 11;
*/
com.google.protobuf.DoubleValueOrBuilder getDefaultSearchTimeoutSecOrBuilder();
/**
*
* Timeout check every value to use when not specified in the search request, or 0 for none, default: 0
*
*
* .google.protobuf.Int32Value defaultSearchTimeoutCheckEvery = 12;
* @return Whether the defaultSearchTimeoutCheckEvery field is set.
*/
boolean hasDefaultSearchTimeoutCheckEvery();
/**
*
* Timeout check every value to use when not specified in the search request, or 0 for none, default: 0
*
*
* .google.protobuf.Int32Value defaultSearchTimeoutCheckEvery = 12;
* @return The defaultSearchTimeoutCheckEvery.
*/
com.google.protobuf.Int32Value getDefaultSearchTimeoutCheckEvery();
/**
*
* Timeout check every value to use when not specified in the search request, or 0 for none, default: 0
*
*
* .google.protobuf.Int32Value defaultSearchTimeoutCheckEvery = 12;
*/
com.google.protobuf.Int32ValueOrBuilder getDefaultSearchTimeoutCheckEveryOrBuilder();
/**
*
* Terminate after value to use when not specified in the search request, or 0 for none, default: 0
*
*
* .google.protobuf.Int32Value defaultTerminateAfter = 13;
* @return Whether the defaultTerminateAfter field is set.
*/
boolean hasDefaultTerminateAfter();
/**
*
* Terminate after value to use when not specified in the search request, or 0 for none, default: 0
*
*
* .google.protobuf.Int32Value defaultTerminateAfter = 13;
* @return The defaultTerminateAfter.
*/
com.google.protobuf.Int32Value getDefaultTerminateAfter();
/**
*
* Terminate after value to use when not specified in the search request, or 0 for none, default: 0
*
*
* .google.protobuf.Int32Value defaultTerminateAfter = 13;
*/
com.google.protobuf.Int32ValueOrBuilder getDefaultTerminateAfterOrBuilder();
/**
*
* Merge precopy would be stopped after this time, or 0 for no checks, default: 0
*
*
* .google.protobuf.UInt64Value maxMergePreCopyDurationSec = 14;
* @return Whether the maxMergePreCopyDurationSec field is set.
*/
boolean hasMaxMergePreCopyDurationSec();
/**
*
* Merge precopy would be stopped after this time, or 0 for no checks, default: 0
*
*
* .google.protobuf.UInt64Value maxMergePreCopyDurationSec = 14;
* @return The maxMergePreCopyDurationSec.
*/
com.google.protobuf.UInt64Value getMaxMergePreCopyDurationSec();
/**
*
* Merge precopy would be stopped after this time, or 0 for no checks, default: 0
*
*
* .google.protobuf.UInt64Value maxMergePreCopyDurationSec = 14;
*/
com.google.protobuf.UInt64ValueOrBuilder getMaxMergePreCopyDurationSecOrBuilder();
/**
*
* Collect and publish additional index metrics, which may be more expensive in terms of volume, memory and/or compute, default: false
*
*
* .google.protobuf.BoolValue verboseMetrics = 15;
* @return Whether the verboseMetrics field is set.
*/
boolean hasVerboseMetrics();
/**
*
* Collect and publish additional index metrics, which may be more expensive in terms of volume, memory and/or compute, default: false
*
*
* .google.protobuf.BoolValue verboseMetrics = 15;
* @return The verboseMetrics.
*/
com.google.protobuf.BoolValue getVerboseMetrics();
/**
*
* Collect and publish additional index metrics, which may be more expensive in terms of volume, memory and/or compute, default: false
*
*
* .google.protobuf.BoolValue verboseMetrics = 15;
*/
com.google.protobuf.BoolValueOrBuilder getVerboseMetricsOrBuilder();
}