{* $Id$ *} {if $prefs.feature_search_stats eq 'y'} {remarksbox type="tip" title="{tr}Tip{/tr}"} {tr}Search statistics{/tr} {tr}can be seen on page{/tr} {tr}Search statistics{/tr} {tr}in Admin menu{/tr} {/remarksbox} {/if} {if $prefs.feature_file_galleries eq 'y'} {remarksbox type="tip" title="{tr}Tip{/tr}"} {tr}To index content from files within the File Galleries see the Search Indexing tab:{/tr} {tr}File Gallery admin panel{/tr} {/remarksbox} {/if}
{ticket}
{if $prefs.feature_search eq 'y'} {icon name="search"} {tr}Search{/tr} {icon name="cog"} {tr}Rebuild Index{/tr} {/if} {include file='admin/include_apply_top.tpl'}
{tabset name=admin_search} {tab name="{tr}General Settings{/tr}"}
{tr}Search{/tr}{help url="Search-General-Settings"} {remarksbox type=tip title="{tr}About the Unified Index{/tr}"} {tr}The Unified Index provides many underlying features for Tiki, including object selectors for translations amongst other things.{/tr} {tr}Disabling this will cause some parts of Tiki to be unavailable.{/tr}
{tr}Find out more about it here.{/tr} {/remarksbox} {preference name=feature_search visible="always"}
{preference name=feature_search_stats} {preference name=user_in_search_result} {preference name="unified_incremental_update"} {preference name="allocate_memory_unified_rebuild"} {preference name="allocate_time_unified_rebuild"} {preference name="unified_engine"} {if ! empty($engine_info)}
    {foreach from=$engine_info key=property item=value}
  • {$property|escape}: {$value|escape}
  • {/foreach}
{/if}
{* pretend this remarks box is an advanced pref so it only shows when advanced irefs are enabled *} {remarksbox type=tip title="{tr}About Unified search engines{/tr}"} {tr}MySQL full-text search:{/tr}
{tr}Advantages:{/tr} {tr}Fast performance. Works out of the box with Tiki and even on most basic server setups{/tr}.
{tr}Disadvantages:{/tr} {tr}Many common words (such as "first", "second", and "third" are not searchable unless MySQL configuration is modified). Only the first 65,535 characters (about 8000 words) of long pieces of content are searchable{/tr}(See this {tr}link{/tr} {tr} for full list) {/tr}
{tr}Elasticsearch:{/tr}
{tr}Advantages:{/tr} {tr}Most advanced, fast and scalable search engine. Enables some very advanced/new features of Tiki{/tr}.
{tr}Disadvantages:{/tr} {tr}Needs to be separately installed from Tiki and requires more configuration{/tr} (See this {tr}link{/tr} {tr}for more information) {/tr}
{/remarksbox}
{preference name="unified_elastic_url"} {preference name="unified_elastic_index_prefix"} {preference name="unified_elastic_index_current"} {preference name="unified_elastic_field_limit"} {preference name="unified_relation_object_indexing"} {remarksbox type=tip title="{tr}About Use MySQL Full-Text Search as fallback{/tr}"} {tr}Elasticsearch is a tiki external service. You should set at least a daily full index rebuild to keep the MySQL index updated in case of Elastic unavailability{/tr}. {/remarksbox} {preference name="unified_elastic_mysql_search_fallback"}
{preference name="unified_mysql_short_field_names"} {preference name="unified_mysql_restore_indexes"}
{preference name="unified_search_default_operator"} {preference name=unified_excluded_categories} {preference name=unified_excluded_plugins} {preference name=unified_exclude_all_plugins}
{preference name=unified_included_plugins}
{preference name=unified_exclude_nonsearchable_fields} {preference name=unified_forum_deepindexing} {preference name=unified_tokenize_version_numbers}

{tr}Elasticsearch only{/tr}

{preference name="unified_elastic_camel_case"} {preference name="unified_elastic_possessive_stemmer"}
{preference name=unified_field_weight} {preference name=unified_default_content} {preference name=unified_user_cache} {preference name=unified_cache_formatted_result} {preference name=unified_cached_formatters} {preference name=unified_list_cache_default_on} {preference name=unified_list_cache_default_expiry} {preference name=unified_trackerfield_keys} {preference name=unified_trackeritem_category_names} {preference name=unified_add_to_categ_search} {preference name=unified_trim_sorted_search} {preference name=search_error_missing_field} {preference name=unified_stopwords}
{* pretend this remarks box is an advanced pref so it only shows when advanced irefs are enabled *} {remarksbox type=tip title="{tr}Experiment with LIST plugin syntax{/tr}"} {tr}After you have found the correct contents, you may copy-paste them in a LIST plugin.{/tr} {/remarksbox}
{preference name=search_index_outdated}
{if $prefs.feature_file_galleries eq 'y'}
{tr}File galleries searches{/tr}{help url="Search-within-files" desc='You will need to rebuild the search index to see these changes'} {preference name=fgal_enable_auto_indexing} {preference name=fgal_enable_email_indexing} {preference name=fgal_asynchronous_indexing}
{tr}Handlers{/tr}{help url="Search-within-files" desc='If you want the content of the files which are in the File Gallery to be accessible by a search, and if you have a script that extracts the file content into a text, you can associate the script to the Mime type and the files content will be indexed.'}
{tr}Add custom handlers to make your files "searchable" content{/tr}.
  • {tr}Use %1 as the internal file name. For example, use strings %1 to convert the document to text, using the Unix strings command{/tr}.
  • {tr _0="" _1=""}To delete a handler, leave the %0System Command%1 field blank{/tr}.
{if !empty($missingHandlers)} {tr}Tiki is pre-configured to handle many common types. If any of those are listed here, it is because the command line tool is unavailable.{/tr} {remarksbox type=warning title="{tr}Missing Handlers{/tr}"} {foreach from=$missingHandlers item=mime} {$mime|escape}
{/foreach} {/remarksbox} {if $vnd_ms_files_exist}
{remarksbox type=info title="{tr}Mime Types{/tr}"}

{tr}Previous versions of Tiki may have assigned alternative mime-types to Microsoft Office files, such as "application/vnd.ms-word" and these need to be changed to be "application/msword" for the default file indexing to function properly.{/tr}

{/remarksbox}
{/if} {/if}
{foreach key=mime item=cmd from=$fgal_handlers} {/foreach}
{tr}MIME Type{/tr} {tr}System Command{/tr}
{$mime}
{/if}
{tr}Legacy search{/tr} {help url="Search"} {preference name=feature_search_fulltext}
{preference name=feature_referer_highlight} {preference name=feature_search_show_forbidden_obj} {preference name=feature_search_show_forbidden_cat}
{tr}Features{/tr} {preference name=search_autocomplete} {preference name=search_file_thumbnail_preview}
{tr}Forum searches{/tr} {preference name=feature_forums_name_search} {preference name=feature_forums_search} {preference name=feature_forum_content_search}
{preference name=feature_forum_local_tiki_search}
{/tab} {tab name="{tr}Search Results{/tr}"}
{preference name=search_use_facets} {preference name=search_facet_default_amount} {preference name=search_excluded_facets} {preference name=unified_exclude_nonsearchable_fields_from_facets} {preference name=category_custom_facets} {preference name=search_date_facets} {preference name=search_date_facets_interval} {preference name=search_date_facets_ranges}
{tr}Items to display in search results{/tr} {preference name=search_default_interface_language} {preference name=search_default_where} {preference name=search_show_category_filter} {preference name=search_show_tag_filter} {preference name=feature_search_show_object_filter} {preference name=search_show_sort_order} {preference name=feature_search_show_search_box}
{tr}Information to display for each result{/tr} {preference name=feature_search_show_visit_count} {preference name=feature_search_show_pertinence} {preference name=feature_search_show_object_type} {preference name=feature_search_show_last_modification} {preference name=search_parsed_snippet} {preference name=unified_highlight_results}
{/tab} {tab name="{tr}Stored Search{/tr}"}
{preference name=storedsearch_enabled} {/tab} {tab name="{tr}Federated Search{/tr}"}
{preference name=federated_enabled} {preference name=federated_elastic_url} {tr}Configuration{/tr} {/tab} {tab name="{tr}Tools{/tr}"}
{include file='admin/include_search_report_string_in_db.tpl'}

{tr}Experiment with LIST plugin syntax{/tr}{help url="LIST+-+Troubleshooting+The+List+Plugin#Using_the_Experiment_with_Plugin_LIST_page" desc="{tr}Help link{/tr}"}

{tr}After you have found the correct contents, you may copy-paste them in a LIST plugin.{/tr}
{/tab} {/tabset} {include file='admin/include_apply_bottom.tpl'}