• R/O
  • SSH
  • HTTPS

fess: コミット


コミットメタ情報

リビジョン1803 (tree)
日時2013-12-09 06:45:48
作者shinsuke

ログメッセージ

update for 8.2.0

変更サマリ

差分

--- fess-cloud/trunk/src/solr/solr/collection1/conf/schema.xml (revision 1802)
+++ fess-cloud/trunk/src/solr/solr/collection1/conf/schema.xml (revision 1803)
@@ -70,6 +70,15 @@
7070 <types> fieldType section
7171 indexed: true if this field should be indexed (searchable or sortable)
7272 stored: true if this field should be retrievable
73+ docValues: true if this field should have doc values. Doc values are
74+ useful for faceting, grouping, sorting and function queries. Although not
75+ required, doc values will make the index faster to load, more
76+ NRT-friendly and more memory-efficient. They however come with some
77+ limitations: they are currently only supported by StrField, UUIDField
78+ and all Trie*Fields, and depending on the field type, they might
79+ require the field to be single-valued, be required or have a default
80+ value (check the documentation of the field type you're interested in
81+ for more information)
7382 multiValued: true if this field may contain multiple values per document
7483 omitNorms: (expert) set to true to omit the norms associated with
7584 this field (this disables length normalization and index-time
@@ -90,18 +99,18 @@
9099 when adding a document.
91100 -->
92101
93- <field name="id" type="string" stored="true" indexed="true" required="true" multiValued="false"/>
102+ <field name="id" type="string" stored="true" indexed="true" required="true" multiValued="false" docValues="true" />
94103 <!-- core fields -->
95104 <field name="parentId" type="string" stored="true" indexed="true"/>
96105 <field name="segment" type="string" stored="true" indexed="true"/>
97106 <field name="digest" type="string" stored="true" indexed="false"/>
98107 <field name="boost" type="float" stored="true" indexed="false"/>
99- <field name="host" type="url" stored="true" indexed="true"/>
108+ <field name="host" type="domain_name" stored="true" indexed="true"/>
100109 <field name="site" type="string" stored="true" indexed="false"/>
101- <field name="url" type="url" stored="true" indexed="true" required="true"/>
110+ <field name="url" type="string" stored="true" indexed="true" required="true"/>
102111 <field name="content" type="text" stored="true" indexed="true" termVectors="true"/>
103112 <field name="title" type="text" stored="true" indexed="true" termVectors="true"/>
104- <field name="cache" type="string" stored="true" indexed="false" compressed="true"/>
113+ <field name="cache" type="string" stored="true" indexed="false"/>
105114 <field name="tstamp" type="tdate" stored="true" indexed="true"/>
106115 <field name="anchor" type="string" stored="true" indexed="true" multiValued="true"/>
107116 <field name="contentLength" type="tlong" stored="true" indexed="true"/>
@@ -397,6 +406,15 @@
397406 <dynamicField name="*_pf" type="pfloat" indexed="true" stored="true"/>
398407 <dynamicField name="*_pd" type="pdouble" indexed="true" stored="true"/>
399408 <dynamicField name="*_pdt" type="pdate" indexed="true" stored="true"/>
409+
410+ <!-- Suggest -->
411+ <dynamicField name="*_ts" type="text_suggest" indexed="true" stored="true"/>
412+ <dynamicField name="*_ss" type="string_suggest" indexed="true" stored="true"/>
413+<!--
414+ <copyField source="content" dest="content_ts"/>
415+ <copyField source="title" dest="title_ss"/>
416+-->
417+
400418 </fields>
401419
402420 <!-- Field to use to determine and enforce document uniqueness.
@@ -413,7 +431,10 @@
413431 standard package such as org.apache.solr.analysis
414432 -->
415433
416- <!-- The StrField type is not analyzed, but indexed/stored verbatim. -->
434+ <!-- The StrField type is not analyzed, but indexed/stored verbatim.
435+ It supports doc values but in that case the field needs to be
436+ single-valued and either required or have a default value.
437+ -->
417438 <fieldType name="string" class="solr.StrField" sortMissingLast="true" />
418439
419440 <!-- boolean type: "true" or "false" -->
@@ -437,6 +458,9 @@
437458
438459 <!--
439460 Default numeric field types. For faster range queries, consider the tint/tfloat/tlong/tdouble types.
461+
462+ These fields support doc values, but they require the field to be
463+ single-valued and either be required or have a default value.
440464 -->
441465 <fieldType name="int" class="solr.TrieIntField" precisionStep="0" positionIncrementGap="0"/>
442466 <fieldType name="float" class="solr.TrieFloatField" precisionStep="0" positionIncrementGap="0"/>
@@ -552,7 +576,7 @@
552576 <fieldType name="text_general" class="solr.TextField" positionIncrementGap="100">
553577 <analyzer type="index">
554578 <tokenizer class="solr.StandardTokenizerFactory"/>
555- <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" enablePositionIncrements="true" />
579+ <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" />
556580 <!-- in this example, we will only use synonyms at query time
557581 <filter class="solr.SynonymFilterFactory" synonyms="index_synonyms.txt" ignoreCase="true" expand="false"/>
558582 -->
@@ -560,7 +584,7 @@
560584 </analyzer>
561585 <analyzer type="query">
562586 <tokenizer class="solr.StandardTokenizerFactory"/>
563- <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" enablePositionIncrements="true" />
587+ <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" />
564588 <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="true"/>
565589 <filter class="solr.LowerCaseFilterFactory"/>
566590 </analyzer>
@@ -578,13 +602,10 @@
578602 <filter class="solr.SynonymFilterFactory" synonyms="index_synonyms.txt" ignoreCase="true" expand="false"/>
579603 -->
580604 <!-- Case insensitive stop word removal.
581- add enablePositionIncrements=true in both the index and query
582- analyzers to leave a 'gap' for more accurate phrase queries.
583605 -->
584606 <filter class="solr.StopFilterFactory"
585607 ignoreCase="true"
586608 words="lang/stopwords_en.txt"
587- enablePositionIncrements="true"
588609 />
589610 <filter class="solr.LowerCaseFilterFactory"/>
590611 <filter class="solr.EnglishPossessiveFilterFactory"/>
@@ -600,7 +621,6 @@
600621 <filter class="solr.StopFilterFactory"
601622 ignoreCase="true"
602623 words="lang/stopwords_en.txt"
603- enablePositionIncrements="true"
604624 />
605625 <filter class="solr.LowerCaseFilterFactory"/>
606626 <filter class="solr.EnglishPossessiveFilterFactory"/>
@@ -628,13 +648,10 @@
628648 <filter class="solr.SynonymFilterFactory" synonyms="index_synonyms.txt" ignoreCase="true" expand="false"/>
629649 -->
630650 <!-- Case insensitive stop word removal.
631- add enablePositionIncrements=true in both the index and query
632- analyzers to leave a 'gap' for more accurate phrase queries.
633651 -->
634652 <filter class="solr.StopFilterFactory"
635653 ignoreCase="true"
636654 words="lang/stopwords_en.txt"
637- enablePositionIncrements="true"
638655 />
639656 <filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="1" catenateNumbers="1" catenateAll="0" splitOnCaseChange="1"/>
640657 <filter class="solr.LowerCaseFilterFactory"/>
@@ -647,7 +664,6 @@
647664 <filter class="solr.StopFilterFactory"
648665 ignoreCase="true"
649666 words="lang/stopwords_en.txt"
650- enablePositionIncrements="true"
651667 />
652668 <filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="0" catenateNumbers="0" catenateAll="0" splitOnCaseChange="1"/>
653669 <filter class="solr.LowerCaseFilterFactory"/>
@@ -678,7 +694,7 @@
678694 <fieldType name="text_general_rev" class="solr.TextField" positionIncrementGap="100">
679695 <analyzer type="index">
680696 <tokenizer class="solr.StandardTokenizerFactory"/>
681- <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" enablePositionIncrements="true" />
697+ <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" />
682698 <filter class="solr.LowerCaseFilterFactory"/>
683699 <filter class="solr.ReversedWildcardFilterFactory" withOriginal="true"
684700 maxPosAsterisk="3" maxPosQuestion="2" maxFractionAsterisk="0.33"/>
@@ -686,7 +702,7 @@
686702 <analyzer type="query">
687703 <tokenizer class="solr.StandardTokenizerFactory"/>
688704 <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="true"/>
689- <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" enablePositionIncrements="true" />
705+ <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" />
690706 <filter class="solr.LowerCaseFilterFactory"/>
691707 </analyzer>
692708 </fieldType>
@@ -840,7 +856,7 @@
840856 <tokenizer class="solr.StandardTokenizerFactory"/>
841857 <!-- for any non-arabic -->
842858 <filter class="solr.LowerCaseFilterFactory"/>
843- <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_ar.txt" enablePositionIncrements="true"/>
859+ <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_ar.txt" />
844860 <!-- normalizes ﻯ to ﻱ, etc -->
845861 <filter class="solr.ArabicNormalizationFilterFactory"/>
846862 <filter class="solr.ArabicStemFilterFactory"/>
@@ -852,7 +868,7 @@
852868 <analyzer>
853869 <tokenizer class="solr.StandardTokenizerFactory"/>
854870 <filter class="solr.LowerCaseFilterFactory"/>
855- <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_bg.txt" enablePositionIncrements="true"/>
871+ <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_bg.txt" />
856872 <filter class="solr.BulgarianStemFilterFactory"/>
857873 </analyzer>
858874 </fieldType>
@@ -864,7 +880,7 @@
864880 <!-- removes l', etc -->
865881 <filter class="solr.ElisionFilterFactory" ignoreCase="true" articles="lang/contractions_ca.txt"/>
866882 <filter class="solr.LowerCaseFilterFactory"/>
867- <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_ca.txt" enablePositionIncrements="true"/>
883+ <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_ca.txt" />
868884 <filter class="solr.SnowballPorterFilterFactory" language="Catalan"/>
869885 </analyzer>
870886 </fieldType>
@@ -886,7 +902,7 @@
886902 <analyzer>
887903 <tokenizer class="solr.StandardTokenizerFactory"/>
888904 <filter class="solr.LowerCaseFilterFactory"/>
889- <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_cz.txt" enablePositionIncrements="true"/>
905+ <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_cz.txt" />
890906 <filter class="solr.CzechStemFilterFactory"/>
891907 </analyzer>
892908 </fieldType>
@@ -896,7 +912,7 @@
896912 <analyzer>
897913 <tokenizer class="solr.StandardTokenizerFactory"/>
898914 <filter class="solr.LowerCaseFilterFactory"/>
899- <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_da.txt" format="snowball" enablePositionIncrements="true"/>
915+ <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_da.txt" format="snowball" />
900916 <filter class="solr.SnowballPorterFilterFactory" language="Danish"/>
901917 </analyzer>
902918 </fieldType>
@@ -906,7 +922,7 @@
906922 <analyzer>
907923 <tokenizer class="solr.StandardTokenizerFactory"/>
908924 <filter class="solr.LowerCaseFilterFactory"/>
909- <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_de.txt" format="snowball" enablePositionIncrements="true"/>
925+ <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_de.txt" format="snowball" />
910926 <filter class="solr.GermanNormalizationFilterFactory"/>
911927 <filter class="solr.GermanLightStemFilterFactory"/>
912928 <!-- less aggressive: <filter class="solr.GermanMinimalStemFilterFactory"/> -->
@@ -920,7 +936,7 @@
920936 <tokenizer class="solr.StandardTokenizerFactory"/>
921937 <!-- greek specific lowercase for sigma -->
922938 <filter class="solr.GreekLowerCaseFilterFactory"/>
923- <filter class="solr.StopFilterFactory" ignoreCase="false" words="lang/stopwords_el.txt" enablePositionIncrements="true"/>
939+ <filter class="solr.StopFilterFactory" ignoreCase="false" words="lang/stopwords_el.txt" />
924940 <filter class="solr.GreekStemFilterFactory"/>
925941 </analyzer>
926942 </fieldType>
@@ -930,7 +946,7 @@
930946 <analyzer>
931947 <tokenizer class="solr.StandardTokenizerFactory"/>
932948 <filter class="solr.LowerCaseFilterFactory"/>
933- <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_es.txt" format="snowball" enablePositionIncrements="true"/>
949+ <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_es.txt" format="snowball" />
934950 <filter class="solr.SpanishLightStemFilterFactory"/>
935951 <!-- more aggressive: <filter class="solr.SnowballPorterFilterFactory" language="Spanish"/> -->
936952 </analyzer>
@@ -941,7 +957,7 @@
941957 <analyzer>
942958 <tokenizer class="solr.StandardTokenizerFactory"/>
943959 <filter class="solr.LowerCaseFilterFactory"/>
944- <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_eu.txt" enablePositionIncrements="true"/>
960+ <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_eu.txt" />
945961 <filter class="solr.SnowballPorterFilterFactory" language="Basque"/>
946962 </analyzer>
947963 </fieldType>
@@ -955,7 +971,7 @@
955971 <filter class="solr.LowerCaseFilterFactory"/>
956972 <filter class="solr.ArabicNormalizationFilterFactory"/>
957973 <filter class="solr.PersianNormalizationFilterFactory"/>
958- <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_fa.txt" enablePositionIncrements="true"/>
974+ <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_fa.txt" />
959975 </analyzer>
960976 </fieldType>
961977
@@ -964,7 +980,7 @@
964980 <analyzer>
965981 <tokenizer class="solr.StandardTokenizerFactory"/>
966982 <filter class="solr.LowerCaseFilterFactory"/>
967- <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_fi.txt" format="snowball" enablePositionIncrements="true"/>
983+ <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_fi.txt" format="snowball" />
968984 <filter class="solr.SnowballPorterFilterFactory" language="Finnish"/>
969985 <!-- less aggressive: <filter class="solr.FinnishLightStemFilterFactory"/> -->
970986 </analyzer>
@@ -977,7 +993,7 @@
977993 <!-- removes l', etc -->
978994 <filter class="solr.ElisionFilterFactory" ignoreCase="true" articles="lang/contractions_fr.txt"/>
979995 <filter class="solr.LowerCaseFilterFactory"/>
980- <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_fr.txt" format="snowball" enablePositionIncrements="true"/>
996+ <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_fr.txt" format="snowball" />
981997 <filter class="solr.FrenchLightStemFilterFactory"/>
982998 <!-- less aggressive: <filter class="solr.FrenchMinimalStemFilterFactory"/> -->
983999 <!-- more aggressive: <filter class="solr.SnowballPorterFilterFactory" language="French"/> -->
@@ -991,9 +1007,9 @@
9911007 <!-- removes d', etc -->
9921008 <filter class="solr.ElisionFilterFactory" ignoreCase="true" articles="lang/contractions_ga.txt"/>
9931009 <!-- removes n-, etc. position increments is intentionally false! -->
994- <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/hyphenations_ga.txt" enablePositionIncrements="false"/>
1010+ <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/hyphenations_ga.txt"/>
9951011 <filter class="solr.IrishLowerCaseFilterFactory"/>
996- <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_ga.txt" enablePositionIncrements="true"/>
1012+ <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_ga.txt"/>
9971013 <filter class="solr.SnowballPorterFilterFactory" language="Irish"/>
9981014 </analyzer>
9991015 </fieldType>
@@ -1003,7 +1019,7 @@
10031019 <analyzer>
10041020 <tokenizer class="solr.StandardTokenizerFactory"/>
10051021 <filter class="solr.LowerCaseFilterFactory"/>
1006- <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_gl.txt" enablePositionIncrements="true"/>
1022+ <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_gl.txt" />
10071023 <filter class="solr.GalicianStemFilterFactory"/>
10081024 <!-- less aggressive: <filter class="solr.GalicianMinimalStemFilterFactory"/> -->
10091025 </analyzer>
@@ -1018,7 +1034,7 @@
10181034 <filter class="solr.IndicNormalizationFilterFactory"/>
10191035 <!-- normalizes variation in spelling -->
10201036 <filter class="solr.HindiNormalizationFilterFactory"/>
1021- <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_hi.txt" enablePositionIncrements="true"/>
1037+ <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_hi.txt" />
10221038 <filter class="solr.HindiStemFilterFactory"/>
10231039 </analyzer>
10241040 </fieldType>
@@ -1028,7 +1044,7 @@
10281044 <analyzer>
10291045 <tokenizer class="solr.StandardTokenizerFactory"/>
10301046 <filter class="solr.LowerCaseFilterFactory"/>
1031- <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_hu.txt" format="snowball" enablePositionIncrements="true"/>
1047+ <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_hu.txt" format="snowball" />
10321048 <filter class="solr.SnowballPorterFilterFactory" language="Hungarian"/>
10331049 <!-- less aggressive: <filter class="solr.HungarianLightStemFilterFactory"/> -->
10341050 </analyzer>
@@ -1039,7 +1055,7 @@
10391055 <analyzer>
10401056 <tokenizer class="solr.StandardTokenizerFactory"/>
10411057 <filter class="solr.LowerCaseFilterFactory"/>
1042- <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_hy.txt" enablePositionIncrements="true"/>
1058+ <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_hy.txt" />
10431059 <filter class="solr.SnowballPorterFilterFactory" language="Armenian"/>
10441060 </analyzer>
10451061 </fieldType>
@@ -1049,7 +1065,7 @@
10491065 <analyzer>
10501066 <tokenizer class="solr.StandardTokenizerFactory"/>
10511067 <filter class="solr.LowerCaseFilterFactory"/>
1052- <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_id.txt" enablePositionIncrements="true"/>
1068+ <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_id.txt" />
10531069 <!-- for a less aggressive approach (only inflectional suffixes), set stemDerivational to false -->
10541070 <filter class="solr.IndonesianStemFilterFactory" stemDerivational="true"/>
10551071 </analyzer>
@@ -1062,7 +1078,7 @@
10621078 <!-- removes l', etc -->
10631079 <filter class="solr.ElisionFilterFactory" ignoreCase="true" articles="lang/contractions_it.txt"/>
10641080 <filter class="solr.LowerCaseFilterFactory"/>
1065- <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_it.txt" format="snowball" enablePositionIncrements="true"/>
1081+ <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_it.txt" format="snowball" />
10661082 <filter class="solr.ItalianLightStemFilterFactory"/>
10671083 <!-- more aggressive: <filter class="solr.SnowballPorterFilterFactory" language="Italian"/> -->
10681084 </analyzer>
@@ -1109,11 +1125,11 @@
11091125 <!-- Reduces inflected verbs and adjectives to their base/dictionary forms (辞書形) -->
11101126 <filter class="solr.JapaneseBaseFormFilterFactory"/>
11111127 <!-- Removes tokens with certain part-of-speech tags -->
1112- <filter class="solr.JapanesePartOfSpeechStopFilterFactory" tags="lang/stoptags_ja.txt" enablePositionIncrements="false"/>
1128+ <filter class="solr.JapanesePartOfSpeechStopFilterFactory" tags="lang/stoptags_ja.txt" />
11131129 <!-- Normalizes full-width romaji to half-width and half-width kana to full-width (Unicode NFKC subset) -->
11141130 <filter class="solr.CJKWidthFilterFactory"/>
11151131 <!-- Removes common tokens typically not useful for search, but have a negative effect on ranking -->
1116- <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_ja.txt" enablePositionIncrements="false" />
1132+ <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_ja.txt" />
11171133 <!-- Normalizes common katakana spelling variations by removing any last long sound character (U+30FC) -->
11181134 <filter class="solr.JapaneseKatakanaStemFilterFactory" minimumLength="4"/>
11191135 <!-- Lower-cases romaji characters -->
@@ -1126,7 +1142,7 @@
11261142 <analyzer>
11271143 <tokenizer class="solr.StandardTokenizerFactory"/>
11281144 <filter class="solr.LowerCaseFilterFactory"/>
1129- <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_lv.txt" enablePositionIncrements="true"/>
1145+ <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_lv.txt" />
11301146 <filter class="solr.LatvianStemFilterFactory"/>
11311147 </analyzer>
11321148 </fieldType>
@@ -1136,7 +1152,7 @@
11361152 <analyzer>
11371153 <tokenizer class="solr.StandardTokenizerFactory"/>
11381154 <filter class="solr.LowerCaseFilterFactory"/>
1139- <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_nl.txt" format="snowball" enablePositionIncrements="true"/>
1155+ <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_nl.txt" format="snowball" />
11401156 <filter class="solr.StemmerOverrideFilterFactory" dictionary="lang/stemdict_nl.txt" ignoreCase="false"/>
11411157 <filter class="solr.SnowballPorterFilterFactory" language="Dutch"/>
11421158 </analyzer>
@@ -1147,10 +1163,11 @@
11471163 <analyzer>
11481164 <tokenizer class="solr.StandardTokenizerFactory"/>
11491165 <filter class="solr.LowerCaseFilterFactory"/>
1150- <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_no.txt" format="snowball" enablePositionIncrements="true"/>
1166+ <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_no.txt" format="snowball" />
11511167 <filter class="solr.SnowballPorterFilterFactory" language="Norwegian"/>
1152- <!-- less aggressive: <filter class="solr.NorwegianLightStemFilterFactory"/> -->
1153- <!-- singular/plural: <filter class="solr.NorwegianMinimalStemFilterFactory"/> -->
1168+ <!-- less aggressive: <filter class="solr.NorwegianLightStemFilterFactory" variant="nb"/> -->
1169+ <!-- singular/plural: <filter class="solr.NorwegianMinimalStemFilterFactory" variant="nb"/> -->
1170+ <!-- The "light" and "minimal" stemmers support variants: nb=Bokmål, nn=Nynorsk, no=Both -->
11541171 </analyzer>
11551172 </fieldType>
11561173
@@ -1159,7 +1176,7 @@
11591176 <analyzer>
11601177 <tokenizer class="solr.StandardTokenizerFactory"/>
11611178 <filter class="solr.LowerCaseFilterFactory"/>
1162- <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_pt.txt" format="snowball" enablePositionIncrements="true"/>
1179+ <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_pt.txt" format="snowball" />
11631180 <filter class="solr.PortugueseLightStemFilterFactory"/>
11641181 <!-- less aggressive: <filter class="solr.PortugueseMinimalStemFilterFactory"/> -->
11651182 <!-- more aggressive: <filter class="solr.SnowballPorterFilterFactory" language="Portuguese"/> -->
@@ -1172,7 +1189,7 @@
11721189 <analyzer>
11731190 <tokenizer class="solr.StandardTokenizerFactory"/>
11741191 <filter class="solr.LowerCaseFilterFactory"/>
1175- <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_ro.txt" enablePositionIncrements="true"/>
1192+ <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_ro.txt" />
11761193 <filter class="solr.SnowballPorterFilterFactory" language="Romanian"/>
11771194 </analyzer>
11781195 </fieldType>
@@ -1182,7 +1199,7 @@
11821199 <analyzer>
11831200 <tokenizer class="solr.StandardTokenizerFactory"/>
11841201 <filter class="solr.LowerCaseFilterFactory"/>
1185- <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_ru.txt" format="snowball" enablePositionIncrements="true"/>
1202+ <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_ru.txt" format="snowball" />
11861203 <filter class="solr.SnowballPorterFilterFactory" language="Russian"/>
11871204 <!-- less aggressive: <filter class="solr.RussianLightStemFilterFactory"/> -->
11881205 </analyzer>
@@ -1193,7 +1210,7 @@
11931210 <analyzer>
11941211 <tokenizer class="solr.StandardTokenizerFactory"/>
11951212 <filter class="solr.LowerCaseFilterFactory"/>
1196- <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_sv.txt" format="snowball" enablePositionIncrements="true"/>
1213+ <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_sv.txt" format="snowball" />
11971214 <filter class="solr.SnowballPorterFilterFactory" language="Swedish"/>
11981215 <!-- less aggressive: <filter class="solr.SwedishLightStemFilterFactory"/> -->
11991216 </analyzer>
@@ -1205,7 +1222,7 @@
12051222 <tokenizer class="solr.StandardTokenizerFactory"/>
12061223 <filter class="solr.LowerCaseFilterFactory"/>
12071224 <filter class="solr.ThaiWordFilterFactory"/>
1208- <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_th.txt" enablePositionIncrements="true"/>
1225+ <filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_th.txt" />
12091226 </analyzer>
12101227 </fieldType>
12111228
@@ -1214,7 +1231,7 @@
12141231 <analyzer>
12151232 <tokenizer class="solr.StandardTokenizerFactory"/>
12161233 <filter class="solr.TurkishLowerCaseFilterFactory"/>
1217- <filter class="solr.StopFilterFactory" ignoreCase="false" words="lang/stopwords_tr.txt" enablePositionIncrements="true"/>
1234+ <filter class="solr.StopFilterFactory" ignoreCase="false" words="lang/stopwords_tr.txt" />
12181235 <filter class="solr.SnowballPorterFilterFactory" language="Turkish"/>
12191236 </analyzer>
12201237 </fieldType>
@@ -1239,6 +1256,27 @@
12391256 </analyzer>
12401257 </fieldType>
12411258
1259+ <fieldType name="text_suggest" class="solr.TextField" positionIncrementGap="100">
1260+ <analyzer>
1261+ <tokenizer class="jp.sf.fess.solr.plugin.analysis.SuggestTextTokenizerFactory" maxLength="10000" userDictionary="lang/userdict_suggest_ja.txt" userDictionaryEncoding="UTF-8" includePartOfSpeech="start:名詞,start:接頭詞,start:形容詞,middle:名詞,middle:接頭詞,middle:形容詞" excludePartOfSpeech="start:副詞可能" includeCharTerm="middle:な" preConverters="[{&quot;class&quot;:&quot;jp.sf.fess.suggest.converter.ICUConverter&quot;, &quot;args&quot;:[&quot;Fullwidth-Halfwidth&quot;]}, {&quot;class&quot;:&quot;jp.sf.fess.suggest.converter.ICUConverter&quot;, &quot;args&quot;:[&quot;Any-Lower&quot;]}, {&quot;class&quot;:&quot;jp.sf.fess.suggest.converter.NormalizeConverter&quot;}]" converters="[{&quot;class&quot;:&quot;jp.sf.fess.suggest.converter.SymbolConverter&quot;, &quot;method&quot;:[{&quot;name&quot;:&quot;addSymbol&quot;, &quot;args&quot;:[[&quot;0&quot;, &quot;1&quot;, &quot;2&quot;, &quot;3&quot;, &quot;4&quot;, &quot;5&quot;, &quot;6&quot;, &quot;7&quot;, &quot;8&quot;, &quot;9&quot;, &quot;0&quot;, &quot;1&quot;, &quot;2&quot;, &quot;3&quot;, &quot;4&quot;, &quot;5&quot;, &quot;6&quot;, &quot;7&quot;, &quot;8&quot;, &quot;9&quot;, &quot; &quot;, &quot; &quot;, &quot;【&quot;, &quot;】&quot;, &quot;・&quot;, &quot;(&quot;, &quot;)&quot;, &quot;(&quot;, &quot;)&quot;, &quot;%&quot;, &quot;%&quot;, &quot;~&quot;, &quot;+&quot;, &quot;#&quot;, &quot;#&quot;, &quot;\&quot;&quot;, &quot;&#148;&quot;, &quot;&#039;&quot;, &quot;\\&quot;, &quot;¥&quot;, &quot;[&quot;, &quot;]&quot;, &quot;「&quot;, &quot;」&quot;, &quot;『&quot;, &quot;』&quot;, &quot;&lt;&quot;, &quot;&gt;&quot;, &quot;<&quot;, &quot;>&quot;, &quot;/&quot;, &quot;/&quot;, &quot;{&quot;, &quot;}&quot;, &quot;&amp;&quot;, &quot;&&quot;, &quot;Ⅰ&quot;, &quot;Ⅱ&quot;, &quot;Ⅲ&quot;, &quot;Ⅳ&quot;, &quot;Ⅴ&quot;, &quot;Ⅵ&quot;, &quot;Ⅶ&quot;, &quot;Ⅷ&quot;, &quot;Ⅸ&quot;, &quot;Ⅹ&quot;, &quot;ⅰ&quot;, &quot;ⅱ&quot;, &quot;ⅲ&quot;, &quot;ⅳ&quot;, &quot;ⅴ&quot;, &quot;ⅵ&quot;, &quot;ⅶ&quot;, &quot;ⅷ&quot;, &quot;ⅸ&quot;, &quot;ⅹ&quot;, &quot;-&quot;, &quot;-&quot;, &quot;.&quot;]]}]}]"/>
1262+ </analyzer>
1263+ </fieldType>
1264+
1265+ <fieldType name="string_suggest" class="solr.TextField" positionIncrementGap="100">
1266+ <analyzer>
1267+ <tokenizer class="jp.sf.fess.solr.plugin.analysis.SuggestStringTokenizerFactory" userDictionary="lang/userdict_suggest_ja.txt" userDictionaryEncoding="UTF-8" preConverters="[{&quot;class&quot;:&quot;jp.sf.fess.suggest.converter.ICUConverter&quot;, &quot;args&quot;:[&quot;Fullwidth-Halfwidth&quot;]}, {&quot;class&quot;:&quot;jp.sf.fess.suggest.converter.ICUConverter&quot;, &quot;args&quot;:[&quot;Any-Lower&quot;]}, {&quot;class&quot;:&quot;jp.sf.fess.suggest.converter.NormalizeConverter&quot;}]" converters="[{&quot;class&quot;:&quot;jp.sf.fess.suggest.converter.SymbolConverter&quot;, &quot;method&quot;:[{&quot;name&quot;:&quot;addSymbol&quot;, &quot;args&quot;:[[&quot;0&quot;, &quot;1&quot;, &quot;2&quot;, &quot;3&quot;, &quot;4&quot;, &quot;5&quot;, &quot;6&quot;, &quot;7&quot;, &quot;8&quot;, &quot;9&quot;, &quot;0&quot;, &quot;1&quot;, &quot;2&quot;, &quot;3&quot;, &quot;4&quot;, &quot;5&quot;, &quot;6&quot;, &quot;7&quot;, &quot;8&quot;, &quot;9&quot;, &quot; &quot;, &quot; &quot;, &quot;【&quot;, &quot;】&quot;, &quot;・&quot;, &quot;(&quot;, &quot;)&quot;, &quot;(&quot;, &quot;)&quot;, &quot;%&quot;, &quot;%&quot;, &quot;~&quot;, &quot;+&quot;, &quot;#&quot;, &quot;#&quot;, &quot;\&quot;&quot;, &quot;&#148;&quot;, &quot;&#039;&quot;, &quot;\\&quot;, &quot;¥&quot;, &quot;[&quot;, &quot;]&quot;, &quot;「&quot;, &quot;」&quot;, &quot;『&quot;, &quot;』&quot;, &quot;&lt;&quot;, &quot;&gt;&quot;, &quot;<&quot;, &quot;>&quot;, &quot;/&quot;, &quot;/&quot;, &quot;{&quot;, &quot;}&quot;, &quot;&amp;&quot;, &quot;&&quot;, &quot;Ⅰ&quot;, &quot;Ⅱ&quot;, &quot;Ⅲ&quot;, &quot;Ⅳ&quot;, &quot;Ⅴ&quot;, &quot;Ⅵ&quot;, &quot;Ⅶ&quot;, &quot;Ⅷ&quot;, &quot;Ⅸ&quot;, &quot;Ⅹ&quot;, &quot;ⅰ&quot;, &quot;ⅱ&quot;, &quot;ⅲ&quot;, &quot;ⅳ&quot;, &quot;ⅴ&quot;, &quot;ⅵ&quot;, &quot;ⅶ&quot;, &quot;ⅷ&quot;, &quot;ⅸ&quot;, &quot;ⅹ&quot;, &quot;-&quot;, &quot;-&quot;, &quot;.&quot; ]]}]}]"/>
1268+ </analyzer>
1269+ </fieldType>
1270+
1271+ <fieldType name="domain_name" class="solr.TextField">
1272+ <analyzer type="index">
1273+ <tokenizer class="solr.PathHierarchyTokenizerFactory" delimiter="." reverse="true"/>
1274+ </analyzer>
1275+ <analyzer type="query">
1276+ <tokenizer class="solr.KeywordTokenizerFactory" />
1277+ </analyzer>
1278+ </fieldType>
1279+
12421280 </types>
12431281
12441282 <!-- Similarity is the scoring routine for each document vs. a query.
--- fess-cloud/trunk/src/solr/solr/collection1/conf/solrconfig.xml (revision 1802)
+++ fess-cloud/trunk/src/solr/solr/collection1/conf/solrconfig.xml (revision 1803)
@@ -35,7 +35,7 @@
3535 that you fully re-index after changing this setting as it can
3636 affect both how text is indexed and queried.
3737 -->
38- <luceneMatchVersion>LUCENE_41</luceneMatchVersion>
38+ <luceneMatchVersion>4.4</luceneMatchVersion>
3939
4040 <!-- <lib/> directives can be used to instruct Solr to load an Jars
4141 identified and use them to resolve any "plugins" specified in
@@ -66,6 +66,9 @@
6666 files in that directory which completely match the regex
6767 (anchored on both ends) will be included.
6868
69+ If a 'dir' option (with or without a regex) is used and nothing
70+ is found that matches, a warning will be logged.
71+
6972 The examples below can be used to load some solr-contribs along
7073 with their external dependencies.
7174 -->
@@ -81,13 +84,6 @@
8184 <lib dir="../contrib/velocity/lib" regex=".*\.jar" />
8285 <lib dir="../dist/" regex="solr-velocity-\d.*\.jar" />
8386
84-<lib dir="../lib" />
85-
86- <!-- If a 'dir' option (with or without a regex) is used and nothing
87- is found that matches, it will be ignored
88- -->
89- <lib dir="/total/crap/dir/ignored" />
90-
9187 <!-- an exact 'path' can be used instead of a 'dir' to specify a
9288 specific jar file. This will cause a serious error to be logged
9389 if it can't be loaded.
@@ -123,6 +119,39 @@
123119 <directoryFactory name="DirectoryFactory"
124120 class="${solr.directoryFactory:solr.NRTCachingDirectoryFactory}"/>
125121
122+ <!-- The CodecFactory for defining the format of the inverted index.
123+ The default implementation is SchemaCodecFactory, which is the official Lucene
124+ index format, but hooks into the schema to provide per-field customization of
125+ the postings lists and per-document values in the fieldType element
126+ (postingsFormat/docValuesFormat). Note that most of the alternative implementations
127+ are experimental, so if you choose to customize the index format, its a good
128+ idea to convert back to the official format e.g. via IndexWriter.addIndexes(IndexReader)
129+ before upgrading to a newer version to avoid unnecessary reindexing.
130+ -->
131+ <codecFactory class="solr.SchemaCodecFactory"/>
132+
133+ <!-- To enable dynamic schema REST APIs, use the following for <schemaFactory>:
134+
135+ <schemaFactory class="ManagedIndexSchemaFactory">
136+ <bool name="mutable">true</bool>
137+ <str name="managedSchemaResourceName">managed-schema</str>
138+ </schemaFactory>
139+
140+ When ManagedIndexSchemaFactory is specified, Solr will load the schema from
141+ he resource named in 'managedSchemaResourceName', rather than from schema.xml.
142+ Note that the managed schema resource CANNOT be named schema.xml. If the managed
143+ schema does not exist, Solr will create it after reading schema.xml, then rename
144+ 'schema.xml' to 'schema.xml.bak'.
145+
146+ Do NOT hand edit the managed schema - external modifications will be ignored and
147+ overwritten as a result of schema modification REST API calls.
148+
149+ When ManagedIndexSchemaFactory is specified with mutable = true, schema
150+ modification REST API calls will be allowed; otherwise, error responses will be
151+ sent back for these requests.
152+ -->
153+ <schemaFactory class="ClassicIndexSchemaFactory"/>
154+
126155 <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
127156 Index Config - These settings control low-level behavior of indexing
128157 Most example settings here show the default value, but are commented
@@ -154,7 +183,8 @@
154183 maxBufferedDocs sets a limit on the number of documents buffered
155184 before flushing.
156185 If both ramBufferSizeMB and maxBufferedDocs is set, then
157- Lucene will flush based on whichever limit is hit first. -->
186+ Lucene will flush based on whichever limit is hit first.
187+ The default is 100 MB. -->
158188 <!-- <ramBufferSizeMB>100</ramBufferSizeMB> -->
159189 <!-- <maxBufferedDocs>1000</maxBufferedDocs> -->
160190
@@ -212,7 +242,7 @@
212242 More details on the nuances of each LockFactory...
213243 http://wiki.apache.org/lucene-java/AvailableLockFactories
214244 -->
215- <!-- <lockType>native</lockType> -->
245+ <lockType>${solr.lock.type:native}</lockType>
216246
217247 <!-- Unlock On Startup
218248
@@ -221,7 +251,7 @@
221251 processes to safely access a lucene index, and should be used
222252 with care. Default is "false".
223253
224- This is not needed if lock type is 'none' or 'single'
254+ This is not needed if lock type is 'single'
225255 -->
226256 <!--
227257 <unlockOnStartup>false</unlockOnStartup>
@@ -240,12 +270,9 @@
240270 -->
241271
242272 <!-- Commit Deletion Policy
243-
244273 Custom deletion policies can be specified here. The class must
245274 implement org.apache.lucene.index.IndexDeletionPolicy.
246275
247- http://lucene.apache.org/java/3_5_0/api/core/org/apache/lucene/index/IndexDeletionPolicy.html
248-
249276 The default Solr IndexDeletionPolicy implementation supports
250277 deleting index commit points on number of commits, age of
251278 commit point and optimized status.
@@ -277,10 +304,11 @@
277304 To aid in advanced debugging, Lucene provides an "InfoStream"
278305 of detailed information when indexing.
279306
280- Setting The value to true will instruct the underlying Lucene
281- IndexWriter to write its debugging info the specified file
307+ Setting the value to true will instruct the underlying Lucene
308+ IndexWriter to write its info stream to solr's log. By default,
309+ this is enabled here, and controlled through log4j.properties.
282310 -->
283- <!-- <infoStream file="INFOSTREAM.txt">false</infoStream> -->
311+ <infoStream>true</infoStream>
284312 </indexConfig>
285313
286314
@@ -327,7 +355,7 @@
327355 commit before automatically triggering a new commit.
328356
329357 maxTime - Maximum amount of time in ms that is allowed to pass
330- since a document was added before automaticly
358+ since a document was added before automatically
331359 triggering a new commit.
332360 openSearcher - if false, the commit causes recent index changes
333361 to be flushed to stable storage, but does not cause a new
@@ -338,7 +366,7 @@
338366 -->
339367 <!--
340368 <autoCommit>
341- <maxTime>15000</maxTime>
369+ <maxTime>${solr.autoCommit.maxTime:15000}</maxTime>
342370 <openSearcher>false</openSearcher>
343371 </autoCommit>
344372 -->
@@ -349,9 +377,9 @@
349377 faster and more near-realtime friendly than a hard commit.
350378 -->
351379 <!--
352- <autoSoftCommit>
353- <maxTime>1000</maxTime>
354- </autoSoftCommit>
380+ <autoSoftCommit>
381+ <maxTime>${solr.autoSoftCommit.maxTime:-1}</maxTime>
382+ </autoSoftCommit>
355383 -->
356384
357385 <!-- Update Related Event Listeners
@@ -673,6 +701,13 @@
673701 POST. You can use POST to pass request parameters not
674702 fitting into the URL.
675703
704+ addHttpRequestToContext - if set to true, it will instruct
705+ the requestParsers to include the original HttpServletRequest
706+ object in the context map of the SolrQueryRequest under the
707+ key "httpRequest". It will not be used by any of the existing
708+ Solr components, but may be useful when developing custom
709+ plugins.
710+
676711 *** WARNING ***
677712 The settings below authorize Solr to fetch remote files, You
678713 should make sure your system has some authentication before
@@ -681,7 +716,8 @@
681716 -->
682717 <requestParsers enableRemoteStreaming="true"
683718 multipartUploadLimitInKB="2048000"
684- formdataUploadLimitInKB="2048"/>
719+ formdataUploadLimitInKB="2048"
720+ addHttpRequestToContext="false"/>
685721
686722 <!-- HTTP Caching
687723
@@ -971,7 +1007,12 @@
9711007 updateRequestProcessorChains that can be used by name
9721008 on each Update Request
9731009 -->
1010+ <!--
9741011 <lst name="defaults">
1012+ <str name="update.chain">dedupe</str>
1013+ </lst>
1014+ -->
1015+ <lst name="defaults">
9751016 <str name="update.chain">langid</str>
9761017 </lst>
9771018 </requestHandler>
@@ -1125,7 +1166,7 @@
11251166
11261167 http://wiki.apache.org/solr/SolrReplication
11271168
1128- It is also neccessary for SolrCloud to function (in Cloud mode, the
1169+ It is also necessary for SolrCloud to function (in Cloud mode, the
11291170 replication handler is used to bulk transfer segments when nodes
11301171 are added or need to recover).
11311172
@@ -1134,7 +1175,7 @@
11341175 <requestHandler name="/replication" class="solr.ReplicationHandler" >
11351176 <!--
11361177 To enable simple master/slave replication, uncomment one of the
1137- sections below, depending on wether this solr instance should be
1178+ sections below, depending on whether this solr instance should be
11381179 the "master" or a "slave". If this instance is a "slave" you will
11391180 also need to fill in the masterUrl to point to a real machine.
11401181 -->
@@ -1205,7 +1246,7 @@
12051246 -->
12061247 <searchComponent name="spellcheck" class="solr.SpellCheckComponent">
12071248
1208- <str name="queryAnalyzerFieldType">textSpell</str>
1249+ <str name="queryAnalyzerFieldType">content</str>
12091250
12101251 <!-- Multiple "Spell Checkers" can be declared and used by this
12111252 component
@@ -1214,7 +1255,7 @@
12141255 <!-- a spellchecker built from a field of the main index -->
12151256 <lst name="spellchecker">
12161257 <str name="name">default</str>
1217- <str name="field">name</str>
1258+ <str name="field">content</str>
12181259 <str name="classname">solr.DirectSolrSpellChecker</str>
12191260 <!-- the spellcheck distance measure used, the default is the internal levenshtein -->
12201261 <str name="distanceMeasure">internal</str>
@@ -1368,6 +1409,52 @@
13681409 <str>suggestContentJa</str>
13691410 </arr>
13701411 </requestHandler>
1412+ <!-- content_ts field -->
1413+ <searchComponent class="solr.SpellCheckComponent" name="suggestContentTs">
1414+ <lst name="spellchecker">
1415+ <str name="name">suggestContentTs</str>
1416+ <str name="classname">org.apache.solr.spelling.suggest.Suggester</str>
1417+ <str name="lookupImpl">org.apache.solr.spelling.suggest.fst.WFSTLookupFactory</str>
1418+ <str name="field">content_ts</str>
1419+ <float name="threshold">0.005</float>
1420+ <str name="buildOnCommit">true</str>
1421+ </lst>
1422+ </searchComponent>
1423+ <requestHandler class="org.apache.solr.handler.component.SearchHandler" name="/suggest/content_ts">
1424+ <lst name="defaults">
1425+ <str name="spellcheck">true</str>
1426+ <str name="spellcheck.dictionary">suggestContentTs</str>
1427+ <str name="spellcheck.onlyMorePopular">true</str>
1428+ <str name="spellcheck.count">5</str>
1429+ <str name="spellcheck.collate">true</str>
1430+ </lst>
1431+ <arr name="components">
1432+ <str>suggestContentTs</str>
1433+ </arr>
1434+ </requestHandler>
1435+ <!-- title_ss field -->
1436+ <searchComponent class="solr.SpellCheckComponent" name="suggestTitleSs">
1437+ <lst name="spellchecker">
1438+ <str name="name">suggestTitleSs</str>
1439+ <str name="classname">org.apache.solr.spelling.suggest.Suggester</str>
1440+ <str name="lookupImpl">org.apache.solr.spelling.suggest.fst.WFSTLookupFactory</str>
1441+ <str name="field">content_ja</str>
1442+ <float name="threshold">0.005</float>
1443+ <str name="buildOnCommit">true</str>
1444+ </lst>
1445+ </searchComponent>
1446+ <requestHandler class="org.apache.solr.handler.component.SearchHandler" name="/suggest/title_ss">
1447+ <lst name="defaults">
1448+ <str name="spellcheck">true</str>
1449+ <str name="spellcheck.dictionary">suggestTitleSs</str>
1450+ <str name="spellcheck.onlyMorePopular">true</str>
1451+ <str name="spellcheck.count">5</str>
1452+ <str name="spellcheck.collate">true</str>
1453+ </lst>
1454+ <arr name="components">
1455+ <str>suggestTitleSs</str>
1456+ </arr>
1457+ </requestHandler>
13711458
13721459 <!-- Term Vector Component
13731460
@@ -1694,7 +1781,18 @@
16941781 rich documents injected via ExtractingRequestHandler.
16951782 See more about langId at http://wiki.apache.org/solr/LanguageDetection
16961783 -->
1784+ <!--
16971785 <updateRequestProcessorChain name="langid">
1786+ <processor class="org.apache.solr.update.processor.TikaLanguageIdentifierUpdateProcessorFactory">
1787+ <str name="langid.fl">text,title,subject,description</str>
1788+ <str name="langid.langField">language_s</str>
1789+ <str name="langid.fallback">en</str>
1790+ </processor>
1791+ <processor class="solr.LogUpdateProcessorFactory" />
1792+ <processor class="solr.RunUpdateProcessorFactory" />
1793+ </updateRequestProcessorChain>
1794+ -->
1795+ <updateRequestProcessorChain name="langid">
16981796 <processor class="org.apache.solr.update.processor.LangDetectLanguageIdentifierUpdateProcessorFactory">
16991797 <str name="langid.fl">content</str>
17001798 <str name="langid.langField">solrlang_s</str>
@@ -1751,6 +1849,7 @@
17511849 <queryResponseWriter name="php" class="solr.PHPResponseWriter"/>
17521850 <queryResponseWriter name="phps" class="solr.PHPSerializedResponseWriter"/>
17531851 <queryResponseWriter name="csv" class="solr.CSVResponseWriter"/>
1852+ <queryResponseWriter name="schema.xml" class="solr.SchemaXmlResponseWriter"/>
17541853 -->
17551854
17561855 <queryResponseWriter name="json" class="solr.JSONResponseWriter">
@@ -1800,6 +1899,8 @@
18001899 <valueSourceParser name="myfunc"
18011900 class="com.mycompany.MyValueSourceParser" />
18021901 -->
1902+ <valueSourceParser name="wordfreq"
1903+ class="jp.sf.fess.solr.plugin.search.WordFreqValueSourceParser" />
18031904
18041905
18051906 <!-- Document Transformers
--- fess-cloud/trunk/src/solr/bin/server.sh (revision 1802)
+++ fess-cloud/trunk/src/solr/bin/server.sh (revision 1803)
@@ -7,6 +7,7 @@
77 SUBCMD=$1
88 SOLR_PORT=$2
99 NUM_SHARDS=$3
10+MAX_SHARDS=$4
1011 CONFIG_NAME=collection1
1112 LOG_DIR=$BASE_DIR/logs/
1213 PID_FILE=$BASE_DIR/bin/pid
@@ -41,6 +42,10 @@
4142 exit 1;
4243 fi
4344
45+if [ x$MAX_SHARDS = "x" ] ; then
46+ MAX_SHARDS=1
47+fi
48+
4449 mkdir -p $LOG_DIR
4550
4651 ZK_HOSTS="__FESS_ZK_HOSTS__"
@@ -55,7 +60,7 @@
5560 fi
5661 ZK_PORT=`expr $SOLR_PORT + 1000`
5762 echo "ZooKeeper Port: $ZK_PORT"
58- SOLR_OPTS="-Djetty.port=$SOLR_PORT -Dbootstrap_confdir=$BASE_DIR/solr/$CONFIG_NAME/conf -Dcollection.configName=$CONFIG_NAME -DzkRun -DzkHost=$ZK_HOSTS -DnumShards=$NUM_SHARDS -Dsolr.solr.home=$BASE_DIR/solr -Dsolr.core.name=$CONFIG_NAME"
63+ SOLR_OPTS="-Djetty.port=$SOLR_PORT -Dbootstrap_confdir=$BASE_DIR/solr/$CONFIG_NAME/conf -Dcollection.configName=$CONFIG_NAME -DzkRun -DzkHost=$ZK_HOSTS -DnumShards=$NUM_SHARDS -DmaxShardsPerNode=$MAX_SHARDS -Dsolr.solr.home=$BASE_DIR/solr -Dsolr.core.name=$CONFIG_NAME"
5964 echo "Start ZooKeeper and Solr server."
6065 elif [ x$SUBCMD = "xreplica" ] ; then
6166 ZK_PORT=`expr $SOLR_PORT + 1000`
--- fess-cloud/trunk/build.sh (revision 1802)
+++ fess-cloud/trunk/build.sh (revision 1803)
@@ -8,11 +8,11 @@
88 FESS_SRC_DIR=$BASE_DIR/src/fess
99 SOLR_SRC_DIR=$BASE_DIR/src/solr
1010
11-FESS_DOWNLOAD_URL="http://sourceforge.jp/frs/redir.php?m=jaist&f=%2Ffess%2F58184%2Ffess-server-8.0.0.zip"
12-FESS_NAME=fess-server-8.0.0
11+FESS_DOWNLOAD_URL="http://sourceforge.jp/frs/redir.php?m=iij&f=%2Ffess%2F59462%2Ffess-server-8.2.0.zip"
12+FESS_NAME=fess-server-8.2.0
1313 FESS_SERVER_DIR=$BUILD_DIR/$FESS_NAME
14-SOLR_DOWNLOAD_URL=http://archive.apache.org/dist/lucene/solr/4.1.0/solr-4.1.0.zip
15-SOLR_NAME=solr-4.1.0
14+SOLR_DOWNLOAD_URL=http://archive.apache.org/dist/lucene/solr/4.4.0/solr-4.4.0.zip
15+SOLR_NAME=solr-4.4.0
1616 SOLR_DIR=$BUILD_DIR/$SOLR_NAME
1717 SOLR_CLOUD_DIR=$BUILD_DIR/fess-cloud-jetty
1818
--- fess-cloud/trunk/test_run.sh (nonexistent)
+++ fess-cloud/trunk/test_run.sh (revision 1803)
@@ -0,0 +1,33 @@
1+#!/bin/bash
2+
3+bash build.sh localhost:9180,localhost:9280,localhost:9380
4+
5+cd target
6+cp -r fess-cloud-jetty/ fess-cloud-1
7+cp -r fess-cloud-jetty/ fess-cloud-2
8+cp -r fess-cloud-jetty/ fess-cloud-3
9+cp -r fess-cloud-jetty/ fess-cloud-4
10+chmod +x fess-cloud-*/bin/*.sh
11+cd ..
12+
13+cd target/fess-cloud-1/
14+bash bin/server.sh leader 8180 3 3
15+tail -f logs/solrcloud.log &
16+cd ../..
17+sleep 10
18+
19+cd target/fess-cloud-2/
20+bash bin/server.sh replica 8280
21+tail -f logs/solrcloud.log &
22+cd ../..
23+sleep 10
24+
25+cd target/fess-cloud-3/
26+bash bin/server.sh replica 8380
27+tail -f logs/solrcloud.log &
28+cd ../..
29+sleep 10
30+
31+cd target/fess-cloud-4/
32+bash bin/server.sh solr 8480
33+tail -f logs/solrcloud.log &
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
旧リポジトリブラウザで表示