Meerkat

Meerkat

The "search" Filters

The search filter(s) are similar to the like filters such that it allows you to filter comments based on some text input. However, the search filter will perform a full-text, fuzzy search (without wildcards) across multiple comment properties.

#The search:terms Filter

The search:terms filter allows you to perform full-text, fuzzy searches for text across multiple comment properties. It accepts the search terms as its own argument. The following example would return only comments that have properties that contain the panel search terms:

1{{ meerkat:responses filter="search:terms(panel)" }}
2 
3 {{ comments }}
4 <!-- Render your comment thread here. -->
5 {{ /comments }}
6 
7{{ /meerkat:responses }}

The full-text and fuzzy search engines are definitely a work in progress, and will be improved over time. The current search implementation is an implementation of the Bitap algorithm. The ability to provide custom search engines will come in a future version.

Some absolutely amazing
people

The following amazing people help support this site and my open source projects ♥️
If you're interesting in supporting my work and want to show up on this list, check out my GitHub Sponsors Profile.