search_core/Tests/Functional/Fixtures/BasicSetup.ts
Daniel Siepmann 0716b5a3d2
!!!|TASK: Replace abstractFields with CopyToProcessor
Do not implement feature with custom code, but use existing feature to
create search_abstract field.

Also execute DataProcessing in AbstractIndexer, not in TcaTableService,
to affect all current available indexers, not only some.
Also this is the place to be.
2017-12-19 17:03:05 +01:00

58 lines
1.6 KiB
TypeScript

plugin {
tx_searchcore {
settings {
connections {
elasticsearch {
host = localhost
port = 9200
}
}
indexing {
tt_content {
indexer = Codappix\SearchCore\Domain\Index\TcaIndexer
additionalWhereClause (
tt_content.CType NOT IN ('gridelements_pi1', 'list', 'div', 'menu', 'shortcut', 'search', 'login')
AND tt_content.bodytext != ''
)
mapping {
CType {
type = keyword
}
}
}
pages {
indexer = Codappix\SearchCore\Domain\Index\TcaIndexer\PagesIndexer
mapping {
CType {
type = keyword
}
}
dataProcessing {
0 = Codappix\SearchCore\DataProcessing\CopyToProcessor
0 {
from = abstract, description, bodytext
to = search_abstract
}
}
}
}
searching {
fields = search_title
facets {
contentTypes {
field = CType
}
}
}
}
}
}
module.tx_searchcore < plugin.tx_searchcore