Text from files uploaded to a multi-valued blob property defined in a custom document type does not get full-text indexed.
How to reproduce:
- in Studio, define a new document type extending document type File
- add a multi-valued blob property to it
- define JSF UI layouts for file upload
- deploy to a Nuxeo instance
- create a document of the custom type
- add a text file or indexable PDF file to the multi-valued blob property
- perform a full-text search with text from the attached text file or indexable PDF file
Expected result: the created document is returned by the full-text search
Actual result: the created document is NOT returned by the full-text search
Note that if the same text file or indexable PDF file is uploaded to property files:files, the full-text search returns the document.
Property files:files is defined differently than the custom multi-valued blob property.
Changing the multi-valued blob property to a multi-valued complex property with a sub-field of type Blob named file (like files:files is defined) could be a workaround if changing the definition of the property is an option.