-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Affects Version/s: 8.9.0, 9.0.0
-
Component/s: Search - Indexing
-
1
-
Severity 3 - Minor
-
8
Reason
- ContentPropertyIndexSchema will register plugin index schema with the mapping by types as:
- extract path with type date -> DateFieldMapping
- extract path with type number -> LongFieldMapping
- ContentPropertiesExtractor will call ContentPropertyExtractionManagerImpl to extract and mapping stored property jsonString with schemaFields as:
- DateFieldTransformation -> return StringFieldDescriptor with StringFieldMapping
- NumberFieldTransformation -> return DoubleFieldDescriptor with DoubleFieldMapping
- Then it tries to adding the field mapping from step 2 by comparing with the registered ones from step 1. It throws warnings of mapping types conflicts. As we have:
- DateFieldMapping vs StringFieldMapping
- LongFieldMapping vs DoubleFieldMapping
According to the dev doc, it says type number will be indexed as double, and date can be represented as either String or long, so the above mappings are neither correct in both step 1 and 2.
Summary
- There is no workaround as it requires code changes in confluence to fix this issue.
- This issue will not affect the plugin's main functionality
- these properties will still be accessible via java code
- the issue mainly affect the Confluence lucene index for searching content properties, thus will affect the properties accessible by REST API
Need to fix content property field mappings
The Date field extractor need to use the new `DateFieldMapping` builder.
The Number field should be `DoubleFieldMapping`
- depends on
-
CDDC-614 Loading...
- is caused by
-
DCDORA-310 Loading...
- is resolved by
-
DORARTB-27 Loading...
- mentioned in
-
Page Loading...