Constructor TermsFilter
TermsFilter(IList<Term>)
Creates a new TermsFilter from the given list. The list can contain duplicate terms and multiple fields.
Declaration
public TermsFilter(IList<Term> terms)
Parameters
Type | Name | Description |
---|---|---|
IList<Term> | terms |
TermsFilter(String, IList<BytesRef>)
Creates a new TermsFilter from the given BytesRef list for a single field.
Declaration
public TermsFilter(string field, IList<BytesRef> terms)
Parameters
Type | Name | Description |
---|---|---|
System.String | field | |
IList<BytesRef> | terms |
TermsFilter(String, BytesRef[])
Creates a new TermsFilter from the given BytesRef array for a single field.
Declaration
public TermsFilter(string field, params BytesRef[] terms)
Parameters
Type | Name | Description |
---|---|---|
System.String | field | |
BytesRef[] | terms |
TermsFilter(Term[])
Creates a new TermsFilter from the given array. The array can contain duplicate terms and multiple fields.
Declaration
public TermsFilter(params Term[] terms)
Parameters
Type | Name | Description |
---|---|---|
Term[] | terms |