joomla_test/administrator/components/com_finder/config.xml
2020-01-02 22:20:31 +07:00

257 lines
7.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<config>
<fieldset
name="search"
label="COM_FINDER_FIELDSET_SEARCH_OPTIONS_LABEL"
description="COM_FINDER_FIELDSET_SEARCH_OPTIONS_DESCRIPTION" >
<field
name="enabled"
type="radio"
class="btn-group"
default="0"
label="COM_FINDER_CONFIG_GATHER_SEARCH_STATISTICS_LABEL"
description="COM_FINDER_CONFIG_GATHER_SEARCH_STATISTICS_DESCRIPTION">
<option value="0">JNO</option>
<option value="1">JYES</option>
</field>
<field
name="show_description"
type="radio"
class="btn-group"
default="1"
label="COM_FINDER_CONFIG_SHOW_DESCRIPTION_LABEL"
description="COM_FINDER_CONFIG_SHOW_DESCRIPTION_DESCRIPTION">
<option value="1">JSHOW</option>
<option value="0">JHIDE</option>
</field>
<field
name="description_length"
type="text"
size="5"
default="255"
filter="integer"
label="COM_FINDER_CONFIG_DESCRIPTION_LENGTH_LABEL"
description="COM_FINDER_CONFIG_DESCRIPTION_LENGTH_DESCRIPTION" />
<field name="allow_empty_query"
type="radio"
class="btn-group"
default="0"
label="COM_FINDER_CONFIG_ALLOW_EMPTY_QUERY_LABEL"
description="COM_FINDER_CONFIG_ALLOW_EMPTY_QUERY_DESCRIPTION">
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
<field
name="show_url"
type="radio"
class="btn-group"
default="1"
label="COM_FINDER_CONFIG_SHOW_URL_LABEL"
description="COM_FINDER_CONFIG_SHOW_URL_DESCRIPTION">
<option value="1">JSHOW</option>
<option value="0">JHIDE</option>
</field>
<field
name="show_autosuggest"
type="radio"
class="btn-group"
default="1"
label="COM_FINDER_CONFIG_SHOW_AUTOSUGGEST_LABEL"
description="COM_FINDER_CONFIG_SHOW_AUTOSUGGEST_DESCRIPTION">
<option value="1">JSHOW</option>
<option value="0">JHIDE</option>
</field>
<field
name="show_advanced"
type="radio"
class="btn-group"
default="1"
label="COM_FINDER_CONFIG_SHOW_ADVANCED_LABEL"
description="COM_FINDER_CONFIG_SHOW_ADVANCED_DESCRIPTION">
<option value="1">JSHOW</option>
<option value="0">JHIDE</option>
</field>
<field name="show_advanced_tips"
type="radio"
class="btn-group"
default="1"
label="COM_FINDER_CONFIG_SHOW_ADVANCED_TIPS_LABEL"
description="COM_FINDER_CONFIG_SHOW_ADVANCED_TIPS_DESCRIPTION">
<option value="1">JSHOW</option>
<option value="0">JHIDE</option>
</field>
<field
name="expand_advanced"
type="radio"
class="btn-group"
default="0"
label="COM_FINDER_CONFIG_EXPAND_ADVANCED_LABEL"
description="COM_FINDER_CONFIG_EXPAND_ADVANCED_DESCRIPTION">
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
<field
name="show_date_filters"
type="radio"
class="btn-group"
default="0"
label="COM_FINDER_CONFIG_SHOW_DATE_FILTERS_LABEL"
description="COM_FINDER_CONFIG_SHOW_DATE_FILTERS_DESCRIPTION">
<option value="1">JSHOW</option>
<option value="0">JHIDE</option>
</field>
<field name="sort_order"
type="list"
default="relevance"
validate="options"
label="COM_FINDER_CONFIG_SORT_ORDER_LABEL"
description="COM_FINDER_CONFIG_SORT_ORDER_DESC">
<option value="relevance">COM_FINDER_CONFIG_SORT_OPTION_RELEVANCE</option>
<option value="date">COM_FINDER_CONFIG_SORT_OPTION_START_DATE</option>
<option value="price">COM_FINDER_CONFIG_SORT_OPTION_LIST_PRICE</option>
</field>
<field name="sort_direction"
type="list"
default="desc"
validate="options"
label="COM_FINDER_CONFIG_SORT_DIRECTION_LABEL"
description="COM_FINDER_CONFIG_SORT_DIRECTION_DESC">
<option value="desc">COM_FINDER_CONFIG_SORT_OPTION_DESCENDING</option>
<option value="asc">COM_FINDER_CONFIG_SORT_OPTION_ASCENDING</option>
</field>
<field
name="highlight_terms"
type="radio"
class="btn-group"
default="1"
label="COM_FINDER_CONFIG_HILIGHT_CONTENT_SEARCH_TERMS_LABEL"
description="COM_FINDER_CONFIG_HILIGHT_CONTENT_SEARCH_TERMS_DESCRIPTION">
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
<field
name="opensearch_name"
type="text"
label="COM_FINDER_CONFIG_FIELD_OPENSEARCH_NAME_LABEL"
description="COM_FINDER_CONFIG_FIELD_OPENSEARCH_NAME_DESCRIPTION"
/>
<field
name="opensearch_description"
type="textarea"
label="COM_FINDER_CONFIG_FIELD_OPENSEARCH_DESCRIPTON_LABEL"
description="COM_FINDER_CONFIG_FIELD_OPENSEARCH_DESCRIPTON_DESCRIPTION"
cols="30" rows="2"
/>
</fieldset>
<fieldset
name="index"
label="COM_FINDER_FIELDSET_INDEX_OPTIONS_LABEL"
description="COM_FINDER_FIELDSET_INDEX_OPTIONS_DESCRIPTION" >
<field
name="batch_size"
type="list"
default="50"
label="COM_FINDER_CONFIG_BATCH_SIZE_LABEL"
description="COM_FINDER_CONFIG_BATCH_SIZE_DESCRIPTION"
validate="options" >
<option value="5">J5</option>
<option value="10">J10</option>
<option value="25">J25</option>
<option value="50">J50</option>
<option value="75">J75</option>
<option value="100">J100</option>
<option value="150">J150</option>
<option value="200">J200</option>
<option value="250">J250</option>
<option value="300">J300</option>
</field>
<field
name="memory_table_limit"
type="text"
size="10"
default="30000"
label="COM_FINDER_CONFIG_MEMORY_TABLE_LIMIT_LABEL"
description="COM_FINDER_CONFIG_MEMORY_TABLE_LIMIT_DESCRIPTION"
filter="integer" />
<field
name="title_multiplier"
type="text"
size="5"
default="1.7"
label="COM_FINDER_CONFIG_TITLE_MULTIPLIER_LABEL"
description="COM_FINDER_CONFIG_TITLE_MULTIPLIER_DESCRIPTION" />
<field
name="text_multiplier"
type="text"
size="5"
default="0.7"
label="COM_FINDER_CONFIG_TEXT_MULTIPLIER_LABEL"
description="COM_FINDER_CONFIG_TEXT_MULTIPLIER_DESCRIPTION" />
<field
name="meta_multiplier"
type="text"
size="5"
default="1.2"
label="COM_FINDER_CONFIG_META_MULTIPLIER_LABEL"
description="COM_FINDER_CONFIG_META_MULTIPLIER_DESCRIPTION" />
<field
name="path_multiplier"
type="text"
size="5"
default="2.0"
label="COM_FINDER_CONFIG_PATH_MULTIPLIER_LABEL"
description="COM_FINDER_CONFIG_PATH_MULTIPLIER_DESCRIPTION" />
<field
name="misc_multiplier"
type="text"
size="5"
default="0.3"
label="COM_FINDER_CONFIG_MISC_MULTIPLIER_LABEL"
description="COM_FINDER_CONFIG_MISC_MULTIPLIER_DESCRIPTION" />
<field
name="stem"
type="radio"
class="btn-group"
default="1"
label="COM_FINDER_CONFIG_STEMMER_ENABLE_LABEL"
description="COM_FINDER_CONFIG_STEMMER_ENABLE_DESCRIPTION" >
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
<field
name="stemmer"
type="list"
default="snowball"
label="COM_FINDER_CONFIG_STEMMER_LABEL"
description="COM_FINDER_CONFIG_STEMMER_DESCRIPTION" >
<option value="porter_en">COM_FINDER_CONFIG_STEMMER_PORTER_EN</option>
<option value="fr">COM_FINDER_CONFIG_STEMMER_FR</option>
<option value="snowball">COM_FINDER_CONFIG_STEMMER_SNOWBALL</option>
</field>
<field
name="enable_logging"
type="radio"
class="btn-group"
default="0"
label="COM_FINDER_CONFIG_ENABLE_LOGGING_LABEL"
description="COM_FINDER_CONFIG_ENABLE_LOGGING_DESCRIPTION">
<option value="1">JYES</option>
<option value="0">JNO</option>
</field>
</fieldset>
<fieldset
name="permissions"
label="JCONFIG_PERMISSIONS_LABEL"
description="JCONFIG_PERMISSIONS_DESC" >
<field
name="rules"
type="rules"
label="JCONFIG_PERMISSIONS_LABEL"
class="inputbox"
filter="rules"
validate="rules"
component="com_finder"
section="component" />
</fieldset>
</config>