com.yelp.nrtsearch.server.grpc.SearcherOrBuilder 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 SearcherOrBuilder extends
// @@protoc_insertion_point(interface_extends:luceneserver.Searcher)
com.google.protobuf.MessageOrBuilder {
/**
*
* the version recorded in the commit that the reader opened.
*This version is advanced every time a change is made with IndexWriter.
*
*
* int64 version = 1;
* @return The version.
*/
long getVersion();
/**
*
*total number of docs in this index
*
*
* int32 numDocs = 2;
* @return The numDocs.
*/
int getNumDocs();
/**
*
*string representation of segments
*
*
* string segments = 3;
* @return The segments.
*/
java.lang.String getSegments();
/**
*
*string representation of segments
*
*
* string segments = 3;
* @return The bytes for segments.
*/
com.google.protobuf.ByteString
getSegmentsBytes();
/**
*
*how much time has passed since this searcher was the current (live) searcher
*
*
* double staleAgeSeconds = 4;
* @return The staleAgeSeconds.
*/
double getStaleAgeSeconds();
/**
*
* number of segments, filled only if Searcher has StandardDirectoryReader
*
*
* int32 numSegments = 5;
* @return The numSegments.
*/
int getNumSegments();
}