How null data time is treated in gauss function

for example, I have following like function:

      "functions": [
          {"gauss":{"AvailableDate":{"scale":"120d","offset":"30d","decay":0.33}}}
      ],

if the AvailableDate is null in a document, how the ES handle it? just ignore the function or set it to max or min date time?

Lucene mostly operates under the assumption that all fields have a value. When indexing, if a field is missing for a document, often some "zero value" is put in place of the missing value. In the case of this should be the value 0, since internally a date is stored as epoch millis in a long.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.