Highlight snippets in some contexts are not shown in the UI
Login into share, create a site.
Steps to reproduce:
1. Into the site created, create 2 files "myfile1-123" and "myfile2-123", each having the content the same as the name
2. Go to faceted search and search after "myfile AND myfile1".
Expected result: only myfile1-123 file is shown in results. A short preview is displayed under the location of the file, with the searched term (myfile1) highlighted.
Actual results: only myfile1-123 file is shown in results. The highlight is missing.
Also, please note that content of the file is not displayed in search results.
This is based on FacetedSearchHighlightedTermTest2.testHighlightedConjunction from ShareSimplification automated tests.
This has been manually reproduced as well.
On Alfresco Enterprise v5.2.3 the issue is not reproduced.
(see attached images to compare 6.0 results with 5.2.3)