mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
[ACS-6427] Add search highlighting (#3637)
* [ACS-6427] Initial commit for search highlights * [ACS-6427] Add correct highlighting config, handle highlights in search results * [ACS-6427] CR fixes * [ACS-6427] CR fix * [ACS-6427] Locator fix * [ACS-6427] E2E fix --------- Co-authored-by: swapnil.verma <swapnil.verma@globallogic.com>
This commit is contained in:
co-authored by
swapnil.verma
parent
60a4abaa55
commit
4766bfe707
@@ -1532,7 +1532,27 @@
|
||||
"visible": "app.areCategoriesEnabled"
|
||||
}
|
||||
}
|
||||
]
|
||||
],
|
||||
"highlight": {
|
||||
"prefix": "<span class='aca-highlight'>",
|
||||
"postfix": "</span>",
|
||||
"fields": [
|
||||
{
|
||||
"field": "cm:title"
|
||||
},
|
||||
{
|
||||
"field": "cm:name"
|
||||
},
|
||||
{
|
||||
"field": "cm:description",
|
||||
"snippetCount": 1
|
||||
},
|
||||
{
|
||||
"field": "cm:content",
|
||||
"snippetCount": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "app.search.dublin-core",
|
||||
@@ -1688,7 +1708,27 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
],
|
||||
"highlight": {
|
||||
"prefix": "<span class='aca-highlight'>",
|
||||
"postfix": "</span>",
|
||||
"fields": [
|
||||
{
|
||||
"field": "cm:title"
|
||||
},
|
||||
{
|
||||
"field": "cm:name"
|
||||
},
|
||||
{
|
||||
"field": "cm:description",
|
||||
"snippetCount": 1
|
||||
},
|
||||
{
|
||||
"field": "cm:content",
|
||||
"snippetCount": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "app.search.effectivity",
|
||||
@@ -1846,7 +1886,27 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
],
|
||||
"highlight": {
|
||||
"prefix": "<span class='aca-highlight'>",
|
||||
"postfix": "</span>",
|
||||
"fields": [
|
||||
{
|
||||
"field": "cm:title"
|
||||
},
|
||||
{
|
||||
"field": "cm:name"
|
||||
},
|
||||
{
|
||||
"field": "cm:description",
|
||||
"snippetCount": 1
|
||||
},
|
||||
{
|
||||
"field": "cm:content",
|
||||
"snippetCount": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user