Filters Package

Contents

Filters Package#

Functions#

make_filter(config)

Filter factory

Classes#

AggregateFilter(config)

The aggregate Filter concatenates / sums up the field values of the aggregated_fields grouped by the value of the aggregating_field

BlacklistFilter(config)

The blacklist Filter removes a Document or marks a Document to be skip based on a blacklist

CoalesceFilter(config)

The coalesce Filter returns the first value which is set from a list of fields.

CopyFilter(config)

The copy Filter copies input fields into output fields with copy.deepcopy

DocJoinFilter(config)

The doc_join Filter joins multiple Document into one Document via id or a specified field.

DocSplitFilter(config)

The doc_split Filter splits a single Document into many via iterable fields of the same length.

EmptyFilter(config)

The empty Filter removes a Document or marks a Document to skip based on empty fields

Filter(config)

The Filter steps take the stream of Document and filter out specific entries based on the criteria of the step or perform reduction/enlargment operations on fields and Document.

JoinFilter(config)

The join Filter joins a list to a string

MergeFilter(config)

The merge Filter merges multiple fields into a single field

ProximityFilter(config)

The proximity RegexFilter filters all Document by checking if terms exist within a specified proximity.

RegexFilter(config)

The regex Filter filters documents based on a supplied list of blacklist and whitelist regexes

SplitFilter(config)

The splits filter splits the string based field into a list

SquirroEntityFilter(config)

The Squirro entitiy Filter takes a set of fields and creates the Squirro entities structure

ThresholdFilter(config)

The threshold Filter removes weighted facets with values below threshold.

VoteFilter(config)

The vote Filter assigns a single value by majority vote from a list of values (e.g. [["positive"],["negative"],["positive"]] -> ["positive"], ["positive", "negative", "negative"]  -> ["negative"]).

WhitelistFilter(config)

The whitelist Filter removes a Document or marks a Document to be skip based on a whitelist