No boolean field value translation in facet results

Hey everybody,

if you have a boolean field in your document and search for the
document you get the field value returned as true or false - all good.
In a term facet though, you get the value returned as "T" or "F" - The
internal translation to true/false is not happening there. Is this a
bug or on purpose?

I am not using any special mapping, only the dynamicly created one:

test: {
things: {
properties: {
foo: { type: boolean }
}
}
}

Thanks for any help.

Cheers,
Lennart

--

if you have a boolean field in your document and search for the
document you get the field value returned as true or false - all good.
In a term facet though, you get the value returned as "T" or "F" - The
internal translation to true/false is not happening there.

Can you submit an issue at GitHub with the demonstration code?

Karel

--

On Tuesday, December 4, 2012 12:40:04 PM UTC+1, Karel Minařík wrote:

if you have a boolean field in your document and search for the

document you get the field value returned as true or false - all good.
In a term facet though, you get the value returned as "T" or "F" - The
internal translation to true/false is not happening there.

Can you submit an issue at GitHub with the demonstration code?

for reference: Facet value of boolean mapped fields should be "true" or "false" · Issue #2462 · elastic/elasticsearch · GitHub

--