Skip to content

Commit

Permalink
Merge pull request #452 from NYPL/main
Browse files Browse the repository at this point in the history
updated search scopes to QA
  • Loading branch information
charmingduchess authored Jan 27, 2025
2 parents 315d1ea + 78e35b0 commit 3d94989
Show file tree
Hide file tree
Showing 17 changed files with 75,082 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/elasticsearch/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ const SEARCH_SCOPES = {
fields: [
'title^5',
'title.folded^2',
'description.folded',
'description.foldedStemmed',
'subjectLiteral^2',
'subjectLiteral.folded',
'creatorLiteral^2',
'creatorLiteral.folded',
'contributorLiteral.folded',
'note.label.folded',
'note.label.foldedStemmed',
'publisherLiteral.folded',
'seriesStatement.folded',
'titleAlt.folded',
Expand Down
18 changes: 18 additions & 0 deletions test/fixtures/query-172660cdf69c5a68bad95e74a2867a9d.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"took": 27,
"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 3d94989

Please sign in to comment.