karmi/tire — Issue #250: Filtering Terms with NOT
Author: matsko
Created: 2012-02-21 20:19:00+00:00
State: open

In the documentation provided I can't seem to find out how to create a filter that performs a not operation for a given term. I am aware that this can be included into the query block, but I would like to include it into the filter block for performance reasons.

On the ElasticSearch website there is a feature that does this, but I'm not sure if its in the Tire Gem code. Can you please explain how to do this:

filter_not :term, :id => some_id