lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "@Nandan@" <>
Subject Reg:- StrField Analyzer Issue
Date Thu, 15 Jun 2017 01:23:22 GMT
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">


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


        <tokenizer class="solr.StandardTokenizerFactory"/>

        <filter class="solr.LowerCaseFilterFactory"/>



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

    <fieldType class="org.apache.solr.schema.TrieIntField"



    <field indexed="true" multiValued="false" name="title" stored="true"

    <field indexed="true" multiValued="false" name="isbn" stored="true"

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

    <field indexed="true" multiValued="false" name="author" stored="true"

    <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"/>


Please guide me for correct StrField.


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