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
|
|
|
|
}
|
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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
searching {
|
2017-11-29 19:43:16 +01:00
|
|
|
fields {
|
|
|
|
query = _all
|
|
|
|
}
|
2016-12-15 14:02:40 +01:00
|
|
|
}
|
2016-12-09 19:45:46 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module.tx_searchcore < plugin.tx_searchcore
|