Which filter could be used on boolean field

Hi all,

I have created an index using wikipeida river, which possesses a mapping as
follows.

mappings: {
page: {
properties: {
title: {
type: string
}text: {
type: string
}disambiguation: {
type: boolean
}category: {
type: string
}stub: {
type: boolean
}link: {
type: string
}special: {
type: boolean
}redirect: {
type: boolean
}
}
}

As you may find, there are some boolean field.
Now I want to filter the documents with the "disambiguation" filter is
true, but I can't find which filter I can make use of.

Thanks for your help.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

The term filter is what you are looking for:

--
Ivan

On Thu, May 23, 2013 at 7:21 PM, Jingang Wang bitwjg@gmail.com wrote:

Hi all,

I have created an index using wikipeida river, which possesses a mapping
as follows.

mappings: {
page: {
properties: {
title: {
type: string
}text: {
type: string
}disambiguation: {
type: boolean
}category: {
type: string
}stub: {
type: boolean
}link: {
type: string
}special: {
type: boolean
}redirect: {
type: boolean
}
}
}

As you may find, there are some boolean field.
Now I want to filter the documents with the "disambiguation" filter is
true, but I can't find which filter I can make use of.

Thanks for your help.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.