mirror of
https://github.com/Codappix/search_core.git
synced 2024-11-22 12:16:11 +01:00
TASK: Move additionalWhereClause to constants
To keep things the same, move additionalWhereClause of tt_content also to constants.
This commit is contained in:
parent
646285b8b5
commit
6595d7129a
2 changed files with 5 additions and 4 deletions
|
@ -9,6 +9,10 @@ plugin {
|
||||||
}
|
}
|
||||||
|
|
||||||
indexing {
|
indexing {
|
||||||
|
tt_content {
|
||||||
|
additionalWhereClause = tt_content.CType NOT IN ('gridelements_pi1', 'list', 'div', 'menu', 'shortcut', 'search', 'login') AND tt_content.bodytext != ''
|
||||||
|
}
|
||||||
|
|
||||||
pages {
|
pages {
|
||||||
additionalWhereClause = pages.doktype NOT IN (3, 199, 6, 254, 255)
|
additionalWhereClause = pages.doktype NOT IN (3, 199, 6, 254, 255)
|
||||||
abstractFields = abstract, description, bodytext
|
abstractFields = abstract, description, bodytext
|
||||||
|
|
|
@ -12,10 +12,7 @@ plugin {
|
||||||
# Not for direct indexing therefore no indexer.
|
# Not for direct indexing therefore no indexer.
|
||||||
# Used to configure tt_content fetching while indexing pages
|
# Used to configure tt_content fetching while indexing pages
|
||||||
tt_content {
|
tt_content {
|
||||||
additionalWhereClause (
|
additionalWhereClause = {$plugin.tx_searchcore.settings.indexing.tt_content.additionalWhereClause}
|
||||||
tt_content.CType NOT IN ('gridelements_pi1', 'list', 'div', 'menu', 'shortcut', 'search', 'login')
|
|
||||||
AND tt_content.bodytext != ''
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pages {
|
pages {
|
||||||
|
|
Loading…
Reference in a new issue