Hello Chris,

Thank you for your help.

I checked differences between my files and your test files but I didn't
find bugs in my files.

All my files are in the same directory: collection1/conf

=> schema.xml content:

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE schema [
        <!ENTITY commonschema_types SYSTEM "commonschema_types.xml">
        <!ENTITY commonschema_others SYSTEM "commonschema_others.xml">
]>
<schema name="searchSolrSchema" version="1.5">

  <types>

    <fieldType name="text_stemmed" class="solr.TextField"
positionIncrementGap="100" omitNorms="true">
    <!-- FR : french -->
    <!-- least aggressive stemming -->
      <analyzer type="index">
        <tokenizer class="solr.StandardTokenizerFactory"/>
        <filter
class="com.kelkoo.search.solr.plugins.stemmer.fr.KelkooFrenchMinimalStemFilterFactory"/>

      </analyzer>
      <analyzer type="query">
        <tokenizer class="solr.StandardTokenizerFactory"/>
        <filter
class="com.kelkoo.search.solr.plugins.stemmer.fr.KelkooFrenchMinimalStemFilterFactory"/>
      </analyzer>
    </fieldType>

    &commonschema_types;

  </types>

  &commonschema_others;

</schema>

=> commonschema_types.xml content:

    <fieldType name="string" class="solr.StrField"
sortMissingLast="true" omitNorms="true"/>
    <fieldType name="boolean" class="solr.BoolField"
sortMissingLast="true" omitNorms="true"/>

    <!-- int is for exact ids, work with grouped=true and distrib=true -->
    <fieldType name="int"
class="solr.TrieIntField"                      precisionStep="0"
sortMissingLast="true" omitNorms="true" positionIncrementGap="0"/>

    <!-- tint is for numbers that need sorting and/or range queries
(precisionStep=4 has better performance than precisionStep=8)
                           and that do *not* need grouping (grouping
does not work in distrib=true for tint)-->
    <fieldType name="tint"
class="solr.TrieIntField"                     precisionStep="4"
sortMissingLast="true" omitNorms="true" positionIncrementGap="0"/>

    <fieldType name="long" class="solr.TrieLongField" precisionStep="0"
positionIncrementGap="0"/>
    <fieldType name="byte" class="solr.ByteField" omitNorms="true"/>
    <fieldType name="float" class="solr.TrieFloatField"
sortMissingLast="true" omitNorms="true"/>

     <!-- A general text field which tokenizes with StandardTokenizer
         omitNorms=true means the (index time) lenghtNorm will be the
same whatever the number of tokens.
          -->
    <fieldType name="text_general" class="solr.TextField"
positionIncrementGap="100" omitNorms="true">
      <analyzer type="index">
        <tokenizer class="solr.StandardTokenizerFactory"/>
      </analyzer>
      <analyzer type="query">
        <tokenizer class="solr.StandardTokenizerFactory"/>
      </analyzer>
    </fieldType>


&commonschema_others; include works.

Do you see something wrong ?

Unfortunately I cannot use the 4.3.0 version because I'm using solr.xml
sharedLib which does not work in 4.3.0
(cf.https://issues.apache.org/jira/browse/SOLR-4791).
Where can I found the newly voted 4.4 ?
I have this bug with the nightly 4.5-2013-07-18_06-04-44 found here
https://builds.apache.org/job/Solr-Artifacts-4.x/lastSuccessfulBuild/artifact/solr/package/
(the 18th of july).

Elodie Sannier


Kelkoo SAS
Société par Actions Simplifiée
Au capital de € 4.168.964,30
Siège social : 8, rue du Sentier 75002 Paris
425 093 069 RCS Paris

Ce message et les pièces jointes sont confidentiels et établis à l'attention 
exclusive de leurs destinataires. Si vous n'êtes pas le destinataire de ce 
message, merci de le détruire et d'en avertir l'expéditeur.

Reply via email to