QueryResult#

class scikitplot.corpus.QueryResult(documents, total, query)[source]#

Result container returned by StorageBase.query.

Parameters:
documentslist[CorpusDocument]

Page of results matching the query.

totalint

Total number of matching documents (before limit/offset).

queryStorageQuery

The query that produced this result (for traceability).

Parameters:
documents: list[CorpusDocument][source]#
property has_more: bool#

Return True if there are more pages beyond this one.

query: StorageQuery[source]#
total: int[source]#