com.yelp.nrtsearch.server.grpc.LiveSettingsRequestOrBuilder 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 LiveSettingsRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:luceneserver.LiveSettingsRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* name of index whose liveSettings are to be updated.
*
*
* string indexName = 1;
* @return The indexName.
*/
java.lang.String getIndexName();
/**
*
* name of index whose liveSettings are to be updated.
*
*
* string indexName = 1;
* @return The bytes for indexName.
*/
com.google.protobuf.ByteString
getIndexNameBytes();
/**
*
*Longest time to wait before reopening IndexSearcher (i.e., periodic background reopen).
*
*
* double maxRefreshSec = 2;
* @return The maxRefreshSec.
*/
double getMaxRefreshSec();
/**
*
*Shortest time to wait before reopening IndexSearcher (i.e., when a search is waiting for a specific indexGen).
*
*
* double minRefreshSec = 3;
* @return The minRefreshSec.
*/
double getMinRefreshSec();
/**
*
*Non-current searchers older than this are pruned.
*
*
* double maxSearcherAgeSec = 4;
* @return The maxSearcherAgeSec.
*/
double getMaxSearcherAgeSec();
/**
*
*Size (in MB) of IndexWriter's RAM buffer.
*
*
* double indexRamBufferSizeMB = 5;
* @return The indexRamBufferSizeMB.
*/
double getIndexRamBufferSizeMB();
/**
*
*Max number of documents to add at a time.
*
*
* int32 addDocumentsMaxBufferLen = 6;
* @return The addDocumentsMaxBufferLen.
*/
int getAddDocumentsMaxBufferLen();
/**
*
*Maximum number of documents allowed in a parallel search slice.
*
*
* int32 sliceMaxDocs = 7;
* @return The sliceMaxDocs.
*/
int getSliceMaxDocs();
/**
*
*Maximum number of segments allowed in a parallel search slice.
*
*
* int32 sliceMaxSegments = 8;
* @return The sliceMaxSegments.
*/
int getSliceMaxSegments();
/**
*
*Number of virtual shards to use for this index.
*
*
* int32 virtualShards = 9;
* @return The virtualShards.
*/
int getVirtualShards();
/**
*
*Maximum sized segment to produce during normal merging
*
*
* int32 maxMergedSegmentMB = 10;
* @return The maxMergedSegmentMB.
*/
int getMaxMergedSegmentMB();
/**
*
*Number of segments per tier used by TieredMergePolicy
*
*
* int32 segmentsPerTier = 11;
* @return The segmentsPerTier.
*/
int getSegmentsPerTier();
/**
*
*Timeout value to used when not specified in the search request.
*
*
* double defaultSearchTimeoutSec = 12;
* @return The defaultSearchTimeoutSec.
*/
double getDefaultSearchTimeoutSec();
/**
*
*Timeout check every value to use when not specified in the search request.
*
*
* int32 defaultSearchTimeoutCheckEvery = 13;
* @return The defaultSearchTimeoutCheckEvery.
*/
int getDefaultSearchTimeoutCheckEvery();
/**
*
*Terminate after value to use when not specified in the search request.
*
*
* int32 defaultTerminateAfter = 14;
* @return The defaultTerminateAfter.
*/
int getDefaultTerminateAfter();
}