Adds an additional contentField to the ArticleViewDocument.
The contentField holds all properties, which are tagged with sulu.search.field in the xml configuration.
Thus the developer can easily index custom fields and use them e.g. in a SearchController.
Why?
Some projects need more data in the index to create a desired search behaviour.
What's in this PR?
Adds an additional
contentField
to theArticleViewDocument
. ThecontentField
holds all properties, which are tagged withsulu.search.field
in the xml configuration.Thus the developer can easily index custom fields and use them e.g. in a
SearchController
.Why?
Some projects need more data in the index to create a desired search behaviour.
Example Usage
To Do