SearchConfig

class lightning_ir.retrieve.base.searcher.SearchConfig(k: int = 10)[source]

Bases: object

Configuration class for searchers in the Lightning IR framework.

__init__(k: int = 10) None[source]

Initialize the SearchConfig.

Parameters:

k (int) – The number of top documents to retrieve. Defaults to 10.

Methods

__init__([k])

Initialize the SearchConfig.

Attributes

search_class

SUPPORTED_MODELS