|
Methods defined here:
- __init__(self, max_size)
- Create an empty list that can store results.
- __len__(self)
- add(self, iid, score)
- Add a document to the results (unsorted).
iid: An internal document id.
score: The document score.
- get_ranking(self)
- Get a ranked list of results in (score, externalId) order.
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
Data and other attributes defined here:
- Entry = <class 'Results.Results.Entry'>
- A utility class to create an <externalDocid, score> object
for the heap.
|