lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jason rutherglen <jasonhus...@yahoo.com>
Subject Possible bug in copyField
Date Sat, 26 Aug 2006 01:02:05 GMT
When doing a copyField into a text field that is supposed to be stemmed I'm not seeing the
stemming occur.  

These are the relevant lines of XML from the schema.xml:

<fieldtype name="text" class="org.apache.solr.schema.TextField">
    <analyzer>
      <tokenizer class="org.apache.solr.analysis.StandardTokenizerFactory"/>
      <filter class="org.apache.solr.analysis.StandardFilterFactory"/>
      <filter class="org.apache.solr.analysis.LowerCaseFilterFactory"/>
      <filter class="org.apache.solr.analysis.StopFilterFactory"/>
    </analyzer>
  </fieldtype>
  <fieldtype name="text_stem" class="org.apache.solr.schema.TextField">
    <analyzer>
      <tokenizer class="org.apache.solr.analysis.StandardTokenizerFactory"/>
      <filter class="org.apache.solr.analysis.StandardFilterFactory"/>
      <filter class="org.apache.solr.analysis.LowerCaseFilterFactory"/>
      <filter class="org.apache.solr.analysis.StopFilterFactory"/>
      <filter class="org.apache.solr.analysis.EnglishPorterFilterFactory"/>
    </analyzer>
  </fieldtype>
</types>

<field name="title_stem"         type="text_stem"       indexed="true"   stored="true"/>

<copyField source="title" dest="title_stem"/>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message