I am in the process of upgrading NEST from 1.6.2 to 2.3.3. Getting type not found for FilterDescriptor, FilterContainer.
What are the equivalent types in NEST 2.3.3?
Thanks in advance.
UPDATE
Based on the response from @RussCam, here is what I got in 1.6.2
public static Func<FilterDescriptor<Property>, FilterContainer> AddressComponents(string address)
{
return filter => filter
.Query(q => q
.MultiMatch(multimatch => multimatch
.OnFields(
f => f.Address,
f => f.Address.Suffix("shingles"))
.Query(address)
.Type(TextQueryType.CrossFields)
.Operator(Operator.And)
)
);
}
to 2.3.3
public static Func<QueryContainerDescriptor<Property>, QueryContainer> AddressComponents(string address)
{
return q => q
.MultiMatch(multimatch => multimatch
.Fields(f => f
.Field(p => p.Address)
.Field(p => p.Address.Suffix("shingles")))
.Query(address)
.Type(TextQueryType.CrossFields)
.Operator(Operator.And)
);
}