Is "value" a reserved field name?

(Wflanagan) #1

I have an index that has the field name "value" that is defined as in Integer, where I am trying to use an aggregation to determine its minimum value.

When I use 'min' or 'max' or 'stats' aggregation.. i always get a nil response back. If I take the same aggregation and change the field to ANOTHER integer field in the same index, I get results. Scripting is disabled.

Is "value" a reserved field name? If not, then why won't this work, but it does work with a different field name?

(Mark Walkom) #2

It's not, reserved names are usually prefixed with _.

What does your query look like?

(system) #3