jina.executors.indexers.query

class jina.executors.indexers.query.BaseQueryIndexer(index_filename=None, key_length=36, *args, **kwargs)[source]

Bases: jina.executors.indexers.BaseIndexer

An indexer only for querying. It only reads once (at creation time, from a dump)

add(keys, values, *args, **kwargs)[source]

Disabled. QueryIndexers are write-once (at instantiation time)

Return type

None

update(keys, values, *args, **kwargs)[source]

Disabled. QueryIndexers are write-once (at instantiation time)

Return type

None

delete(keys, *args, **kwargs)[source]

Disabled. QueryIndexers are write-once (at instantiation time)

Return type

None