On Mar 2, 2009, at 11:31 AM, Rakesh Sinha wrote:
I created a new field type as -

  <!-- TermVector.YES, Field.Index.Tokenized -->
  <field name="headline" type="string" indexed="true" stored="false"
required="true"/>

My understanding is that - the default type - string does not seem to
be tokenized ( since 2.9 - it is analyzed ).

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

How do I make the field to be TOKENIZED ( since Lucene 2.9, it is
ANALYZED )  with TermVector set to YES.  Thanks.

Use solr.TextField instead of solr.StrField - and specify the desired analysis configuration for the <fieldType>.

        Erik

Reply via email to