Reg:- StrField Analyzer Issue

"@Nandan@" <[email protected]>
Newsgroups gmane.comp.jakarta.lucene.solr.user,gmane.comp.apache.webservices.general
Message-ID <CAMeMZX8Qh2WDddZcS5Cz2_x_Au3XCj=TVm4TTFKWrwaW4_E0rg@mail.gmail.com>
Hi ,

I am using Apache Solr for do advanced searching with my Big Data.

When I am creating Solr core , then by default for text field , it is
coming as TextField data type and class.

Can you please tell me how to change TextField to StrField. My table
contains record into English as well as Chinese .

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<schema name="autoSolrSchema" version="1.5">

  <types>

    <fieldType class="org.apache.solr.schema.StrField" name="StrField">

      <analyzer>

        <tokenizer class="solr.StandardTokenizerFactory"/>

        <filter class="solr.LowerCaseFilterFactory"/>

      </analyzer>

    </fieldType>

    <fieldType class="org.apache.solr.schema.UUIDField" name="UUIDField"/>

    <fieldType class="org.apache.solr.schema.TrieIntField"
name="TrieIntField"/>

  </types>

  <fields>

    <field indexed="true" multiValued="false" name="title" stored="true"
type="StrField"/>

    <field indexed="true" multiValued="false" name="isbn" stored="true"
type="StrField"/>

    <field indexed="true" multiValued="false" name="publisher"
stored="true" type="StrField"/>

    <field indexed="true" multiValued="false" name="author" stored="true"
type="StrField"/>

    <field docValues="true" indexed="true" multiValued="false" name="id"
stored="true" type="UUIDField"/>

    <field docValues="true" indexed="true" multiValued="false" name="date"
stored="true" type="TrieIntField"/>

  </fields>


Please guide me for correct StrField.

Thanks.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.