0
我需要在窩1.7與數值加rangerfilter,使用範圍與數值窩1.7
但是類定義GREATERTHAN用繩子
namespace Nest
{
public class RangeFilter : PlainFilter, IRangeFilter, IFieldNameFilter, IFilter
{
public RangeFilter();
public RangeExecution? Execution { get; set; }
public PropertyPathMarker Field { get; set; }
public string Format { get; set; }
public string GreaterThan { get; set; }
public string GreaterThanOrEqualTo { get; set; }
public string LowerThan { get; set; }
public string LowerThanOrEqualTo { get; set; }
public string TimeZone { get; set; }
protected internal override void WrapInContainer(IFilterContainer container);
}
}
所以我的查詢是
{
"range": {
"NbAnnonce": {
"gt": "0"
}
,而不是
{
"range": {
"NbAnnonce": {
"gt": 0.0
}
我該如何解決這個問題?