Changeset 1420


Ignore:
Timestamp:
Sep 26, 2010, 2:15:25 AM (10 years ago)
Author:
teymour
Message:

Suppression des caractères accentués lors de l'indexation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/lib/vendor/SolrServer/solr/conf/schema.xml

    r1157 r1420  
    235235        <filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="1" catenateNumbers="1" catenateAll="0" splitOnCaseChange="1"/>
    236236        <filter class="solr.LowerCaseFilterFactory"/>
     237        <filter class="solr.ASCIIFoldingFilterFactory" />
    237238        <filter class="solr.SnowballPorterFilterFactory" language="French" protected="protwords.txt"/>
    238239      </analyzer>
     
    247248        <filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="0" catenateNumbers="0" catenateAll="0" splitOnCaseChange="1"/>
    248249        <filter class="solr.LowerCaseFilterFactory"/>
     250        <filter class="solr.ASCIIFoldingFilterFactory" />
    249251        <filter class="solr.SnowballPorterFilterFactory" language="French" protected="protwords.txt"/>
    250252      </analyzer>
     
    261263        <filter class="solr.WordDelimiterFilterFactory" generateWordParts="0" generateNumberParts="0" catenateWords="1" catenateNumbers="1" catenateAll="0"/>
    262264        <filter class="solr.LowerCaseFilterFactory"/>
     265        <filter class="solr.ASCIIFoldingFilterFactory" />
    263266        <filter class="solr.SnowballPorterFilterFactory" language="French" protected="protwords.txt"/>
    264267        <!-- this filter can remove any duplicate tokens that appear at the same position - sometimes
     
    276279        <filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="1" catenateNumbers="1" catenateAll="0" splitOnCaseChange="0"/>
    277280        <filter class="solr.LowerCaseFilterFactory"/>
     281        <filter class="solr.ASCIIFoldingFilterFactory" />
    278282      </analyzer>
    279283      <analyzer type="query">
     
    287291        <filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="0" catenateNumbers="0" catenateAll="0" splitOnCaseChange="0"/>
    288292        <filter class="solr.LowerCaseFilterFactory"/>
     293        <filter class="solr.ASCIIFoldingFilterFactory" />
    289294      </analyzer>
    290295    </fieldType>
     
    300305        <filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="1" catenateNumbers="1" catenateAll="0" splitOnCaseChange="0"/>
    301306        <filter class="solr.LowerCaseFilterFactory"/>
     307        <filter class="solr.ASCIIFoldingFilterFactory" />
    302308        <filter class="solr.ReversedWildcardFilterFactory" withOriginal="true"
    303309           maxPosAsterisk="3" maxPosQuestion="2" maxFractionAsterisk="0.33"/>
     
    313319        <filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="0" catenateNumbers="0" catenateAll="0" splitOnCaseChange="0"/>
    314320        <filter class="solr.LowerCaseFilterFactory"/>
     321        <filter class="solr.ASCIIFoldingFilterFactory" />
    315322      </analyzer>
    316323    </fieldType>
     
    340347          -->
    341348        <filter class="solr.LowerCaseFilterFactory" />
     349        <filter class="solr.ASCIIFoldingFilterFactory" />
    342350        <!-- The TrimFilter removes any leading or trailing whitespace -->
    343351        <filter class="solr.TrimFilterFactory" />
     
    406414        <tokenizer class="solr.KeywordTokenizerFactory"/>
    407415        <filter class="solr.LowerCaseFilterFactory" />
     416        <filter class="solr.ASCIIFoldingFilterFactory" />
    408417      </analyzer>
    409418    </fieldType>
Note: See TracChangeset for help on using the changeset viewer.