Fix for MOB-1185: Alfresco FTS does not respect dual tokenisation when ordering (and locale etc etc)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15300 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Andrew Hind
2009-07-21 10:34:08 +00:00
parent 1d57ca9d64
commit dece4d5a4b
6 changed files with 182 additions and 29 deletions

View File

@@ -265,7 +265,7 @@ public class CmisFunctionEvaluationContext implements FunctionEvaluationContext
/* (non-Javadoc)
* @see org.alfresco.repo.search.impl.querymodel.FunctionEvaluationContext#getLuceneSortField(org.alfresco.service.namespace.QName)
*/
public String getLuceneSortField(String propertyName)
public String getLuceneSortField(LuceneQueryParser lqp, String propertyName)
{
CMISPropertyDefinition propertyDef = cmisDictionaryService.findProperty(propertyName, null);
return propertyDef.getPropertyLuceneBuilder().getLuceneSortField();