Hi,

I'm trying to filtering two different indexes with the same filter, but one 
of the indexes doesn't have the field that I'm trying to filter:

"mappings":{  
 "user":{  
  "properties":{  
   "inactive":{  
    "type":"boolean",
    "index":"not_analyzed"
    }
   }
  }
 },
 "course":{
  "properties":{
  }
 }
}

Filtering:
"filter":{  
      "and":[  
         {  },
         {  
            "term":{  
               "inactive":false
            }
         }
      ]
   },

But only users is retrieved, how can I apply this filter just for user 
index.

I really appreciate any 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/9c5be39f-b1ab-4cf8-8b11-cca365cd228d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to