Good day, I have a project with elasticsearch and tire gem. I have a facet, that returns me letters.
facet "some" do
terms :letter, :order => 'term', :size => 99999
facet_filter :term, id: id
end
I have a output of search query like
{
"_index": "some",
"_type": "some",
"_id": "210",
"_score": 1,
"_source": {
"id": 1,
"letter": "p"
}
}
And many more other records. It's working nearly ok, but if letter is 'a', facet doesn't want to return it to me. I think, it pushes it to "missing".
"facets": {
"fac": {
"_type": "terms",
"missing": 27,
"total": 261,
"other": 0,
"terms": [
Sounds like a magic. Where can be the problem? And how can I look through missing records? (I'm using Sense extension to work with ES faster)
letter
field has astop
filter on it which is removing the word"a"
? – Shadwellstandard
orsnowball
) – Shadwell