MatchDecider filtering results based on whether document values are in a user-defined set.  
 More...
MatchDecider filtering results based on whether document values are in a user-defined set. 
◆ ValueSetMatchDecider()
  
  | 
        
          | Xapian::ValueSetMatchDecider::ValueSetMatchDecider | ( | Xapian::valueno | slot, |  
          |  |  | bool | inclusive_ |  
          |  | ) |  |  |  | inline | 
 
Construct a ValueSetMatchDecider. 
- Parameters
- 
  
    | slot | The value slot number to look in. |  | inclusive_ | If true, match decider accepts documents which have a value in the specified slot which is a member of the test set; if false, match decider accepts documents which do not have a value in the specified slot. |  
 
 
 
◆ add_value()
  
  | 
        
          | void Xapian::ValueSetMatchDecider::add_value | ( | const std::string & | value | ) |  |  | inline | 
 
Add a value to the test set. 
- Parameters
- 
  
    | value | The value to add to the test set. |  
 
 
 
◆ operator()()
  
  | 
        
          | bool Xapian::ValueSetMatchDecider::operator() | ( | const Xapian::Document & | doc | ) | const |  | virtual | 
 
Decide whether we want a particular document to be in the MSet. 
- Parameters
- 
  
  
- Returns
- true if the document is acceptable, or false if the document should be excluded from the MSet. 
Implements Xapian::MatchDecider.
 
 
◆ remove_value()
  
  | 
        
          | void Xapian::ValueSetMatchDecider::remove_value | ( | const std::string & | value | ) |  |  | inline | 
 
Remove a value from the test set. 
- Parameters
- 
  
    | value | The value to remove from the test set. |  
 
 
 
The documentation for this class was generated from the following file: