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

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

#include "backends/document.h"
#include "msetcmp.h"
#include "api/omenquireinternal.h"
#include "api/postlist.h"
#include <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...
 

Enumerations

enum  collapse_result { EMPTY, ADDED, REJECTED, REPLACED }
 Enumeration reporting how a document was 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 document was handled by the Collapser.

Enumerator
EMPTY 
ADDED 
REJECTED 
REPLACED 

Definition at line 33 of file collapser.h.