Class Ferret::Search::Filter
In: ext/r_search.c
Parent: Object

Summary

A Filter is used to filter query results. It is usually passed to one of Searcher‘s search methods however it can also be used inside a ConstantScoreQuery or a FilteredQuery. To implement your own Filter you must implement the methoed get_bitvector(index_reader) which returns a BitVector with set bits corresponding to documents that are allowed by this Filter.

TODO add support for user implemented Filter. TODO add example of user implemented Filter.

Methods

to_s  

Public Instance methods

Return a human readable string represting the Filter object that the method was called on.

[Validate]