mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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:
@@ -23,6 +23,7 @@ import static org.mockito.Mockito.mock;
|
||||
import static org.mockito.Mockito.when;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
|
||||
import org.alfresco.repo.dictionary.IndexTokenisationMode;
|
||||
import org.alfresco.service.cmr.dictionary.AssociationDefinition;
|
||||
@@ -293,4 +294,29 @@ public class MockClassAttributeDefinition implements PropertyDefinition, Associa
|
||||
{
|
||||
return targetMany;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.alfresco.service.cmr.dictionary.PropertyDefinition#getAnalyserResourceBundleName()
|
||||
*/
|
||||
@Override
|
||||
public String getAnalyserResourceBundleName()
|
||||
{
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.alfresco.service.cmr.dictionary.PropertyDefinition#resolveAnalyserClassName(java.lang.String, java.util.Locale, java.lang.ClassLoader)
|
||||
*/
|
||||
@Override
|
||||
public String resolveAnalyserClassName(Locale locale)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String resolveAnalyserClassName()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user