- Configure the
full_text_search
update_secret
param in your site/config/config.yml. - Create the update cron job:
curl http://your-rapila-installation/get_file/update_search_index/language-id?secret=your-secret
. (Setyour-rapila-installation
,language-id
andyour-secret
to appropriate values.your-secret
is what you set in the first step. Use multiple cron jobs for a multilingual installation.) - Add the necessary tables to your database (or do an automatic migration). Re-generate the model.
- Create a page of page type “search result” for the search results.
- To create your own search result template. Put template-name.tmpl and template-name_item.tmpl into
CONTEXT_DIR/templates/search_results
(whereCONTEXT_DIR
will be “site” unless you’re developing your own plugin).template-name
is the name of the template for your search-result page. You may also name your template “default” (there is a default template set already included with the full_text_search plugin). - Put the
{{searchForm}}
identifier somewhere in your template to output a form to the search result page. - Crawl
http://your-rapila-installation/get_file/update_search_index/language-id?secret=your-secret
manually to create your search index.
-
Notifications
You must be signed in to change notification settings - Fork 0
rapila/plugin-full_text_search
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
The full-text search plugin
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published