# Advanced Settings - ignoreFilterIfFieldNotInIndex doesn't work on documents in the same index

**URL:** <https://discuss.elastic.co/t/advanced-settings-ignorefilteriffieldnotinindex-doesnt-work-on-documents-in-the-same-index/180340>\
**Category:** Kibana\
**Created:** [May 9, 2019, 10:55am UTC](https://discuss.elastic.co/t/advanced-settings-ignorefilteriffieldnotinindex-doesnt-work-on-documents-in-the-same-index/180340 "2019-05-09T10:55:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![antonio\_addivinola](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/antonio_addivinola/32/45644_2.png) [@antonio\_addivinola](https://discuss.elastic.co/u/antonio_addivinola)\
**Post date:** [May 9, 2019, 10:55am UTC](https://discuss.elastic.co/t/advanced-settings-ignorefilteriffieldnotinindex-doesnt-work-on-documents-in-the-same-index/180340/1 "2019-05-09T10:55:18Z")

</div>

Hi,  
I have indexed some documents into one index. Every document has the same model:  
{  
"fieldA": "..",  
"fieldB": "..",  
...  
}  
I have created a visualization "Input Control" with two dropdown options list pointing only to **this one index**. First input control is defined on "fieldA" field, second input control is defined on "fieldB" field setting Parent control on fieldA.  
When the flag **courier:ignoreFilterIfFieldNotInIndex** is **disabled** (default in Kibana), the value selected from first menu (list of fieldA) filters data inside second menu (so i have a list of fieldB values comparing only in the documents having the selected value for fieldA). This is the correct behavior.  
But, if I enable **courier:ignoreFilterIfFieldNotInIndex** (switch to ON) and then select a value from first menu, no filter is applied and in the second menu I find all values for fieldB.  
Reading the documentation, the option ignoreFilterIfFieldNotInIndex set to true permits to skip filter from a field not existing in multiple index pattern, but on same index pattern this flag should have no effect.  
Here what reported in the documentation: "Set this property to `true` to skip filters that apply to fields that don’t exist in a visualization’s index. Useful when dashboards consist of visualizations from multiple index patterns."

Am I missing something or doing something wrong?  
Thank you very much for your support  
Regards,  
Antonio

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [May 9, 2019, 2:54pm UTC](https://discuss.elastic.co/t/advanced-settings-ignorefilteriffieldnotinindex-doesnt-work-on-documents-in-the-same-index/180340/2 "2019-05-09T14:54:48Z")

</div>

> Am I missing something or doing something wrong?

You are not missing anything or doing anything wrong. This is a bug.

I created [[input controls] fix courier:ignoreFilterIfFieldNotInIndex with chained controls by nreese · Pull Request #36369 · elastic/kibana · GitHub](https://github.com/elastic/kibana/pull/36369) to address the issue

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 6, 2019, 3:06pm UTC](https://discuss.elastic.co/t/advanced-settings-ignorefilteriffieldnotinindex-doesnt-work-on-documents-in-the-same-index/180340/3 "2019-06-06T15:06:57Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
