TypoScript
Plugin settings
Changed in version 13.3
It is recommended to change the settings via the Site set "Indexed Search" whenever possible.
Each of the following options is defined for the TypoScript setup path
plugin..
Table of Contents
Target pid
If your installation uses Site sets, the target pid can also be set in the Settings editor.
-
- Type
-
boolean
- Default
-
empty
- Path
-
plugin.tx_indexedsearch.settings
Set the target page ID for the Extbase variant of the plugin. An empty value (default) falls back to the current page ID.
Display advanced search link
-
- Type
-
boolean
- Default
-
1
- Path
-
plugin.tx_indexedsearch.settings
Display the link to the advanced search page.
Display result number
-
- Type
-
boolean
- Default
- Path
-
plugin.tx_indexedsearch.settings
Display the numbers of search results.
Breadcrumb wrap
-
- Type
- Default
-
/ || /
- Path
-
plugin.tx_indexedsearch.settings
This configuration is used to wrap a single page title in the breadcrumb of a search result item.
Display level 1 sections
-
- Type
-
boolean
- Default
-
1
- Path
-
plugin.tx_indexedsearch.settings
This selects the first menu for the "sections" selector - so it can be searched in sections.
Display level 2 sections
-
- Type
-
boolean
- Default
- Path
-
plugin.tx_indexedsearch.settings
This selects the secondary menu for the "sections" selector - so it can be searched in sub sections. This setting only has an effect if displayLevel1Sections is true.
Display level X all types
-
- Type
-
boolean
- Default
- Path
-
plugin.tx_indexedsearch.settings
Loaded are, by default:
- the subpages of the given page IDs of rootPidList, if displayLevel1Sections is true, and
- the subpages of the second level, if displayLevel2Sections is true.
If
displayis set to true, then the page records for all evaluated IDs are loaded directly.Levelx All Types
Display forbidden records
-
- Type
-
boolean
- Default
- Path
-
plugin.tx_indexedsearch.settings
Explicitly display search hits, although the visitor has no access to it.
Media list
-
- Type
-
string
- Default
-
empty
- Path
-
plugin.tx_indexedsearch.settings
Restrict the file type list when searching for files.
Root pid list
If your installation uses Site sets, the rootPidList can also be set in the Settings editor.
-
- Type
-
string (list of integers, separated by comma)
- Default
-
empty
- Path
-
plugin.tx_indexedsearch.settings
A list of integers which should be root pages to search from. Thus you can search multiple branches of the page tree by setting this property to a list of page ID numbers.
If this value is set to less than zero (eg. -1), the search will be performed in ALL parts of the page tree without regard to branches at all. An empty value (default) falls back to the current root page ID.
Note
By "root page" we mean the root page of a website, as it is stored in the index field
rl0. Setting a page from within the page tree (for example a page below the site root) returns no results. If you just want to search in branches of your site, restrict the search to sections via defaultOptions.sections.
Pagination type
-
- Type
-
string (
simpleorsliding)Window - Default
-
simple - Path
-
plugin.tx_indexedsearch.settings
Select the pagination implementation for search results:
simple: uses\TYPO3\and renders all result pages.CMS\ Core\ Pagination\ Simple Pagination sliding: usesWindow \TYPO3\and limits the displayed result pages to page_links.CMS\ Core\ Pagination\ Sliding Window Pagination
Page links
-
- Type
-
int
- Default
-
10
- Path
-
plugin.tx_indexedsearch.settings
Defines the maximum number of result pages shown for
pagination_.type = sliding Window
Default free index UID list
-
- Type
-
string (list of integers, separated by comma)
- Default
-
empty
- Path
-
plugin.tx_indexedsearch.settings
List of Indexing Configuration UIDs to show as categories in the search form. The order determines the order displayed in the search result.
Exact count
-
- Type
-
boolean
- Default
- Path
-
plugin.tx_indexedsearch.settings
Force permission check for every record while displaying search results. Otherwise, records are only checked up to the current result page, and this might cause that the result counter does not print the exact number of search hits.
By enabling this setting, the loop is not stopped, which causes an exact result count at the cost of an (obvious) slowdown caused by this overhead.
See property show.forbiddenRecords for more information.
Results
-
- Type
-
Array
- Default
-
empty
- Path
-
plugin.tx_indexedsearch.settings
Various crop/offset settings for single result items.
Length of the cropped results title
-
- Type
-
int
- Default
-
50
- Path
-
plugin.tx_indexedsearch.settings
Determines the length of the cropped title.
Crop signifier for results title
-
- Type
-
string
- Default
-
...
- Path
-
plugin.tx_indexedsearch.settings
Determines the string being appended to a cropped title.
Length of the cropped summary
-
- Type
-
int
- Default
-
180
- Path
-
plugin.tx_indexedsearch.settings
Determines the length of the cropped summary.
Crop signifier for the summary
-
- Type
-
string
- Default
-
...
- Path
-
plugin.tx_indexedsearch.settings
Determines the string being appended to a cropped summary.
Length of cropped links in summary
-
- Type
-
int
- Default
-
60
- Path
-
plugin.tx_indexedsearch.settings
Determines the length of cropped links in the summary.
Crop signifier for links in summary
-
- Type
-
string
- Default
-
...
- Path
-
plugin.tx_indexedsearch.settings
Determines the string being appended to cropped links in the summary.
Length of a summary to highlight search words
-
- Type
-
int
- Default
-
300
- Path
-
plugin.tx_indexedsearch.settings
Maximum length of a summary to highlight search words in.
Character count next to highlighted search word
-
- Type
-
int
- Default
-
60
- Path
-
plugin.tx_indexedsearch.settings
Determines the amount of characters to keep on both sides of the highlighted search word.
Characters offset from the right side of a highlighted search word
-
- Type
-
int
- Default
-
5
- Path
-
plugin.tx_indexedsearch.settings
Determines the offset of characters from the right side of a highlighted search word. Higher values will "move" the highlighted search word further to the left.
Divider for highlighted search words
-
- Type
-
string
- Default
-
...
- Path
-
plugin.tx_indexedsearch.settings
Divider for highlighted search words in the summary.
Excludes doktypes in path
-
- Type
-
string
- Default
-
empty
- Path
-
plugin.tx_indexedsearch.settings
Excludes doktypes in rootline.
Example:
plugin.tx_indexedsearch.settings { results { pathExcludeDoktypes = 254 } }Copied!Exclude folder (doktype: 254) in path for the result.
/Footer->(254)/ Navi (254)/ Imprint (1) /Imprint.plugin.tx_indexedsearch.settings { results { pathExcludeDoktypes = 254,4 } }Copied!Exclude folder (doktype: 254) and shortcuts (doktype: 4) in path for result.
/About-->Us (254)/ Company (4)/ Germany (1) /Germany.
Default options
-
- Type
-
Array
- Default
-
empty
- Path
-
plugin.tx_indexedsearch.settings
Setting of default values.
Please see the options below.
Default: Operand
-
- Type
-
boolean
- Default
- Path
-
plugin.tx_indexedsearch.settings
- 0
- All words (AND)
- 1
- Any words (OR)
Default: Sections
-
- Type
-
string (list of integers, separated by comma)
- Default
- Path
-
plugin.tx_indexedsearch.settings
Restricts the search to a branch of the page tree. The value is
rl1_<uid>orrl2_<uid>, with the page ID of a page on the first or second level below the site root. Several page IDs can be given comma-separated, for examplerl1_.12,15 EXT:my_site/Configuration/TypoScript/setup.typoscriptplugin.tx_indexedsearch.settings.defaultOptions.sections = rl2_42Copied!Note
The index stores only the first three levels of the rootline (
rl0,rl1andrl2). Pages on deeper levels cannot be used as the starting point of a restricted search.
Default: Free index UID
-
- Type
-
int
- Default
-
-1
- Path
-
plugin.tx_indexedsearch.settings
Default: Media type
-
- Type
-
int
- Default
-
-1
- Path
-
plugin.tx_indexedsearch.settings
Default: Sort order
-
- Type
-
string
- Default
-
rank_flag
- Path
-
plugin.tx_indexedsearch.settings
Default: Language UID
-
- Type
-
string
- Default
-
current
- Path
-
plugin.tx_indexedsearch.settings
Default: Sort desc
-
- Type
-
boolean
- Default
-
1
- Path
-
plugin.tx_indexedsearch.settings
Default: Search type
-
- Type
-
int
- Default
-
1
- Path
-
plugin.tx_indexedsearch.settings
Possible values are 0, 1 (any part of the word), 2, 3, 10 and 20 (sentence).
Default: Extended resume
-
- Type
-
boolean
- Default
-
1
- Path
-
plugin.tx_indexedsearch.settings
Default: Advanced search
-
- Type
-
boolean
- Default
- Path
-
plugin.tx_indexedsearch.settings
Set to 1 to display the advanced search fields by default. The value can be overridden per request via the
searchparameter, which is sent via GET or POST.[extended Search]
Blind
-
- Type
-
Array
- Default
-
empty
- Path
-
plugin.tx_indexedsearch.settings
Blinding of option selectors / values in these (advanced search).
Please see the options below.
Blind: Search type
-
- Type
-
boolean
- Default
- Path
-
plugin.tx_indexedsearch.settings
Blind: Default operand
-
- Type
-
boolean
- Default
- Path
-
plugin.tx_indexedsearch.settings
Blind: Sections
-
- Type
-
boolean
- Default
- Path
-
plugin.tx_indexedsearch.settings
Blind: Free index UID
-
- Type
-
boolean
- Default
-
1
- Path
-
plugin.tx_indexedsearch.settings
If set, the "Category" selector (indexing configurations) is not displayed in the advanced search.
Blind: Media type
-
- Type
-
boolean
- Default
- Path
-
plugin.tx_indexedsearch.settings
Blind: Sort order
-
- Type
-
boolean
- Default
- Path
-
plugin.tx_indexedsearch.settings
Blind: Group
-
- Type
-
boolean
- Default
- Path
-
plugin.tx_indexedsearch.settings
Blind: Language UID
-
- Type
-
boolean
- Default
- Path
-
plugin.tx_indexedsearch.settings
Blind: Desc
-
- Type
-
boolean
- Default
- Path
-
plugin.tx_indexedsearch.settings
Blind: Number of results
-
- Type
-
string (list of integers, separated by comma)
- Default
-
10,25,50,100
- Path
-
plugin.tx_indexedsearch.settings
List of amount of results to be displayed per page. Sending a different amount via GET or POST will result in the default value being used to prevent DoS attacks.
Blind: Extended resume
-
- Type
-
boolean
- Default
-
1
- Path
-
plugin.tx_indexedsearch.settings
If set, the "Extended resume" checkbox is not displayed in the advanced search.
[tsref:plugin.tx_indexedsearch]