plugin:docsearch
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:docsearch [2014-07-26 01:37] – [Cronjob] 50.153.127.2 | plugin:docsearch [2024-01-08 17:05] (current) – Aleksandr | ||
---|---|---|---|
Line 6: | Line 6: | ||
email : dokuwiki@cosmocode.de | email : dokuwiki@cosmocode.de | ||
type : action | type : action | ||
- | lastupdate : 2013-08-14 | + | lastupdate : 2016-07-18 |
- | compatible : 2009-08-01, 2013-05-10 | + | compatible : Hogfather, |
depends | depends | ||
conflicts | conflicts | ||
- | similar | + | similar |
tags : search | tags : search | ||
Line 21: | Line 21: | ||
This plugin allows you to search through your uploaded documents. It is integrated into the default DokuWiki search. Just fill in a search string and start to search. | This plugin allows you to search through your uploaded documents. It is integrated into the default DokuWiki search. Just fill in a search string and start to search. | ||
- | ===== Download and Installation ===== | + | :!: A probably better alternative to this plugin, is the [[plugin: |
- | [[http:// | + | [[https:// |
- | Download and install the plugin using the [[plugin: | + | ===== Download and Installation ===== |
- | * https://github.com/ | + | Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[: |
==== Changes ==== | ==== Changes ==== | ||
- | {{rss> | + | {{rss> |
==== Cronjob ==== | ==== Cronjob ==== | ||
- | To create the search index you have to set-up a cronjob (or scheduled task under windows) that runs the '' | + | To create the search index you have to set up a cronjob (or scheduled task under windows) that runs the '' |
- | The search just find documents in the index. If you create the index, upload a new file and search for the file, you' | + | The search just finds documents in the index. If you create the index, upload a new file and search for the file, you won't find it until you rebuild the index. |
- | It is possible that you need to increase the '' | + | It is possible that you need to increase the '' |
:!: Because docsearch uses the cron.php as a CLI-PHP (Command Line) script, you have to increase memory_limit in / | :!: Because docsearch uses the cron.php as a CLI-PHP (Command Line) script, you have to increase memory_limit in / | ||
Line 52: | Line 52: | ||
The plugin tries to convert every media document to a text file. On this progress it uses a given set of external tools to convert it. | The plugin tries to convert every media document to a text file. On this progress it uses a given set of external tools to convert it. | ||
- | This tools are defined per file extension. The config stores one extension and it' | + | These tools are defined per file extension. The config stores one extension and its tool per line. |
You can use %in% and %out% for the input and output file. | You can use %in% and %out% for the input and output file. | ||
Line 75: | Line 75: | ||
you have to ensure that the output file is UTF-8 encoded. Otherwise you might get trouble with non-ASCII characters. | you have to ensure that the output file is UTF-8 encoded. Otherwise you might get trouble with non-ASCII characters. | ||
===== Todo ===== | ===== Todo ===== | ||
- | Allow the user to use the DokuWiki indexer to index the documents. | + | * Allow the user to use the DokuWiki indexer to index the documents. |
+ | * Index documents that have been modified or changed only. -> Skip already indexed documents for performance reasons. | ||
===== Conversion settings ===== | ===== Conversion settings ===== | ||
Line 153: | Line 154: | ||
rm -f $tmpfile | rm -f $tmpfile | ||
</ | </ | ||
+ | |||
+ | An Alternative to openoffice is to use Apache Tika http:// | ||
+ | Example: | ||
+ | / | ||
==== Mindmaps from FreeFind ==== | ==== Mindmaps from FreeFind ==== |
plugin/docsearch.1406331423.txt.gz · Last modified: 2014-07-26 01:37 by 50.153.127.2