Skip to content

Commit

Permalink
Disable unused suggest fields in solr (#1135)
Browse files Browse the repository at this point in the history
  • Loading branch information
bbpennel authored Dec 9, 2024
1 parent a4fb320 commit 8feac38
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions solr/config/schema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,8 @@
<!-- Type used to index the lat and lon components for the "location" FieldType -->
<dynamicField name="*_coordinate" type="tdouble" indexed="true" stored="false" />

<dynamicField name="*suggest" type="textSuggest" indexed="true" stored="false" multiValued="true" />
<!-- Disabling suggest fields due to performance issues -->
<!-- <dynamicField name="*suggest" type="textSuggest" indexed="true" stored="false" multiValued="true" /> -->

<!-- you must define copyField source and dest fields explicity or schemaBrowser doesn't work -->
<field name="all_text_timv" type="text" stored="false" indexed="true" multiValued="true" termVectors="true" termPositions="true" termOffsets="true"/>
Expand All @@ -358,8 +359,8 @@

<!-- <copyField source="*_tesim" dest="all_text_timv" maxChars="3000"/> -->
<!-- for suggestions -->
<copyField source="*_tesim" dest="suggest"/>
<copyField source="*_ssim" dest="suggest"/>
<!-- <copyField source="*_tesim" dest="suggest"/> -->
<!-- <copyField source="*_ssim" dest="suggest"/> -->

<copyField source="rights_statement_tesim" dest="rights_statement_search"/>
<copyField source="rights_statement_label_tesim" dest="rights_statement_search"/>
Expand Down

0 comments on commit 8feac38

Please sign in to comment.