mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-09-17 14:21:39 +00:00
[ACS-9710] Test Share with Elasticsearch (#3496)
This commit is contained in:
@@ -1130,7 +1130,10 @@ public class Search extends BaseScopableProcessorExtension implements Initializi
|
|||||||
// for example the key could be: {!afts}@{http://www.alfresco.org/model/content/1.0}created:[NOW/DAY-1DAY TO NOW/DAY+1DAY]
|
// for example the key could be: {!afts}@{http://www.alfresco.org/model/content/1.0}created:[NOW/DAY-1DAY TO NOW/DAY+1DAY]
|
||||||
// qName => @{http://www.alfresco.org/model/content/1.0}created
|
// qName => @{http://www.alfresco.org/model/content/1.0}created
|
||||||
// 7 => {!afts}
|
// 7 => {!afts}
|
||||||
|
if (key.startsWith("{!afts}"))
|
||||||
|
{
|
||||||
key = key.substring(7);
|
key = key.substring(7);
|
||||||
|
}
|
||||||
String qName = key.substring(0, key.lastIndexOf(':'));
|
String qName = key.substring(0, key.lastIndexOf(':'));
|
||||||
|
|
||||||
// Retrieve the previous facet queries
|
// Retrieve the previous facet queries
|
||||||
|
Reference in New Issue
Block a user