NAME

Bootylicious::Plugin::Search - search plugin for bootylicious

SYNOPSIS

# In your bootylicious.conf

"plugins" : [
    "search"
]

# or with configuration

"plugins" : [
    "search", {"min_length" : 3}
]

DESCRIPTION

Plugins adds /search/ path to your bootylicious blog. The simple full text search is done through all the articles.

ATTRIBUTES

before_context

How many symbols are shown before the matched string.

after_context

How many symbols are shown after the matched string.

min_length

Minimum length search string.

max_length

Maximum length search string.

METHODS

hook_init

Plugin is run just after L<bootylicious> routes initialization.

SEE ALSO

L<bootylicious>, L<Mojo>, L<Mojolicious>

AUTHOR

Viacheslav Tykhanovskyi, vti@cpan.org.

COPYRIGHT AND LICENSE

Copyright (C) 2009, Viacheslav Tykhanovskyi.

This program is free software, you can redistribute it and/or modify it under the terms of the Artistic License version 2.0.