Table of Contents

Public classSealed PrefixQuery

Namespace
Rowles.LeanLucene.Search.Queries
Assembly
Rowles.LeanLucene.dll

Matches all terms starting with a given prefix.

public sealed class PrefixQuery : Query, IEquatable<Query>
Inheritance
PrefixQuery
Inherited Members
Extension Methods

Constructors

Public constructor PrefixQuery(string, string)

Initialises a new PrefixQuery for the given field and prefix.

Properties

Public propertyRead-only Field

Gets the primary field this query targets.

Public propertyRead-only Prefix

Gets the prefix that all matched terms must start with.

Methods

Public method Equals(object?)

Determines whether the specified object is equal to the current object.

Public method GetHashCode()

Serves as the default hash function.