This line causes an exception to be thrown if the value passed to a RangeFilterValue does not fit in a 32-bit integer.
using ManticoreSearch.Api;
using ManticoreSearch.Model;
public static class Program
{
public static void Main(string[] args)
{
var searchAPi = new SearchApi();
var filters = new BoolFilter(must:
[
new RangeFilter("id", gt: new RangeFilterValue(111111111111L))
]);
var searchReq = new SearchRequest("messages")
{
AttrFilter = filters
};
searchAPi.Search(searchReq);
}
}
This line causes an exception to be thrown if the value passed to a
RangeFilterValue
does not fit in a 32-bit integer.