Class SearchQueryRequest
Inheritance
SearchQueryRequest
Implements
IBufferMessage
IMessage
Assembly: Couchbase.NetClient.dll
Syntax
public sealed class SearchQueryRequest : IMessage<SearchQueryRequest>, IEquatable<SearchQueryRequest>, IDeepCloneable<SearchQueryRequest>, IBufferMessage, IMessage
Constructors
|
Edit this page
View Source
SearchQueryRequest()
Declaration
public SearchQueryRequest()
|
Edit this page
View Source
SearchQueryRequest(SearchQueryRequest)
Declaration
public SearchQueryRequest(SearchQueryRequest other)
Parameters
Fields
|
Edit this page
View Source
BucketNameFieldNumber
Field number for the "bucket_name" field.
Declaration
public const int BucketNameFieldNumber = 15
Field Value
|
Edit this page
View Source
CollectionsFieldNumber
Field number for the "collections" field.
Declaration
public const int CollectionsFieldNumber = 12
Field Value
|
Edit this page
View Source
DisableScoringFieldNumber
Field number for the "disable_scoring" field.
Declaration
public const int DisableScoringFieldNumber = 11
Field Value
|
Edit this page
View Source
FacetsFieldNumber
Field number for the "facets" field.
Declaration
public const int FacetsFieldNumber = 14
Field Value
|
Edit this page
View Source
FieldsFieldNumber
Field number for the "fields" field.
Declaration
public const int FieldsFieldNumber = 9
Field Value
|
Edit this page
View Source
HighlightFieldsFieldNumber
Field number for the "highlight_fields" field.
Declaration
public const int HighlightFieldsFieldNumber = 8
Field Value
|
Edit this page
View Source
HighlightStyleFieldNumber
Field number for the "highlight_style" field.
Declaration
public const int HighlightStyleFieldNumber = 7
Field Value
|
Edit this page
View Source
IncludeExplanationFieldNumber
Field number for the "include_explanation" field.
Declaration
public const int IncludeExplanationFieldNumber = 6
Field Value
|
Edit this page
View Source
IncludeLocationsFieldNumber
Field number for the "include_locations" field.
Declaration
public const int IncludeLocationsFieldNumber = 13
Field Value
|
Edit this page
View Source
IndexNameFieldNumber
Field number for the "index_name" field.
Declaration
public const int IndexNameFieldNumber = 1
Field Value
|
Edit this page
View Source
LimitFieldNumber
Field number for the "limit" field.
Declaration
public const int LimitFieldNumber = 4
Field Value
|
Edit this page
View Source
QueryFieldNumber
Field number for the "query" field.
Declaration
public const int QueryFieldNumber = 2
Field Value
|
Edit this page
View Source
ScanConsistencyFieldNumber
Field number for the "scan_consistency" field.
Declaration
public const int ScanConsistencyFieldNumber = 3
Field Value
|
Edit this page
View Source
ScopeNameFieldNumber
Field number for the "scope_name" field.
Declaration
public const int ScopeNameFieldNumber = 16
Field Value
|
Edit this page
View Source
SkipFieldNumber
Field number for the "skip" field.
Declaration
public const int SkipFieldNumber = 5
Field Value
|
Edit this page
View Source
SortFieldNumber
Field number for the "sort" field.
Declaration
public const int SortFieldNumber = 10
Field Value
Properties
|
Edit this page
View Source
BucketName
Declaration
public string BucketName { get; set; }
Property Value
|
Edit this page
View Source
Collections
Declaration
public RepeatedField<string> Collections { get; }
Property Value
Type |
Description |
RepeatedField<string> |
|
|
Edit this page
View Source
Descriptor
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
Type |
Description |
MessageDescriptor |
|
|
Edit this page
View Source
DisableScoring
Declaration
public bool DisableScoring { get; set; }
Property Value
|
Edit this page
View Source
Facets
Declaration
public MapField<string, Facet> Facets { get; }
Property Value
|
Edit this page
View Source
Fields
Declaration
public RepeatedField<string> Fields { get; }
Property Value
Type |
Description |
RepeatedField<string> |
|
|
Edit this page
View Source
HasBucketName
Gets whether the "bucket_name" field is set
Declaration
public bool HasBucketName { get; }
Property Value
|
Edit this page
View Source
HasScopeName
Gets whether the "scope_name" field is set
Declaration
public bool HasScopeName { get; }
Property Value
|
Edit this page
View Source
HighlightFields
Declaration
public RepeatedField<string> HighlightFields { get; }
Property Value
Type |
Description |
RepeatedField<string> |
|
|
Edit this page
View Source
HighlightStyle
Declaration
public SearchQueryRequest.Types.HighlightStyle HighlightStyle { get; set; }
Property Value
|
Edit this page
View Source
IncludeExplanation
Declaration
public bool IncludeExplanation { get; set; }
Property Value
|
Edit this page
View Source
IncludeLocations
Declaration
public bool IncludeLocations { get; set; }
Property Value
|
Edit this page
View Source
IndexName
Declaration
public string IndexName { get; set; }
Property Value
|
Edit this page
View Source
Limit
Declaration
public uint Limit { get; set; }
Property Value
|
Edit this page
View Source
Parser
Declaration
public static MessageParser<SearchQueryRequest> Parser { get; }
Property Value
|
Edit this page
View Source
Query
Declaration
public Query Query { get; set; }
Property Value
|
Edit this page
View Source
ScanConsistency
Declaration
public SearchQueryRequest.Types.ScanConsistency ScanConsistency { get; set; }
Property Value
|
Edit this page
View Source
ScopeName
Declaration
public string ScopeName { get; set; }
Property Value
|
Edit this page
View Source
Skip
Declaration
public uint Skip { get; set; }
Property Value
|
Edit this page
View Source
Sort
Declaration
public RepeatedField<Sorting> Sort { get; }
Property Value
Type |
Description |
RepeatedField<Sorting> |
|
Methods
|
Edit this page
View Source
CalculateSize()
Calculates the size of this message in Protocol Buffer wire format, in bytes.
Declaration
public int CalculateSize()
Returns
Type |
Description |
int |
The number of bytes required to write this message
to a coded output stream.
|
|
Edit this page
View Source
ClearBucketName()
Clears the value of the "bucket_name" field
Declaration
public void ClearBucketName()
|
Edit this page
View Source
ClearScopeName()
Clears the value of the "scope_name" field
Declaration
public void ClearScopeName()
|
Edit this page
View Source
Clone()
Creates a deep clone of this object.
Declaration
public SearchQueryRequest Clone()
Returns
|
Edit this page
View Source
Equals(SearchQueryRequest)
Declaration
public bool Equals(SearchQueryRequest other)
Parameters
Returns
|
Edit this page
View Source
Equals(object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
object |
other |
|
Returns
Overrides
|
Edit this page
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
|
Edit this page
View Source
MergeFrom(SearchQueryRequest)
Merges the given message into this one.
Declaration
public void MergeFrom(SearchQueryRequest other)
Parameters
|
Edit this page
View Source
Merges the data from the specified coded input stream with the current message.
Declaration
public void MergeFrom(CodedInputStream input)
Parameters
Type |
Name |
Description |
CodedInputStream |
input |
|
|
Edit this page
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
|
Edit this page
View Source
WriteTo(CodedOutputStream)
Writes the data to the given coded output stream.
Declaration
public void WriteTo(CodedOutputStream output)
Parameters
Type |
Name |
Description |
CodedOutputStream |
output |
Coded output stream to write the data to. Must not be null.
|
Implements
Google.Protobuf.IMessage<T>
Google.Protobuf.IDeepCloneable<T>
Google.Protobuf.IBufferMessage
Google.Protobuf.IMessage