-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FEATURE: WIP state of Neos 9 compatibility #7
base: main
Are you sure you want to change the base?
Conversation
Architecture like ContentRepository.Core; NOT reusing any of Flowpack.Elasticsearch or Flowpack.Elasticsearch.ContentRepositoryAdaptor. I am not sure whether we should re-use Neos.ContentRepository.Search (we'll see).
…earch object instead of passing it through
'_removed': | ||
search: | ||
indexing: false | ||
'_creationDateTime': | ||
search: | ||
indexing: false | ||
'_lastModificationDateTime': | ||
search: | ||
indexing: false | ||
'_lastPublicationDateTime': | ||
search: | ||
indexing: false | ||
'_hiddenBeforeDateTime': | ||
search: | ||
indexing: false | ||
'_hiddenAfterDateTime': | ||
search: | ||
indexing: false | ||
'_path': | ||
search: | ||
indexing: false | ||
'_nodeType': | ||
search: | ||
indexing: false | ||
'_name': | ||
search: | ||
indexing: false | ||
'_hidden': | ||
search: | ||
indexing: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These will all throw the exception: The property "PROPERTYNAME" on the subject was not accessible.
elasticSearchMapping: | ||
type: date | ||
format: 'date_time_no_millis' | ||
indexing: '${(node.hiddenAfterDateTime ? Date.format(node.hiddenAfterDateTime, "Y-m-d\TH:i:sP") : null)}' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we already supporting hiddenBeforeDateTime
and hiddenAfterDateTime
? Isn't this feature missing?
'neos_last_modification_date_time': | ||
search: | ||
elasticSearchMapping: | ||
type: date | ||
format: 'date_time_no_millis' | ||
indexing: '${(node.lastModificationDateTime ? Date.format(node.lastModificationDateTime, "Y-m-d\TH:i:sP") : null)}' | ||
|
||
'neos_last_publication_date_time': | ||
search: | ||
elasticSearchMapping: | ||
type: date | ||
format: 'date_time_no_millis' | ||
indexing: '${(node.lastPublicationDateTime ? Date.format(node.lastPublicationDateTime, "Y-m-d\TH:i:sP") : null)}' | ||
|
||
'neos_creation_date_time': | ||
search: | ||
elasticSearchMapping: | ||
type: date | ||
format: 'date_time_no_millis' | ||
indexing: '${(node.creationDateTime ? Date.format(node.creationDateTime, "Y-m-d\TH:i:sP") : null)}' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those date properties are now located at node.timestamps
BUGFIX: Fix accessing node type name
…raints TASK: Adjust to renamed NodeTypeConstraints
Adjust to Neos 9 beta 11 and add a bit of PHPStan
Architecture like ContentRepository.Core; NOT reusing any of Flowpack.Elasticsearch or Flowpack.Elasticsearch.ContentRepositoryAdaptor.
I am not sure whether we should re-use Neos.ContentRepository.Search (we'll see).