Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HYC-2003 - Disable unused suggest fields in solr #1135

Merged
merged 1 commit into from
Dec 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading