forked from cadence/breezewiki
Solr fix multivalued in schema
This commit is contained in:
parent
e5e3876254
commit
aea627b27f
1 changed files with 2 additions and 2 deletions
|
@ -106,7 +106,7 @@ https://solr.apache.org/guide/solr/latest/indexing-guide/document-analysis.html#
|
||||||
</analyzer>
|
</analyzer>
|
||||||
</fieldType>
|
</fieldType>
|
||||||
|
|
||||||
<fieldType name="text_en_splitting_numbers" class="solr.TextField" positionIncrementGap="100" multiValued="true">
|
<fieldType name="text_en_number_splitting" class="solr.TextField" positionIncrementGap="100">
|
||||||
<analyzer type="index">
|
<analyzer type="index">
|
||||||
<tokenizer name="whitespace"/>
|
<tokenizer name="whitespace"/>
|
||||||
<filter name="stop" ignoreCase="true" words="lang/stopwords_en.txt"/>
|
<filter name="stop" ignoreCase="true" words="lang/stopwords_en.txt"/>
|
||||||
|
@ -145,7 +145,7 @@ https://solr.apache.org/guide/solr/latest/indexing-guide/document-analysis.html#
|
||||||
|
|
||||||
<!-- Fields -->
|
<!-- Fields -->
|
||||||
<field name="id" type="string" indexed="true" required="true" />
|
<field name="id" type="string" indexed="true" required="true" />
|
||||||
<field name="title" type="text_en_splitting_numbers" indexed="true" stored="true" required="true" />
|
<field name="title" type="text_en_number_splitting" indexed="true" stored="true" required="true" />
|
||||||
<field name="body" type="text_en_splitting" indexed="true" stored="true" required="true" />
|
<field name="body" type="text_en_splitting" indexed="true" stored="true" required="true" />
|
||||||
<field name="table" type="text_en_splitting" indexed="true" stored="false" required="true" />
|
<field name="table" type="text_en_splitting" indexed="true" stored="false" required="true" />
|
||||||
<field name="len" type="pint" indexed="false" stored="true" required="true" />
|
<field name="len" type="pint" indexed="false" stored="true" required="true" />
|
||||||
|
|
Loading…
Reference in a new issue