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 .
Ivan
(Ivan Brusic)
May 24, 2013, 3:58am
2
The term filter is what you are looking for:
Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.
--
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 .