Guest User

Untitled

a guest
Apr 1st, 2013
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 48.05 KB | None | 0 0
  1.     <schema name="example" version="1.5">
  2.    
  3.      <fields>
  4.            
  5.         <!-- track fields -->
  6.         <field name="is_instrumental" type="boolean" indexed="true" stored="true" />
  7.         <field name="track_id" type="int" indexed="true" stored="true" />
  8.     <field name="track_title" type="text_general" indexed="true" stored="true" />
  9.     <field name="track_title_sort" type="string" indexed="true" stored="false"/>
  10.  
  11.         <!-- other fields removed -->
  12.        
  13.         <field name="_version_" type="long" indexed="true" stored="true"/>
  14.        
  15.      </fields>
  16.    
  17.    
  18.      <!-- Field to use to determine and enforce document uniqueness.
  19.          Unless this field is marked with required="false", it will be a required field
  20.       -->
  21.      <uniqueKey>track_id</uniqueKey>
  22.    
  23.       <!-- copyField commands copy one field to another at the time a document
  24.            is added to the index.  It's used either to index the same field differently,
  25.            or to add multiple fields to the same field for easier/faster searching.  -->
  26.    
  27.         <copyField source="track_title" dest="track_title_sort" />
  28.    
  29.        <!-- Text fields from SolrCell to search by default in our catch-all field -->
  30.          
  31.       <types>
  32.         <!-- field type definitions. The "name" attribute is
  33.           just a label to be used by field definitions.  The "class"
  34.           attribute and any other attributes determine the real
  35.           behavior of the fieldType.
  36.             Class names starting with "solr" refer to java classes in a
  37.           standard package such as org.apache.solr.analysis
  38.        -->
  39.    
  40.         <!-- The StrField type is not analyzed, but indexed/stored verbatim. -->
  41.         <fieldType name="string" class="solr.StrField" sortMissingLast="true" />
  42.    
  43.         <!-- boolean type: "true" or "false" -->
  44.         <fieldType name="boolean" class="solr.BoolField" sortMissingLast="true"/>
  45.    
  46.         <!-- sortMissingLast and sortMissingFirst attributes are optional attributes are
  47.             currently supported on types that are sorted internally as strings
  48.             and on numeric types.
  49.              This includes "string","boolean", and, as of 3.5 (and 4.x),
  50.              int, float, long, date, double, including the "Trie" variants.
  51.           - If sortMissingLast="true", then a sort on this field will cause documents
  52.             without the field to come after documents with the field,
  53.             regardless of the requested sort order (asc or desc).
  54.           - If sortMissingFirst="true", then a sort on this field will cause documents
  55.             without the field to come before documents with the field,
  56.             regardless of the requested sort order.
  57.           - If sortMissingLast="false" and sortMissingFirst="false" (the default),
  58.             then default lucene sorting will be used which places docs without the
  59.             field first in an ascending sort and last in a descending sort.
  60.        -->    
  61.    
  62.         <!--
  63.          Default numeric field types. For faster range queries, consider the tint/tfloat/tlong/tdouble types.
  64.        -->
  65.         <fieldType name="int" class="solr.TrieIntField" precisionStep="0" positionIncrementGap="0"/>
  66.         <fieldType name="float" class="solr.TrieFloatField" precisionStep="0" positionIncrementGap="0"/>
  67.         <fieldType name="long" class="solr.TrieLongField" precisionStep="0" positionIncrementGap="0"/>
  68.         <fieldType name="double" class="solr.TrieDoubleField" precisionStep="0" positionIncrementGap="0"/>
  69.    
  70.         <!--
  71.         Numeric field types that index each value at various levels of precision
  72.         to accelerate range queries when the number of values between the range
  73.         endpoints is large. See the javadoc for NumericRangeQuery for internal
  74.         implementation details.
  75.    
  76.         Smaller precisionStep values (specified in bits) will lead to more tokens
  77.         indexed per value, slightly larger index size, and faster range queries.
  78.         A precisionStep of 0 disables indexing at different precision levels.
  79.        -->
  80.         <fieldType name="tint" class="solr.TrieIntField" precisionStep="8" positionIncrementGap="0"/>
  81.         <fieldType name="tfloat" class="solr.TrieFloatField" precisionStep="8" positionIncrementGap="0"/>
  82.         <fieldType name="tlong" class="solr.TrieLongField" precisionStep="8" positionIncrementGap="0"/>
  83.         <fieldType name="tdouble" class="solr.TrieDoubleField" precisionStep="8" positionIncrementGap="0"/>
  84.    
  85.         <!-- The format for this date field is of the form 1995-12-31T23:59:59Z, and
  86.             is a more restricted form of the canonical representation of dateTime
  87.             http://www.w3.org/TR/xmlschema-2/#dateTime    
  88.             The trailing "Z" designates UTC time and is mandatory.
  89.             Optional fractional seconds are allowed: 1995-12-31T23:59:59.999Z
  90.             All other components are mandatory.
  91.    
  92.             Expressions can also be used to denote calculations that should be
  93.             performed relative to "NOW" to determine the value, ie...
  94.    
  95.                   NOW/HOUR
  96.                      ... Round to the start of the current hour
  97.                   NOW-1DAY
  98.                      ... Exactly 1 day prior to now
  99.                   NOW/DAY+6MONTHS+3DAYS
  100.                      ... 6 months and 3 days in the future from the start of
  101.                          the current day
  102.                          
  103.             Consult the DateField javadocs for more information.
  104.    
  105.             Note: For faster range queries, consider the tdate type
  106.          -->
  107.         <fieldType name="date" class="solr.TrieDateField" precisionStep="0" positionIncrementGap="0"/>
  108.    
  109.         <!-- A Trie based date field for faster date range queries and date faceting. -->
  110.         <fieldType name="tdate" class="solr.TrieDateField" precisionStep="6" positionIncrementGap="0"/>
  111.    
  112.    
  113.         <!--Binary data type. The data should be sent/retrieved in as Base64 encoded Strings -->
  114.         <fieldtype name="binary" class="solr.BinaryField"/>
  115.    
  116.         <!--
  117.          Note:
  118.          These should only be used for compatibility with existing indexes (created with lucene or older Solr versions).
  119.          Use Trie based fields instead. As of Solr 3.5 and 4.x, Trie based fields support sortMissingFirst/Last
  120.          
  121.          Plain numeric field types that store and index the text
  122.          value verbatim (and hence don't correctly support range queries, since the
  123.          lexicographic ordering isn't equal to the numeric ordering)
  124.        -->
  125.         <fieldType name="pint" class="solr.IntField"/>
  126.         <fieldType name="plong" class="solr.LongField"/>
  127.         <fieldType name="pfloat" class="solr.FloatField"/>
  128.         <fieldType name="pdouble" class="solr.DoubleField"/>
  129.         <fieldType name="pdate" class="solr.DateField" sortMissingLast="true"/>
  130.    
  131.         <!-- The "RandomSortField" is not used to store or search any
  132.             data.  You can declare fields of this type it in your schema
  133.             to generate pseudo-random orderings of your docs for sorting
  134.             or function purposes.  The ordering is generated based on the field
  135.             name and the version of the index. As long as the index version
  136.             remains unchanged, and the same field name is reused,
  137.             the ordering of the docs will be consistent.  
  138.             If you want different psuedo-random orderings of documents,
  139.             for the same version of the index, use a dynamicField and
  140.             change the field name in the request.
  141.         -->
  142.         <fieldType name="random" class="solr.RandomSortField" indexed="true" />
  143.    
  144.         <!-- solr.TextField allows the specification of custom text analyzers
  145.             specified as a tokenizer and a list of token filters. Different
  146.             analyzers may be specified for indexing and querying.
  147.    
  148.             The optional positionIncrementGap puts space between multiple fields of
  149.             this type on the same document, with the purpose of preventing false phrase
  150.             matching across fields.
  151.    
  152.             For more info on customizing your analyzer chain, please see
  153.             http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters
  154.         -->
  155.    
  156.         <!-- One can also specify an existing Analyzer class that has a
  157.             default constructor via the class attribute on the analyzer element.
  158.             Example:
  159.        <fieldType name="text_greek" class="solr.TextField">
  160.          <analyzer class="org.apache.lucene.analysis.el.GreekAnalyzer"/>
  161.        </fieldType>
  162.        -->
  163.    
  164.         <!-- A text field that only splits on whitespace for exact matching of words -->
  165.         <fieldType name="text_ws" class="solr.TextField" positionIncrementGap="100">
  166.           <analyzer>
  167.             <tokenizer class="solr.WhitespaceTokenizerFactory"/>
  168.           </analyzer>
  169.         </fieldType>
  170.    
  171.         <!-- A general text field that has reasonable, generic
  172.             cross-language defaults: it tokenizes with StandardTokenizer,
  173.          removes stop words from case-insensitive "stopwords.txt"
  174.          (empty by default), and down cases.  At query time only, it
  175.          also applies synonyms. -->
  176.         <fieldType name="text_general" class="solr.TextField" positionIncrementGap="100">
  177.           <analyzer type="index">
  178.             <tokenizer class="solr.StandardTokenizerFactory"/>
  179.             <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" enablePositionIncrements="true" />
  180.             <!-- in this example, we will only use synonyms at query time
  181.            <filter class="solr.SynonymFilterFactory" synonyms="index_synonyms.txt" ignoreCase="true" expand="false"/>
  182.            -->
  183.             <filter class="solr.LowerCaseFilterFactory"/>
  184.           </analyzer>
  185.           <analyzer type="query">
  186.             <tokenizer class="solr.StandardTokenizerFactory"/>
  187.             <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" enablePositionIncrements="true" />
  188.             <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="true"/>
  189.             <filter class="solr.LowerCaseFilterFactory"/>
  190.           </analyzer>
  191.         </fieldType>
  192.    
  193.         <!-- A text field with defaults appropriate for English: it
  194.             tokenizes with StandardTokenizer, removes English stop words
  195.             (lang/stopwords_en.txt), down cases, protects words from protwords.txt, and
  196.             finally applies Porter's stemming.  The query time analyzer
  197.             also applies synonyms from synonyms.txt. -->
  198.         <fieldType name="text_en" class="solr.TextField" positionIncrementGap="100">
  199.           <analyzer type="index">
  200.             <tokenizer class="solr.StandardTokenizerFactory"/>
  201.             <!-- in this example, we will only use synonyms at query time
  202.            <filter class="solr.SynonymFilterFactory" synonyms="index_synonyms.txt" ignoreCase="true" expand="false"/>
  203.            -->
  204.             <!-- Case insensitive stop word removal.
  205.              add enablePositionIncrements=true in both the index and query
  206.              analyzers to leave a 'gap' for more accurate phrase queries.
  207.            -->
  208.             <filter class="solr.StopFilterFactory"
  209.                    ignoreCase="true"
  210.                    words="lang/stopwords_en.txt"
  211.                    enablePositionIncrements="true"
  212.                    />
  213.             <filter class="solr.LowerCaseFilterFactory"/>
  214.         <filter class="solr.EnglishPossessiveFilterFactory"/>
  215.             <filter class="solr.KeywordMarkerFilterFactory" protected="protwords.txt"/>
  216.         <!-- Optionally you may want to use this less aggressive stemmer instead of PorterStemFilterFactory:
  217.            <filter class="solr.EnglishMinimalStemFilterFactory"/>
  218.         -->
  219.             <filter class="solr.PorterStemFilterFactory"/>
  220.           </analyzer>
  221.           <analyzer type="query">
  222.             <tokenizer class="solr.StandardTokenizerFactory"/>
  223.             <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="true"/>
  224.             <filter class="solr.StopFilterFactory"
  225.                    ignoreCase="true"
  226.                    words="lang/stopwords_en.txt"
  227.                    enablePositionIncrements="true"
  228.                    />
  229.             <filter class="solr.LowerCaseFilterFactory"/>
  230.         <filter class="solr.EnglishPossessiveFilterFactory"/>
  231.             <filter class="solr.KeywordMarkerFilterFactory" protected="protwords.txt"/>
  232.         <!-- Optionally you may want to use this less aggressive stemmer instead of PorterStemFilterFactory:
  233.            <filter class="solr.EnglishMinimalStemFilterFactory"/>
  234.         -->
  235.             <filter class="solr.PorterStemFilterFactory"/>
  236.           </analyzer>
  237.         </fieldType>
  238.    
  239.         <!-- A text field with defaults appropriate for English, plus
  240.          aggressive word-splitting and autophrase features enabled.
  241.          This field is just like text_en, except it adds
  242.          WordDelimiterFilter to enable splitting and matching of
  243.          words on case-change, alpha numeric boundaries, and
  244.          non-alphanumeric chars.  This means certain compound word
  245.          cases will work, for example query "wi fi" will match
  246.          document "WiFi" or "wi-fi".
  247.            -->
  248.         <fieldType name="text_en_splitting" class="solr.TextField" positionIncrementGap="100" autoGeneratePhraseQueries="true">
  249.           <analyzer type="index">
  250.             <tokenizer class="solr.WhitespaceTokenizerFactory"/>
  251.             <!-- in this example, we will only use synonyms at query time
  252.            <filter class="solr.SynonymFilterFactory" synonyms="index_synonyms.txt" ignoreCase="true" expand="false"/>
  253.            -->
  254.             <!-- Case insensitive stop word removal.
  255.              add enablePositionIncrements=true in both the index and query
  256.              analyzers to leave a 'gap' for more accurate phrase queries.
  257.            -->
  258.             <filter class="solr.StopFilterFactory"
  259.                    ignoreCase="true"
  260.                    words="lang/stopwords_en.txt"
  261.                    enablePositionIncrements="true"
  262.                    />
  263.             <filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="1" catenateNumbers="1" catenateAll="0" splitOnCaseChange="1"/>
  264.             <filter class="solr.LowerCaseFilterFactory"/>
  265.             <filter class="solr.KeywordMarkerFilterFactory" protected="protwords.txt"/>
  266.             <filter class="solr.PorterStemFilterFactory"/>
  267.           </analyzer>
  268.           <analyzer type="query">
  269.             <tokenizer class="solr.WhitespaceTokenizerFactory"/>
  270.             <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="true"/>
  271.             <filter class="solr.StopFilterFactory"
  272.                    ignoreCase="true"
  273.                    words="lang/stopwords_en.txt"
  274.                    enablePositionIncrements="true"
  275.                    />
  276.             <filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="0" catenateNumbers="0" catenateAll="0" splitOnCaseChange="1"/>
  277.             <filter class="solr.LowerCaseFilterFactory"/>
  278.             <filter class="solr.KeywordMarkerFilterFactory" protected="protwords.txt"/>
  279.             <filter class="solr.PorterStemFilterFactory"/>
  280.           </analyzer>
  281.         </fieldType>
  282.    
  283.         <!-- Less flexible matching, but less false matches.  Probably not ideal for product names,
  284.             but may be good for SKUs.  Can insert dashes in the wrong place and still match. -->
  285.         <fieldType name="text_en_splitting_tight" class="solr.TextField" positionIncrementGap="100" autoGeneratePhraseQueries="true">
  286.           <analyzer>
  287.             <tokenizer class="solr.WhitespaceTokenizerFactory"/>
  288.             <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="false"/>
  289.             <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_en.txt"/>
  290.             <filter class="solr.WordDelimiterFilterFactory" generateWordParts="0" generateNumberParts="0" catenateWords="1" catenateNumbers="1" catenateAll="0"/>
  291.             <filter class="solr.LowerCaseFilterFactory"/>
  292.             <filter class="solr.KeywordMarkerFilterFactory" protected="protwords.txt"/>
  293.             <filter class="solr.EnglishMinimalStemFilterFactory"/>
  294.             <!-- this filter can remove any duplicate tokens that appear at the same position - sometimes
  295.                 possible with WordDelimiterFilter in conjuncton with stemming. -->
  296.             <filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
  297.           </analyzer>
  298.         </fieldType>
  299.    
  300.         <!-- Just like text_general except it reverses the characters of
  301.          each token, to enable more efficient leading wildcard queries. -->
  302.         <fieldType name="text_general_rev" class="solr.TextField" positionIncrementGap="100">
  303.           <analyzer type="index">
  304.             <tokenizer class="solr.StandardTokenizerFactory"/>
  305.             <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" enablePositionIncrements="true" />
  306.             <filter class="solr.LowerCaseFilterFactory"/>
  307.             <filter class="solr.ReversedWildcardFilterFactory" withOriginal="true"
  308.               maxPosAsterisk="3" maxPosQuestion="2" maxFractionAsterisk="0.33"/>
  309.           </analyzer>
  310.           <analyzer type="query">
  311.             <tokenizer class="solr.StandardTokenizerFactory"/>
  312.             <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="true"/>
  313.             <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" enablePositionIncrements="true" />
  314.             <filter class="solr.LowerCaseFilterFactory"/>
  315.           </analyzer>
  316.         </fieldType>
  317.    
  318.         <!-- charFilter + WhitespaceTokenizer  -->
  319.         <!--
  320.        <fieldType name="text_char_norm" class="solr.TextField" positionIncrementGap="100" >
  321.          <analyzer>
  322.            <charFilter class="solr.MappingCharFilterFactory" mapping="mapping-ISOLatin1Accent.txt"/>
  323.            <tokenizer class="solr.WhitespaceTokenizerFactory"/>
  324.          </analyzer>
  325.        </fieldType>
  326.        -->
  327.    
  328.         <!-- This is an example of using the KeywordTokenizer along
  329.             With various TokenFilterFactories to produce a sortable field
  330.             that does not include some properties of the source text
  331.          -->
  332.         <fieldType name="alphaOnlySort" class="solr.TextField" sortMissingLast="true" omitNorms="true">
  333.           <analyzer>
  334.             <!-- KeywordTokenizer does no actual tokenizing, so the entire
  335.                 input string is preserved as a single token
  336.              -->
  337.             <tokenizer class="solr.KeywordTokenizerFactory"/>
  338.             <!-- The LowerCase TokenFilter does what you expect, which can be
  339.                 when you want your sorting to be case insensitive
  340.              -->
  341.             <filter class="solr.LowerCaseFilterFactory" />
  342.             <!-- The TrimFilter removes any leading or trailing whitespace -->
  343.             <filter class="solr.TrimFilterFactory" />
  344.             <!-- The PatternReplaceFilter gives you the flexibility to use
  345.                 Java Regular expression to replace any sequence of characters
  346.                 matching a pattern with an arbitrary replacement string,
  347.                 which may include back references to portions of the original
  348.                 string matched by the pattern.
  349.                
  350.                 See the Java Regular Expression documentation for more
  351.                 information on pattern and replacement string syntax.
  352.                
  353.                 http://java.sun.com/j2se/1.6.0/docs/api/java/util/regex/package-summary.html
  354.              -->
  355.             <filter class="solr.PatternReplaceFilterFactory"
  356.                    pattern="([^a-z])" replacement="" replace="all"
  357.            />
  358.           </analyzer>
  359.         </fieldType>
  360.        
  361.         <fieldtype name="phonetic" stored="false" indexed="true" class="solr.TextField" >
  362.           <analyzer>
  363.             <tokenizer class="solr.StandardTokenizerFactory"/>
  364.             <filter class="solr.DoubleMetaphoneFilterFactory" inject="false"/>
  365.           </analyzer>
  366.         </fieldtype>
  367.    
  368.         <fieldtype name="payloads" stored="false" indexed="true" class="solr.TextField" >
  369.           <analyzer>
  370.             <tokenizer class="solr.WhitespaceTokenizerFactory"/>
  371.             <!--
  372.            The DelimitedPayloadTokenFilter can put payloads on tokens... for example,
  373.            a token of "foo|1.4"  would be indexed as "foo" with a payload of 1.4f
  374.            Attributes of the DelimitedPayloadTokenFilterFactory :
  375.             "delimiter" - a one character delimiter. Default is | (pipe)
  376.          "encoder" - how to encode the following value into a playload
  377.             float -> org.apache.lucene.analysis.payloads.FloatEncoder,
  378.             integer -> o.a.l.a.p.IntegerEncoder
  379.             identity -> o.a.l.a.p.IdentityEncoder
  380.                Fully Qualified class name implementing PayloadEncoder, Encoder must have a no arg constructor.
  381.             -->
  382.             <filter class="solr.DelimitedPayloadTokenFilterFactory" encoder="float"/>
  383.           </analyzer>
  384.         </fieldtype>
  385.    
  386.         <!-- lowercases the entire field value, keeping it as a single token.  -->
  387.         <fieldType name="lowercase" class="solr.TextField" positionIncrementGap="100">
  388.           <analyzer>
  389.             <tokenizer class="solr.KeywordTokenizerFactory"/>
  390.             <filter class="solr.LowerCaseFilterFactory" />
  391.           </analyzer>
  392.         </fieldType>
  393.    
  394.         <!--
  395.          Example of using PathHierarchyTokenizerFactory at index time, so
  396.          queries for paths match documents at that path, or in descendent paths
  397.        -->
  398.         <fieldType name="descendent_path" class="solr.TextField">
  399.           <analyzer type="index">
  400.         <tokenizer class="solr.PathHierarchyTokenizerFactory" delimiter="/" />
  401.           </analyzer>
  402.           <analyzer type="query">
  403.         <tokenizer class="solr.KeywordTokenizerFactory" />
  404.           </analyzer>
  405.         </fieldType>
  406.         <!--
  407.          Example of using PathHierarchyTokenizerFactory at query time, so
  408.          queries for paths match documents at that path, or in ancestor paths
  409.        -->
  410.         <fieldType name="ancestor_path" class="solr.TextField">
  411.           <analyzer type="index">
  412.         <tokenizer class="solr.KeywordTokenizerFactory" />
  413.           </analyzer>
  414.           <analyzer type="query">
  415.         <tokenizer class="solr.PathHierarchyTokenizerFactory" delimiter="/" />
  416.           </analyzer>
  417.         </fieldType>
  418.    
  419.         <!-- since fields of this type are by default not stored or indexed,
  420.             any data added to them will be ignored outright.  -->
  421.         <fieldtype name="ignored" stored="false" indexed="false" multiValued="true" class="solr.StrField" />
  422.    
  423.         <!-- This point type indexes the coordinates as separate fields (subFields)
  424.          If subFieldType is defined, it references a type, and a dynamic field
  425.          definition is created matching *___<typename>.  Alternately, if
  426.          subFieldSuffix is defined, that is used to create the subFields.
  427.          Example: if subFieldType="double", then the coordinates would be
  428.            indexed in fields myloc_0___double,myloc_1___double.
  429.          Example: if subFieldSuffix="_d" then the coordinates would be indexed
  430.            in fields myloc_0_d,myloc_1_d
  431.          The subFields are an implementation detail of the fieldType, and end
  432.          users normally should not need to know about them.
  433.         -->
  434.         <fieldType name="point" class="solr.PointType" dimension="2" subFieldSuffix="_d"/>
  435.    
  436.         <!-- A specialized field for geospatial search. If indexed, this fieldType must not be multivalued. -->
  437.         <fieldType name="location" class="solr.LatLonType" subFieldSuffix="_coordinate"/>
  438.    
  439.         <!-- An alternative geospatial field type new to Solr 4.  It supports multiValued and polygon shapes.
  440.          For more information about this and other Spatial fields new to Solr 4, see:
  441.          http://wiki.apache.org/solr/SolrAdaptersForLuceneSpatial4
  442.        -->
  443.         <fieldType name="location_rpt" class="solr.SpatialRecursivePrefixTreeFieldType"
  444.            geo="true" distErrPct="0.025" maxDistErr="0.000009" units="degrees" />
  445.    
  446.        <!-- Money/currency field type. See http://wiki.apache.org/solr/MoneyFieldType
  447.            Parameters:
  448.              defaultCurrency: Specifies the default currency if none specified. Defaults to "USD"
  449.              precisionStep:   Specifies the precisionStep for the TrieLong field used for the amount
  450.              providerClass:   Lets you plug in other exchange provider backend:
  451.                               solr.FileExchangeRateProvider is the default and takes one parameter:
  452.                                 currencyConfig: name of an xml file holding exchange rates
  453.                               solr.OpenExchangeRatesOrgProvider uses rates from openexchangerates.org:
  454.                                 ratesFileLocation: URL or path to rates JSON file (default latest.json on the web)
  455.                                 refreshInterval: Number of minutes between each rates fetch (default: 1440, min: 60)
  456.       -->
  457.         <fieldType name="currency" class="solr.CurrencyField" precisionStep="8" defaultCurrency="USD" currencyConfig="currency.xml" />
  458.                  
  459.    
  460.    
  461.        <!-- some examples for different languages (generally ordered by ISO code) -->
  462.    
  463.         <!-- Arabic -->
  464.         <fieldType name="text_ar" class="solr.TextField" positionIncrementGap="100">
  465.           <analyzer>
  466.             <tokenizer class="solr.StandardTokenizerFactory"/>
  467.             <!-- for any non-arabic -->
  468.             <filter class="solr.LowerCaseFilterFactory"/>
  469.             <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_ar.txt" enablePositionIncrements="true"/>
  470.             <!-- normalizes ﻯ to ﻱ, etc -->
  471.             <filter class="solr.ArabicNormalizationFilterFactory"/>
  472.             <filter class="solr.ArabicStemFilterFactory"/>
  473.           </analyzer>
  474.         </fieldType>
  475.    
  476.         <!-- Bulgarian -->
  477.         <fieldType name="text_bg" class="solr.TextField" positionIncrementGap="100">
  478.           <analyzer>
  479.             <tokenizer class="solr.StandardTokenizerFactory"/>
  480.             <filter class="solr.LowerCaseFilterFactory"/>
  481.             <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_bg.txt" enablePositionIncrements="true"/>
  482.             <filter class="solr.BulgarianStemFilterFactory"/>      
  483.           </analyzer>
  484.         </fieldType>
  485.        
  486.         <!-- Catalan -->
  487.         <fieldType name="text_ca" class="solr.TextField" positionIncrementGap="100">
  488.           <analyzer>
  489.             <tokenizer class="solr.StandardTokenizerFactory"/>
  490.             <!-- removes l', etc -->
  491.             <filter class="solr.ElisionFilterFactory" ignoreCase="true" articles="lang/contractions_ca.txt"/>
  492.             <filter class="solr.LowerCaseFilterFactory"/>
  493.             <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_ca.txt" enablePositionIncrements="true"/>
  494.             <filter class="solr.SnowballPorterFilterFactory" language="Catalan"/>      
  495.           </analyzer>
  496.         </fieldType>
  497.        
  498.         <!-- CJK bigram (see text_ja for a Japanese configuration using morphological analysis) -->
  499.         <fieldType name="text_cjk" class="solr.TextField" positionIncrementGap="100">
  500.           <analyzer>
  501.             <tokenizer class="solr.StandardTokenizerFactory"/>
  502.             <!-- normalize width before bigram, as e.g. half-width dakuten combine  -->
  503.             <filter class="solr.CJKWidthFilterFactory"/>
  504.             <!-- for any non-CJK -->
  505.             <filter class="solr.LowerCaseFilterFactory"/>
  506.             <filter class="solr.CJKBigramFilterFactory"/>
  507.           </analyzer>
  508.         </fieldType>
  509.    
  510.         <!-- Czech -->
  511.         <fieldType name="text_cz" class="solr.TextField" positionIncrementGap="100">
  512.           <analyzer>
  513.             <tokenizer class="solr.StandardTokenizerFactory"/>
  514.             <filter class="solr.LowerCaseFilterFactory"/>
  515.             <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_cz.txt" enablePositionIncrements="true"/>
  516.             <filter class="solr.CzechStemFilterFactory"/>      
  517.           </analyzer>
  518.         </fieldType>
  519.        
  520.         <!-- Danish -->
  521.         <fieldType name="text_da" class="solr.TextField" positionIncrementGap="100">
  522.           <analyzer>
  523.             <tokenizer class="solr.StandardTokenizerFactory"/>
  524.             <filter class="solr.LowerCaseFilterFactory"/>
  525.             <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_da.txt" format="snowball" enablePositionIncrements="true"/>
  526.             <filter class="solr.SnowballPorterFilterFactory" language="Danish"/>      
  527.           </analyzer>
  528.         </fieldType>
  529.        
  530.         <!-- German -->
  531.         <fieldType name="text_de" class="solr.TextField" positionIncrementGap="100">
  532.           <analyzer>
  533.             <tokenizer class="solr.StandardTokenizerFactory"/>
  534.             <filter class="solr.LowerCaseFilterFactory"/>
  535.             <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_de.txt" format="snowball" enablePositionIncrements="true"/>
  536.             <filter class="solr.GermanNormalizationFilterFactory"/>
  537.             <filter class="solr.GermanLightStemFilterFactory"/>
  538.             <!-- less aggressive: <filter class="solr.GermanMinimalStemFilterFactory"/> -->
  539.             <!-- more aggressive: <filter class="solr.SnowballPorterFilterFactory" language="German2"/> -->
  540.           </analyzer>
  541.         </fieldType>
  542.        
  543.         <!-- Greek -->
  544.         <fieldType name="text_el" class="solr.TextField" positionIncrementGap="100">
  545.           <analyzer>
  546.             <tokenizer class="solr.StandardTokenizerFactory"/>
  547.             <!-- greek specific lowercase for sigma -->
  548.             <filter class="solr.GreekLowerCaseFilterFactory"/>
  549.             <filter class="solr.StopFilterFactory" ignoreCase="false" words="lang/stopwords_el.txt" enablePositionIncrements="true"/>
  550.             <filter class="solr.GreekStemFilterFactory"/>
  551.           </analyzer>
  552.         </fieldType>
  553.        
  554.         <!-- Spanish -->
  555.         <fieldType name="text_es" class="solr.TextField" positionIncrementGap="100">
  556.           <analyzer>
  557.             <tokenizer class="solr.StandardTokenizerFactory"/>
  558.             <filter class="solr.LowerCaseFilterFactory"/>
  559.             <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_es.txt" format="snowball" enablePositionIncrements="true"/>
  560.             <filter class="solr.SpanishLightStemFilterFactory"/>
  561.             <!-- more aggressive: <filter class="solr.SnowballPorterFilterFactory" language="Spanish"/> -->
  562.           </analyzer>
  563.         </fieldType>
  564.        
  565.         <!-- Basque -->
  566.         <fieldType name="text_eu" class="solr.TextField" positionIncrementGap="100">
  567.           <analyzer>
  568.             <tokenizer class="solr.StandardTokenizerFactory"/>
  569.             <filter class="solr.LowerCaseFilterFactory"/>
  570.             <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_eu.txt" enablePositionIncrements="true"/>
  571.             <filter class="solr.SnowballPorterFilterFactory" language="Basque"/>
  572.           </analyzer>
  573.         </fieldType>
  574.        
  575.         <!-- Persian -->
  576.         <fieldType name="text_fa" class="solr.TextField" positionIncrementGap="100">
  577.           <analyzer>
  578.             <!-- for ZWNJ -->
  579.             <charFilter class="solr.PersianCharFilterFactory"/>
  580.             <tokenizer class="solr.StandardTokenizerFactory"/>
  581.             <filter class="solr.LowerCaseFilterFactory"/>
  582.             <filter class="solr.ArabicNormalizationFilterFactory"/>
  583.             <filter class="solr.PersianNormalizationFilterFactory"/>
  584.             <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_fa.txt" enablePositionIncrements="true"/>
  585.           </analyzer>
  586.         </fieldType>
  587.        
  588.         <!-- Finnish -->
  589.         <fieldType name="text_fi" class="solr.TextField" positionIncrementGap="100">
  590.           <analyzer>
  591.             <tokenizer class="solr.StandardTokenizerFactory"/>
  592.             <filter class="solr.LowerCaseFilterFactory"/>
  593.             <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_fi.txt" format="snowball" enablePositionIncrements="true"/>
  594.             <filter class="solr.SnowballPorterFilterFactory" language="Finnish"/>
  595.             <!-- less aggressive: <filter class="solr.FinnishLightStemFilterFactory"/> -->
  596.           </analyzer>
  597.         </fieldType>
  598.        
  599.         <!-- French -->
  600.         <fieldType name="text_fr" class="solr.TextField" positionIncrementGap="100">
  601.           <analyzer>
  602.             <tokenizer class="solr.StandardTokenizerFactory"/>
  603.             <!-- removes l', etc -->
  604.             <filter class="solr.ElisionFilterFactory" ignoreCase="true" articles="lang/contractions_fr.txt"/>
  605.             <filter class="solr.LowerCaseFilterFactory"/>
  606.             <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_fr.txt" format="snowball" enablePositionIncrements="true"/>
  607.             <filter class="solr.FrenchLightStemFilterFactory"/>
  608.             <!-- less aggressive: <filter class="solr.FrenchMinimalStemFilterFactory"/> -->
  609.             <!-- more aggressive: <filter class="solr.SnowballPorterFilterFactory" language="French"/> -->
  610.           </analyzer>
  611.         </fieldType>
  612.        
  613.         <!-- Irish -->
  614.         <fieldType name="text_ga" class="solr.TextField" positionIncrementGap="100">
  615.           <analyzer>
  616.             <tokenizer class="solr.StandardTokenizerFactory"/>
  617.             <!-- removes d', etc -->
  618.             <filter class="solr.ElisionFilterFactory" ignoreCase="true" articles="lang/contractions_ga.txt"/>
  619.             <!-- removes n-, etc. position increments is intentionally false! -->
  620.             <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/hyphenations_ga.txt" enablePositionIncrements="false"/>
  621.             <filter class="solr.IrishLowerCaseFilterFactory"/>
  622.             <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_ga.txt" enablePositionIncrements="true"/>
  623.             <filter class="solr.SnowballPorterFilterFactory" language="Irish"/>
  624.           </analyzer>
  625.         </fieldType>
  626.        
  627.         <!-- Galician -->
  628.         <fieldType name="text_gl" class="solr.TextField" positionIncrementGap="100">
  629.           <analyzer>
  630.             <tokenizer class="solr.StandardTokenizerFactory"/>
  631.             <filter class="solr.LowerCaseFilterFactory"/>
  632.             <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_gl.txt" enablePositionIncrements="true"/>
  633.             <filter class="solr.GalicianStemFilterFactory"/>
  634.             <!-- less aggressive: <filter class="solr.GalicianMinimalStemFilterFactory"/> -->
  635.           </analyzer>
  636.         </fieldType>
  637.        
  638.         <!-- Hindi -->
  639.         <fieldType name="text_hi" class="solr.TextField" positionIncrementGap="100">
  640.           <analyzer>
  641.             <tokenizer class="solr.StandardTokenizerFactory"/>
  642.             <filter class="solr.LowerCaseFilterFactory"/>
  643.             <!-- normalizes unicode representation -->
  644.             <filter class="solr.IndicNormalizationFilterFactory"/>
  645.             <!-- normalizes variation in spelling -->
  646.             <filter class="solr.HindiNormalizationFilterFactory"/>
  647.             <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_hi.txt" enablePositionIncrements="true"/>
  648.             <filter class="solr.HindiStemFilterFactory"/>
  649.           </analyzer>
  650.         </fieldType>
  651.        
  652.         <!-- Hungarian -->
  653.         <fieldType name="text_hu" class="solr.TextField" positionIncrementGap="100">
  654.           <analyzer>
  655.             <tokenizer class="solr.StandardTokenizerFactory"/>
  656.             <filter class="solr.LowerCaseFilterFactory"/>
  657.             <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_hu.txt" format="snowball" enablePositionIncrements="true"/>
  658.             <filter class="solr.SnowballPorterFilterFactory" language="Hungarian"/>
  659.             <!-- less aggressive: <filter class="solr.HungarianLightStemFilterFactory"/> -->  
  660.           </analyzer>
  661.         </fieldType>
  662.        
  663.         <!-- Armenian -->
  664.         <fieldType name="text_hy" class="solr.TextField" positionIncrementGap="100">
  665.           <analyzer>
  666.             <tokenizer class="solr.StandardTokenizerFactory"/>
  667.             <filter class="solr.LowerCaseFilterFactory"/>
  668.             <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_hy.txt" enablePositionIncrements="true"/>
  669.             <filter class="solr.SnowballPorterFilterFactory" language="Armenian"/>
  670.           </analyzer>
  671.         </fieldType>
  672.        
  673.         <!-- Indonesian -->
  674.         <fieldType name="text_id" class="solr.TextField" positionIncrementGap="100">
  675.           <analyzer>
  676.             <tokenizer class="solr.StandardTokenizerFactory"/>
  677.             <filter class="solr.LowerCaseFilterFactory"/>
  678.             <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_id.txt" enablePositionIncrements="true"/>
  679.             <!-- for a less aggressive approach (only inflectional suffixes), set stemDerivational to false -->
  680.             <filter class="solr.IndonesianStemFilterFactory" stemDerivational="true"/>
  681.           </analyzer>
  682.         </fieldType>
  683.        
  684.         <!-- Italian -->
  685.         <fieldType name="text_it" class="solr.TextField" positionIncrementGap="100">
  686.           <analyzer>
  687.             <tokenizer class="solr.StandardTokenizerFactory"/>
  688.             <!-- removes l', etc -->
  689.             <filter class="solr.ElisionFilterFactory" ignoreCase="true" articles="lang/contractions_it.txt"/>
  690.             <filter class="solr.LowerCaseFilterFactory"/>
  691.             <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_it.txt" format="snowball" enablePositionIncrements="true"/>
  692.             <filter class="solr.ItalianLightStemFilterFactory"/>
  693.             <!-- more aggressive: <filter class="solr.SnowballPorterFilterFactory" language="Italian"/> -->
  694.           </analyzer>
  695.         </fieldType>
  696.        
  697.         <!-- Japanese using morphological analysis (see text_cjk for a configuration using bigramming)
  698.    
  699.             NOTE: If you want to optimize search for precision, use default operator AND in your query
  700.             parser config with <solrQueryParser defaultOperator="AND"/> further down in this file.  Use
  701.             OR if you would like to optimize for recall (default).
  702.        -->
  703.         <fieldType name="text_ja" class="solr.TextField" positionIncrementGap="100" autoGeneratePhraseQueries="false">
  704.           <analyzer>
  705.           <!-- Kuromoji Japanese morphological analyzer/tokenizer (JapaneseTokenizer)
  706.    
  707.               Kuromoji has a search mode (default) that does segmentation useful for search.  A heuristic
  708.               is used to segment compounds into its parts and the compound itself is kept as synonym.
  709.    
  710.               Valid values for attribute mode are:
  711.                  normal: regular segmentation
  712.                  search: segmentation useful for search with synonyms compounds (default)
  713.                extended: same as search mode, but unigrams unknown words (experimental)
  714.    
  715.               For some applications it might be good to use search mode for indexing and normal mode for
  716.               queries to reduce recall and prevent parts of compounds from being matched and highlighted.
  717.               Use <analyzer type="index"> and <analyzer type="query"> for this and mode normal in query.
  718.    
  719.               Kuromoji also has a convenient user dictionary feature that allows overriding the statistical
  720.               model with your own entries for segmentation, part-of-speech tags and readings without a need
  721.               to specify weights.  Notice that user dictionaries have not been subject to extensive testing.
  722.    
  723.               User dictionary attributes are:
  724.                         userDictionary: user dictionary filename
  725.                 userDictionaryEncoding: user dictionary encoding (default is UTF-8)
  726.    
  727.               See lang/userdict_ja.txt for a sample user dictionary file.
  728.    
  729.               Punctuation characters are discarded by default.  Use discardPunctuation="false" to keep them.
  730.    
  731.               See http://wiki.apache.org/solr/JapaneseLanguageSupport for more on Japanese language support.
  732.            -->
  733.             <tokenizer class="solr.JapaneseTokenizerFactory" mode="search"/>
  734.             <!--<tokenizer class="solr.JapaneseTokenizerFactory" mode="search" userDictionary="lang/userdict_ja.txt"/>-->
  735.             <!-- Reduces inflected verbs and adjectives to their base/dictionary forms (辞書形) -->
  736.             <filter class="solr.JapaneseBaseFormFilterFactory"/>
  737.             <!-- Removes tokens with certain part-of-speech tags -->
  738.             <filter class="solr.JapanesePartOfSpeechStopFilterFactory" tags="lang/stoptags_ja.txt" enablePositionIncrements="true"/>
  739.             <!-- Normalizes full-width romaji to half-width and half-width kana to full-width (Unicode NFKC subset) -->
  740.             <filter class="solr.CJKWidthFilterFactory"/>
  741.             <!-- Removes common tokens typically not useful for search, but have a negative effect on ranking -->
  742.             <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_ja.txt" enablePositionIncrements="true" />
  743.             <!-- Normalizes common katakana spelling variations by removing any last long sound character (U+30FC) -->
  744.             <filter class="solr.JapaneseKatakanaStemFilterFactory" minimumLength="4"/>
  745.             <!-- Lower-cases romaji characters -->
  746.             <filter class="solr.LowerCaseFilterFactory"/>
  747.           </analyzer>
  748.         </fieldType>
  749.        
  750.         <!-- Latvian -->
  751.         <fieldType name="text_lv" class="solr.TextField" positionIncrementGap="100">
  752.           <analyzer>
  753.             <tokenizer class="solr.StandardTokenizerFactory"/>
  754.             <filter class="solr.LowerCaseFilterFactory"/>
  755.             <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_lv.txt" enablePositionIncrements="true"/>
  756.             <filter class="solr.LatvianStemFilterFactory"/>
  757.           </analyzer>
  758.         </fieldType>
  759.        
  760.         <!-- Dutch -->
  761.         <fieldType name="text_nl" class="solr.TextField" positionIncrementGap="100">
  762.           <analyzer>
  763.             <tokenizer class="solr.StandardTokenizerFactory"/>
  764.             <filter class="solr.LowerCaseFilterFactory"/>
  765.             <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_nl.txt" format="snowball" enablePositionIncrements="true"/>
  766.             <filter class="solr.StemmerOverrideFilterFactory" dictionary="lang/stemdict_nl.txt" ignoreCase="false"/>
  767.             <filter class="solr.SnowballPorterFilterFactory" language="Dutch"/>
  768.           </analyzer>
  769.         </fieldType>
  770.        
  771.         <!-- Norwegian -->
  772.         <fieldType name="text_no" class="solr.TextField" positionIncrementGap="100">
  773.           <analyzer>
  774.             <tokenizer class="solr.StandardTokenizerFactory"/>
  775.             <filter class="solr.LowerCaseFilterFactory"/>
  776.             <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_no.txt" format="snowball" enablePositionIncrements="true"/>
  777.             <filter class="solr.SnowballPorterFilterFactory" language="Norwegian"/>
  778.             <!-- less aggressive: <filter class="solr.NorwegianLightStemFilterFactory"/> -->
  779.             <!-- singular/plural: <filter class="solr.NorwegianMinimalStemFilterFactory"/> -->
  780.           </analyzer>
  781.         </fieldType>
  782.        
  783.         <!-- Portuguese -->
  784.         <fieldType name="text_pt" class="solr.TextField" positionIncrementGap="100">
  785.           <analyzer>
  786.             <tokenizer class="solr.StandardTokenizerFactory"/>
  787.             <filter class="solr.LowerCaseFilterFactory"/>
  788.             <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_pt.txt" format="snowball" enablePositionIncrements="true"/>
  789.             <filter class="solr.PortugueseLightStemFilterFactory"/>
  790.             <!-- less aggressive: <filter class="solr.PortugueseMinimalStemFilterFactory"/> -->
  791.             <!-- more aggressive: <filter class="solr.SnowballPorterFilterFactory" language="Portuguese"/> -->
  792.             <!-- most aggressive: <filter class="solr.PortugueseStemFilterFactory"/> -->
  793.           </analyzer>
  794.         </fieldType>
  795.        
  796.         <!-- Romanian -->
  797.         <fieldType name="text_ro" class="solr.TextField" positionIncrementGap="100">
  798.           <analyzer>
  799.             <tokenizer class="solr.StandardTokenizerFactory"/>
  800.             <filter class="solr.LowerCaseFilterFactory"/>
  801.             <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_ro.txt" enablePositionIncrements="true"/>
  802.             <filter class="solr.SnowballPorterFilterFactory" language="Romanian"/>
  803.           </analyzer>
  804.         </fieldType>
  805.        
  806.         <!-- Russian -->
  807.         <fieldType name="text_ru" class="solr.TextField" positionIncrementGap="100">
  808.           <analyzer>
  809.             <tokenizer class="solr.StandardTokenizerFactory"/>
  810.             <filter class="solr.LowerCaseFilterFactory"/>
  811.             <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_ru.txt" format="snowball" enablePositionIncrements="true"/>
  812.             <filter class="solr.SnowballPorterFilterFactory" language="Russian"/>
  813.             <!-- less aggressive: <filter class="solr.RussianLightStemFilterFactory"/> -->
  814.           </analyzer>
  815.         </fieldType>
  816.        
  817.         <!-- Swedish -->
  818.         <fieldType name="text_sv" class="solr.TextField" positionIncrementGap="100">
  819.           <analyzer>
  820.             <tokenizer class="solr.StandardTokenizerFactory"/>
  821.             <filter class="solr.LowerCaseFilterFactory"/>
  822.             <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_sv.txt" format="snowball" enablePositionIncrements="true"/>
  823.             <filter class="solr.SnowballPorterFilterFactory" language="Swedish"/>
  824.             <!-- less aggressive: <filter class="solr.SwedishLightStemFilterFactory"/> -->
  825.           </analyzer>
  826.         </fieldType>
  827.        
  828.         <!-- Thai -->
  829.         <fieldType name="text_th" class="solr.TextField" positionIncrementGap="100">
  830.           <analyzer>
  831.             <tokenizer class="solr.StandardTokenizerFactory"/>
  832.             <filter class="solr.LowerCaseFilterFactory"/>
  833.             <filter class="solr.ThaiWordFilterFactory"/>
  834.             <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_th.txt" enablePositionIncrements="true"/>
  835.           </analyzer>
  836.         </fieldType>
  837.        
  838.         <!-- Turkish -->
  839.         <fieldType name="text_tr" class="solr.TextField" positionIncrementGap="100">
  840.           <analyzer>
  841.             <tokenizer class="solr.StandardTokenizerFactory"/>
  842.             <filter class="solr.TurkishLowerCaseFilterFactory"/>
  843.             <filter class="solr.StopFilterFactory" ignoreCase="false" words="lang/stopwords_tr.txt" enablePositionIncrements="true"/>
  844.             <filter class="solr.SnowballPorterFilterFactory" language="Turkish"/>
  845.           </analyzer>
  846.         </fieldType>
  847.    
  848.      </types>
  849.      
  850.       <!-- Similarity is the scoring routine for each document vs. a query.
  851.           A custom Similarity or SimilarityFactory may be specified here, but
  852.           the default is fine for most applications.  
  853.           For more info: http://wiki.apache.org/solr/SchemaXml#Similarity
  854.        -->
  855.       <!--
  856.         <similarity class="com.example.solr.CustomSimilarityFactory">
  857.           <str name="paramkey">param value</str>
  858.         </similarity>
  859.        -->
  860.    
  861.     </schema>
Add Comment
Please, Sign In to add comment