2016-12-09 19:45:46 +01:00
|
|
|
plugin {
|
|
|
|
tx_searchcore {
|
|
|
|
settings {
|
2016-12-20 10:04:44 +01:00
|
|
|
connections {
|
|
|
|
elasticsearch {
|
|
|
|
host = localhost
|
|
|
|
port = 9200
|
2018-02-15 16:44:02 +01:00
|
|
|
index = typo3content
|
2016-12-20 10:04:44 +01:00
|
|
|
}
|
2016-12-09 19:45:46 +01:00
|
|
|
}
|
2016-12-15 14:02:40 +01:00
|
|
|
|
2017-06-27 16:51:33 +02:00
|
|
|
indexing {
|
|
|
|
tt_content {
|
2017-07-06 23:48:47 +02:00
|
|
|
indexer = Codappix\SearchCore\Domain\Index\TcaIndexer
|
2017-07-06 15:51:29 +02:00
|
|
|
|
2017-07-13 14:54:37 +02:00
|
|
|
additionalWhereClause (
|
|
|
|
tt_content.CType NOT IN ('gridelements_pi1', 'list', 'div', 'menu', 'shortcut', 'search', 'login')
|
2018-03-15 08:29:44 +01:00
|
|
|
AND (tt_content.bodytext != '' OR tt_content.header != '')
|
2017-07-13 14:54:37 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
mapping {
|
|
|
|
CType {
|
|
|
|
type = keyword
|
|
|
|
}
|
|
|
|
}
|
2018-04-24 09:37:25 +02:00
|
|
|
|
|
|
|
dataProcessing {
|
|
|
|
1 = Codappix\SearchCore\DataProcessing\TcaRelationResolvingProcessor
|
|
|
|
}
|
2017-07-13 14:54:37 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
pages {
|
|
|
|
indexer = Codappix\SearchCore\Domain\Index\TcaIndexer\PagesIndexer
|
|
|
|
abstractFields = abstract, description, bodytext
|
2018-03-15 08:29:44 +01:00
|
|
|
contentFields = header, bodytext
|
2017-07-13 14:54:37 +02:00
|
|
|
|
2017-07-06 15:51:29 +02:00
|
|
|
mapping {
|
|
|
|
CType {
|
|
|
|
type = keyword
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-04-24 09:37:25 +02:00
|
|
|
dataProcessing {
|
|
|
|
1 = Codappix\SearchCore\DataProcessing\TcaRelationResolvingProcessor
|
2017-07-06 15:51:29 +02:00
|
|
|
}
|
2016-12-20 10:04:44 +01:00
|
|
|
}
|
2017-07-06 15:51:29 +02:00
|
|
|
}
|
2016-12-09 19:45:46 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module.tx_searchcore < plugin.tx_searchcore
|