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])
total (int)
query (StorageQuery)
- documents: list[CorpusDocument][source]#
- query: StorageQuery[source]#