Skip to content

Commit

Permalink
Clean up fields
Browse files Browse the repository at this point in the history
  • Loading branch information
ksuess committed Nov 13, 2022
1 parent 4872774 commit 75b74cb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 24 deletions.
22 changes: 0 additions & 22 deletions src/components/Searchkit/CustomESRequestSerializer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -226,34 +226,12 @@ export class CustomESRequestSerializer {
type: 'fvh',
},
},
{
freemanualtags_searchable: {
matched_fields: [
'freemanualtags_searchable',
'freemanualtags_searchable.exact',
],
type: 'fvh',
},
},
{
blocks_plaintext: {
matched_fields: ['blocks_plaintext', 'blocks_plaintext.exact'],
type: 'fvh',
},
},
{
subjects: {
matched_fields: ['subjects', 'subjects.exact'],
type: 'fvh',
},
},
// TODO highlight / matches in PDF
{
manualfilecontent: {
matched_fields: ['manualfilecontent', 'manualfilecontent.exact'],
type: 'fvh',
},
},
],
};
}
Expand Down
2 changes: 0 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ const applyConfig = (config) => {
'title^1.4',
'description^1.2',
'subjects^1.4',
'freemanualtags_searchable^1.4',
'blocks_plaintext',
'manualfilecontent',
],
filterLayout: 'dropdown',
trackVoltoMatomo: false,
Expand Down

0 comments on commit 75b74cb

Please sign in to comment.