[ACE-5847] Highlight snippets in some contexts are not shown in the UI Created: 15-May-18  Updated: 07-Mar-19  Resolved: 16-May-18

Status: Closed
Project: Alfresco One Platform
Component/s: Search and Indexing (non-UI)
Affects Version/s: 5.1.N, 6.0, 6.0.1.1
Fix Version/s: None

Type: Bug Priority: Blocker
Reporter: Mihaela Popa [X] (Inactive) Assignee: Closed Issues
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File v5.2.3myfile1.png     PNG File v6.0.0myfile1.png    
Issue Links:
Shadow
Bug Priority:
Category 1
Regression Since:

 Description   

Highlight snippets in some contexts are not shown in the UI

Preconditions:
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)



 Comments   
Comment by Harry Peek [X] (Inactive) [ 16-May-18 ]

Also occurs on 5.2.3 so not a new regression, will set as won't fix for 6.0 and track in the search backlog

Comment by Iulia Burca [ 07-Mar-19 ]

This issue is reproducing also on:

ACS 6.0.1.1 with:

  • Solr 6
  • Alfresco Share v6.0.1.1
    (r0ef12aedb724e65a767cbe13a8d8db0223890f32-b6, Aikau 1.0.101.19, Spring Surf 6.0.1.1, Spring WebScripts 6.20, Freemarker 2.3.20-alfresco-patched, Rhino 1.7R4-alfresco-patched, Yui 2.9.0-alfresco-20141223)
  • Alfresco Enterprise v6.0.1
    (1 ra16385fb-b30) schema 10241

ACS 5.1.5 with:

  • Solr 4
  • Alfresco Share v5.1.5
    (r5af42d6220452696d15f7d5cccb2207bda28f6cb-b28, Aikau 1.0.67.11, Spring Surf 5.1.5, Spring WebScripts 6.15, Freemarker 2.3.20-alfresco-patched, Rhino 1.7R4-alfresco-patched, Yui 2.9.0-alfresco-20141223)
  • Alfresco Enterprise v5.1.5
    (r5af42d62-b28) schema 9100
Generated at Sat Jul 11 06:10:37 BST 2020 using JIRA 7.6.3#76005-sha1:8a4e38d34af948780dbf52044e7aafb13a7cae58.