ALF-8990: RSOLR 032: Model track and build from SOLR

- sort out SOLR per core analyzer properties
- required DD refactoring for loading these particular properties and not using I18NUtils as SOLR needs to over-ride the class loader used ....
- dictionary DAO now supports over-riding the default datatype behaviour (much easier to change the analyser properties file used)
- property added in repositoy.properties
   - lucene.defaultAnalyserResourceBundleName=alfresco/model/dataTypeAnalyzers
- models can define per property, class(type and aspects)  and model analysis behaviour by specifying an analyser bundle - see the data type model for model level config 
   - the same notation is used elsewhere
- SOLR and Repository config for this has to be kept in sync by hand - consider syncing these later

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28826 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Andrew Hind
2011-07-06 09:34:20 +00:00
parent 7901f5ce66
commit 9f0ab3d127
11 changed files with 43 additions and 15 deletions

View File

@@ -171,7 +171,7 @@ public class CMISBasePropertyDefinition implements CMISPropertyDefinition, Seria
break;
case TRUE:
default:
String analyserClassName = propDef.getDataType().getAnalyserClassName();
String analyserClassName = propDef.resolveAnalyserClassName();
if(propDef.getDataType().getName().equals(DataTypeDefinition.BOOLEAN))
{
orderable = true;