Method TermSet
- Namespace
- TantivyDotNet
- Assembly
- TantivyDotNet.dll
TermSet(string, IEnumerable<string>)
Matches documents whose field contains any of values
exactly. Faster than an OR of many Term(string, string) queries; all matches
score the same. Values aren't analyzed.
public static TermSetQuery TermSet(string field, IEnumerable<string> values)
Parameters
fieldstringvaluesIEnumerable<string>
Returns
TermSet(string, IEnumerable<ulong>)
Matches documents whose field contains any of values
exactly. Faster than an OR of many Term(string, string) queries; all matches
score the same. Values aren't analyzed.
public static TermSetQuery TermSet(string field, IEnumerable<ulong> values)
Parameters
fieldstringvaluesIEnumerable<ulong>
Returns
TermSet(string, IEnumerable<long>)
Matches documents whose field contains any of values
exactly. Faster than an OR of many Term(string, string) queries; all matches
score the same. Values aren't analyzed.
public static TermSetQuery TermSet(string field, IEnumerable<long> values)
Parameters
fieldstringvaluesIEnumerable<long>
Returns
TermSet(string, IEnumerable<IPAddress>)
Matches documents whose field contains any of values
exactly. Faster than an OR of many Term(string, string) queries; all matches
score the same. Values aren't analyzed.
public static TermSetQuery TermSet(string field, IEnumerable<IPAddress> values)
Parameters
fieldstringvaluesIEnumerable<IPAddress>