Class Search¶

  • Defined in File search.h

Class Documentation¶

class Search¶

A Search represent a particular search, based on a Searcher.

This is somehow the reunification of a Searcher (what to search on) and a Query (what to search for).

Public Functions

Search(Search &&s)¶
Search &operator=(Search &&s)¶
~Search()¶
const SearchResultSet getResults(int start, int maxResults) const¶

Get a set of results for this search.

Parameters:
  • start – The begining of the range to get (offset of the first result).

  • maxResults – The maximum number of results to return (offset of last result from the start of range).

int getEstimatedMatches() const¶

Get the number of estimated results for this search.

As the name suggest, it is a estimation of the number of results.

libzim

Navigation

Contents:

  • Libzim programming
  • Libzim 7 transition guide
  • Reference API
    • Class Hierarchy
    • File Hierarchy
    • Full API

Related Topics

  • Documentation overview
    • Reference API
      • Previous: Class Query
      • Next: Class Searcher
©2020, libzim-team. | Powered by Sphinx 9.0.4 & Alabaster 1.0.0 | Page source