OpenSearch.Client by OpenSearch and contributors

<PackageReference Include="OpenSearch.Client" Version="1.6.0" />

.NET API 3,588,216 bytes

 IPercolateQuery

public interface IPercolateQuery : IQuery
The percolate query can be used to match queries stored in an index
object Document { get; set; }

The source of the document to percolate.

IEnumerable<object> Documents { get; set; }

The source of the documents to percolate. Like Document but allows multiple documents to be percolated.

Field Field { get; set; }

The name of the field containing the percolated query on an existing document. This is a required parameter.

Id Id { get; set; }

The id of the document to fetch for percolation. Can be specified to percolate an existing document instead of providing Document

IndexName Index { get; set; }

The index the document resides in for percolation. Can be specified to percolate an existing document instead of providing Document

string Preference { get; set; }

Preference to be used to fetch the document to percolate. Can be specified to percolate an existing document instead of providing Document

Routing Routing { get; set; }

Routing to be used to fetch the document to percolate. Can be specified to percolate an existing document instead of providing Document

long? Version { get; set; }

The expected version of the document to be fetched for percolation. Can be specified to percolate an existing document instead of providing Document