SEARCH
$TWiki::cfg{RCS}{SearchAlgorithm} = 'TWiki::Store::SearchAlgorithms::Kino';
(a setting in the Store settings section in configure
),
TWiki will use the KinoSearch index for any inbuilt search (including WebSearch) that it can (for regex searches it will fall back to the Forking
search algorithm).
If you want TWiki's WebSearch to also show you attachment results (when you select the 'search all' option), you need to also set {SearchEngineKinoSearchAddOn}{showAttachments}=1
, and add kino
to the front of your SKIN
setting.
%KINOSEARCH{...}%
variable is handled by the SearchEngineKinoSearchPlugin.
%KINOSEARCH{ "search string" format="..." }%
"..." | Search string |
format="..." | Format of a search hit. Supported variables: • $icon - An icon to display file type when showing attachments • $match - The TWiki Name of the page being displayed • $locked - Show if a page is locked • $texthead - Summary text |
kinosearch
cgi atm.
http://cds.unistra.fr/twiki/bin/rest/SearchEngineKinoSearchPlugin/search
kinoindex
script
kinoupdate
script
%<plugin>_<setting>%
, i.e. %NEWPLUGIN_SHORTDESCRIPTION%
data/debug.txt
) SearchEngineKinoSearchPlugin.zip
in your twiki installation directory. Content: File: | Description: |
---|---|
data/TWiki/SearchEngineKinoSearchPlugin.txt | Plugin topic |
data/TWiki/SearchEngineKinoSearchPlugin.txt,v | Plugin topic repository |
lib/TWiki/Plugins/SearchEngineKinoSearchPlugin.pm | Plugin Perl module |
Plugin Author: | TWiki:Main.DavidGuest, TWiki:Main.SvenDowideit, TWiki:Main.SopanShewale |
Copyright: | © 2007-2009 TWiki:Main.DavidGuest © 2009 Twiki, Inc © 2009-2012 TWiki:TWiki.TWikiContributor |
License: | GPL (GNU General Public License) |
Plugin Version: | 2012-11-13 |
Change History: | |
2012-11-13: | TWikibug:Item7020: Categorize TWiki Variable KINOSEARCH -- TWiki:Main.PeterThoeny |
08 Oct 2009: | Version 1.3 Added Index/Update Indexing Log feature to the plugin |
20 Aug 2008: | Version 1.2, brought Plugin into SearchEngineKinoSearchAddOn package, and svn, and added restHandlers for indexing & searching - TWiki:Main.SvenDowideit |
09 Apr 2008: | Version 1.1, Added auto index updater code |
07 Apr 2008: | Initial version |
TWiki Dependency: | $TWiki::Plugins::VERSION 1.1 |
CPAN Dependencies: | none |
Other Dependencies: | SearchEngineKinoSearchAddOn, CPAN:File::Tail |
Perl Version: | 5.005 |
Benchmarks: | GoodStyle nn%, FormattedSearch nn%, SearchEngineKinoSearchPlugin nn% |
Plugin Home: | http://TWiki.org/cgi-bin/view/Plugins/SearchEngineKinoSearchPlugin |
Feedback: | http://TWiki.org/cgi-bin/view/Plugins/SearchEngineKinoSearchPluginDev |
Appraisal: | http://TWiki.org/cgi-bin/view/Plugins/SearchEngineKinoSearchPluginAppraisal |