Merged 5.2.N (5.2.2) to HEAD (5.2)

137030 gjames: Merged searchrep (5.2.1) to 5.2.N (5.2.1)
      136312 gjames: SEARCH-339: Fixing afts filterquery


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@137545 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Andrei Rebegea
2017-06-15 11:12:28 +00:00
parent b8f65c8fcb
commit 528aa67e3b
4 changed files with 46 additions and 6 deletions

View File

@@ -472,7 +472,7 @@ public class ResultMapper
if (found.get().getSets() != null)
{
Optional<IntervalSet> foundSet = found.get().getSets().stream().filter(aSet -> buck.getFirst().equals(aSet.getLabel())).findFirst();
if (foundSet.isPresent()) filterQuery = found.get().getField()+":"+foundSet.get().toRange();
if (foundSet.isPresent()) filterQuery = found.get().getField()+":"+foundSet.get().toAFTSQuery();
}
}
}