document_filter property

document_filter property

The document filter applied during indexing; when None, all added documents are indexed.

The filter works on inclusion logic. Use the DocumentFilter class to create filter instances. The value can be changed at any time. A change made after an index was created is saved in the index by the next operation that modifies the index.

Definition:

@property
def document_filter(self):
    ...
@document_filter.setter
def document_filter(self, value):
    ...

See Also