DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:docsearch

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:docsearch [2016-07-21 09:13] – version upped andiplugin:docsearch [2024-01-08 17:05] (current) Aleksandr
Line 7: Line 7:
 type       : action type       : action
 lastupdate : 2016-07-18 lastupdate : 2016-07-18
-compatible : 2009-08-01, 2013-05-10+compatible : Hogfather, 2009-08-01, 2013-05-10
 depends    :  depends    : 
 conflicts  conflicts 
-similar    : +similar    : elasticsearch
 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:elasticsearch|elasticsearch Plugin]] with its ability to index documents.
  
-[[http://www.cosmocode.de/en/open-source/dokuwiki-plugins/|{{ http://cosmocode.de/static/img/dokuwiki/dwplugins.png?recache|A CosmoCode Plugin}}]]+[[https://www.cosmocode.de/en/open-source/dokuwiki-plugins/|{{ https://www.cosmocode.de/static/img/dokuwiki/dwplugins.png?recache|A CosmoCode Plugin}}]]
  
-Download and install the plugin using the [[plugin:plugin|Plugin Manager]] using the URL given above. Refer to [[:Plugins]] on how to install plugins manually.+===== Download and Installation =====
  
-  * https://github.com/cosmocode/docsearch/zipball/master+Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
  
 ==== Changes ==== ==== Changes ====
  
-{{rss>https://github.com/cosmocode/docsearch/commits/master.atom date}}+{{rss>https://github.com/cosmocode/docsearch/commits/master.atom author date}}
  
 ==== Cronjob ==== ==== Cronjob ====
  
-To create the search index you have to set-up a cronjob (or scheduled task under windows) that runs the ''dokuwiki/lib/plugins/docsearch/cron.php''. You can also use online cron job service https://www.easycron.com to trigger the script and a tutorial at https://www.easycron.com/cron-job-tutorials/how-to-set-up-cron-job-for-dokuwiki-docsearch. To use https://cronblast.com, follow the tutorial: https://cronblast.com/blog/posts/tutorial-create-a-docsearch-cron-job-for-dokuwiki?ref=dokuwiki+To create the search index you have to set up a cronjob (or scheduled task under windows) that runs the ''dokuwiki/lib/plugins/docsearch/cron.php''. You can also use online cron job service https://www.easycron.com to trigger the script and a tutorial at https://www.easycron.com/cron-job-tutorials/how-to-set-up-cron-job-for-dokuwiki-docsearch.
  
-The search just find documents in the index. If you create the index, upload a new file and search for the file, you'll won't find it until you rebuild the index.+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 ''memory_limit'' from your PHP configuration. see [[phpfn>ini.core]]+It is possible that you need to increase the ''memory_limit'' from your PHP configuration. See [[phpfn>ini.core]]
  
 :!: Because docsearch uses the cron.php as a CLI-PHP (Command Line) script, you have to increase memory_limit in /etc/php5/cli/php.ini <sub>//Joachim 10.01.2011//</sub> :!: Because docsearch uses the cron.php as a CLI-PHP (Command Line) script, you have to increase memory_limit in /etc/php5/cli/php.ini <sub>//Joachim 10.01.2011//</sub>
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'tool per line.+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.
  
plugin/docsearch.1469085221.txt.gz · Last modified: 2016-07-21 09:13 by andi

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki