Fix for ALF-10231: SOLR: CMIS infolder and inTree fail as the noderef can not be turned into a PATH ....

- added ANCESTOR tracking to SOLR (as there is no wya to turn a node ref into a PATH)
- tested using the open cmis workbench using IN_FOLDER and in_TREE

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30557 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Andrew Hind
2011-09-15 18:38:20 +00:00
parent 2fdaab8c35
commit 446dd424ee
3 changed files with 18 additions and 7 deletions

View File

@@ -93,6 +93,7 @@ public class CmisFunctionEvaluationContext implements FunctionEvaluationContext
EXPOSED_FIELDS.add(AbstractLuceneQueryParser.FIELD_PRIMARYASSOCTYPEQNAME);
EXPOSED_FIELDS.add(AbstractLuceneQueryParser.FIELD_DBID);
EXPOSED_FIELDS.add(AbstractLuceneQueryParser.FIELD_TAG);
EXPOSED_FIELDS.add(AbstractLuceneQueryParser.FIELD_ANCESTOR);
EXPOSED_FIELDS.add("d:"+DataTypeDefinition.ANY.getLocalName());