DOKK / manpages / debian 11 / libplucene-perl / Plucene::Analysis::StopFilter.3pm.en
Plucene::Analysis::StopFilter(3pm) User Contributed Perl Documentation Plucene::Analysis::StopFilter(3pm)

Plucene::Analysis::StopFilter - the stop filter

        # isa Plucene::Analysis::TokenFilter
        my $next = $stop_filter->next;

This removes stop words from a token stream.

Instances of the StopFilter class are tokens filters that removes from the indexed text words of your choice. Typically this is used to filter out common words ('the', 'a' 'if' etc) that increase the overhead but add no value during searches.

        my $next = $stop_filter->next;

This returns the next input token whose term is not a stop word.

2018-04-02 perl v5.26.1