---
name: "MojoMojo::Model::Search"
section: "3pm"
platform: "linux"
package: "libmojomojo-perl"
version: "1.12+dfsg-1"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/MojoMojo::Model::Search"
---

# MojoMojo::Model::Search(3pm)

support for searching pages

## NAME

MojoMojo::Model::Search - support for searching pages

## METHODS

### indexer

Index the search data

### searcher

Used by *search()* to do the grunt work.

### prepare\_search\_index

Create a new search index from all pages in the database. Will do nothing if the index already exists.

### index\_page \<page\>

Create/update the search index with data from a MojoMojo page when it changes.

### search

Search for a term or phrase.

### delete\_page \<page\>

Removes a page from the search index.

## AUTHOR

Marcus Ramberg \<mramberg@cpan.org\>

## LICENSE

This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
