Skip to content

Commit

Permalink
add genreform to key word search scope
Browse files Browse the repository at this point in the history
  • Loading branch information
charmingduchess committed Jan 31, 2025
1 parent 6764a9a commit 8d1cc24
Show file tree
Hide file tree
Showing 8 changed files with 44,107 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/elasticsearch/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const SEARCH_SCOPES = {
'titleDisplay.folded',
'contentsTitle.folded',
'tableOfContents.folded',
'genreForm',
'donor.folded',
'parallelTitle.folded^5',
'parallelTitleDisplay.folded',
Expand Down
18 changes: 18 additions & 0 deletions test/fixtures/query-30fa9978a3de9d1d665b329a9ad2bef6.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"took": 58,
"timed_out": false,
"_shards": {
"total": 2,
"successful": 2,
"skipped": 0,
"failed": 0
},
"hits": {
"total": {
"value": 0,
"relation": "eq"
},
"max_score": null,
"hits": []
}
}
Loading

0 comments on commit 8d1cc24

Please sign in to comment.