04-04-2012 06:08 AM
<?xml version="1.0" encoding="UTF-8"?>
<schema name="alfresco" version="1.0">
<types>
<fieldType name="alfrescoDataType" class="org.alfresco.solr.AlfrescoDataType">
<!– fieldType name="alfrescoDataType" class="solr.TextField" –>
<analyzer>
<charFilter class="solr.HTMLStripCharFilterFactory"/>
<tokenizer class="org.apache.solr.analysis.WhitespaceTokenizerFactory" />
<filter class="solr.PatternReplaceFilterFactory" pattern="^(\p{Punct}*)(.*?)(\p{Punct}*)$" replacement="$2"/>
<filter class="solr.LengthFilterFactory" min="1" max="100" />
<filter class="solr.LowerCaseFilterFactory"/>
<filter class="solr.WordDelimiterFilterFactory"
splitOnCaseChange="1"
splitOnNumerics="1"
stemEnglishPossessive="1"
generateWordParts="1"
generateNumberParts="1"
catenateWords="1"
catenateNumbers="1"
catenateAll="1"
preserveOriginal="1"/>
<filter class="solr.SnowballPorterFilterFactory" language="French" protected="protwords.txt"/>
<filter class="solr.WordDelimiterFilterFactory"
splitOnCaseChange="1"
splitOnNumerics="1"
stemEnglishPossessive="1"
generateWordParts="1"
generateNumberParts="1"
catenateWords="1"
catenateNumbers="1"
catenateAll="1"
preserveOriginal="1"/>
<filter class="org.apache.solr.analysis.LowerCaseFilterFactory" />
<filter class="solr.StopFilterFactory" ignoreCase="1" words="stopwords_fr.txt" enablePositionIncrements="true"/>
<filter class="solr.ASCIIFoldingFilterFactory"/>
<filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
</analyzer>
</fieldType>
</types>
<fields>
<field name="ID" type="alfrescoDataType" indexed="true" omitNorms="true" stored="true" multiValued="true"></field>
<dynamicField name="*" type="alfrescoDataType" indexed="true" omitNorms="true" stored="true" multiValued="true"></dynamicField>
</fields>
<uniqueKey>ID</uniqueKey>
<defaultSearchField>ID</defaultSearchField>
</schema>
# Data Type Index Analyzers
d_dictionary.datatype.d_text.analyzer=org.apache.lucene.analysis.fr.FrenchAnalyzer
d_dictionary.datatype.d_content.analyzer=org.apache.lucene.analysis.fr.FrenchAnalyzer
09-17-2012 05:24 AM
03-12-2013 11:13 AM
<filter class="solr.ISOLatin1AccentFilterFactory"/>
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.