CLucene - a full-featured, c++ search engine
API Documentation


ScorerDocQueue.h File Reference

Go to the source code of this file.

Functions

 HeapedScorerDoc (Scorer *s)
 HeapedScorerDoc (Scorer *s, int32_t doc)
 ~HeapedScorerDoc ()
void adjust ()
 ScorerDocQueue (int32_t maxSize)
 ~ScorerDocQueue ()
void put (Scorer *scorer)
bool insert (Scorer *scorer)
Scorerpop ()
void adjustTop ()
int32_t size ()
void clear ()
Scorertop ()
int32_t topDoc ()
float_t topScore ()
bool topNextAndAdjustElsePop ()
bool topSkipToAndAdjustElsePop (int32_t target)

Variables

int32_t _doc
HeapedScorerDoc ** heap
HeapedScorerDoc * topHsd
int32_t maxSize
int32_t _size


Function Documentation

void adjust (  ) 

void adjustTop (  ) 

void clear (  ) 

HeapedScorerDoc ( Scorer s,
int32_t  doc 
)

HeapedScorerDoc ( Scorer s  ) 

bool insert ( Scorer scorer  ) 

Scorer* pop (  ) 

void put ( Scorer scorer  ) 

ScorerDocQueue ( int32_t  maxSize  ) 

int32_t size (  ) 

Scorer* top (  ) 

int32_t topDoc (  ) 

bool topNextAndAdjustElsePop (  ) 

float_t topScore (  ) 

bool topSkipToAndAdjustElsePop ( int32_t  target  ) 

~HeapedScorerDoc (  ) 

~ScorerDocQueue (  ) 


Variable Documentation

int32_t _doc

int32_t _size

HeapedScorerDoc** heap

int32_t maxSize

HeapedScorerDoc* topHsd


clucene.sourceforge.net