xapian-core  2.0.0
Classes | Enumerations
collapser.h File Reference

Collapse documents with the same collapse key during the match. More...

#include "backends/documentinternal.h"
#include "msetcmp.h"
#include "omassert.h"
#include "api/result.h"
#include <unordered_map>
#include <vector>
+ Include dependency graph for collapser.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CollapseData
 Class tracking information for a given value of the collapse key. More...
 
class  Collapser
 The Collapser class tracks collapse keys and the documents they match. More...
 
class  CollapserLite
 Simpler version of Collapser used when merging MSet objects. More...
 

Enumerations

enum  collapse_result {
  EMPTY , NEW , ADD , REJECT ,
  REPLACE
}
 Enumeration reporting how a result will be handled by the Collapser. More...
 

Detailed Description

Collapse documents with the same collapse key during the match.

Definition in file collapser.h.

Enumeration Type Documentation

◆ collapse_result

Enumeration reporting how a result will be handled by the Collapser.

Enumerator
EMPTY 
NEW 
ADD 
REJECT 
REPLACE 

Definition at line 33 of file collapser.h.