You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why are these changes being introduced:
* As we moved from an OpenSearch instance where we control the shard
count to OpenSearch Serverless where we do not, we need a way to more
consistently score results across shards. This change adds support for
global scoring (dfs_query_then_fetch under the hood) to allow us to
opt-in to that behavior when we need it.
Relevant ticket(s):
* https://mitlibraries.atlassian.net/browse/USE-602
How does this address that need:
* This adds a new feature flag for global scoring and updates the search
controller to use it when enabled.
Document any side effects to this change:
* This mode is more expensive to run, so if we notice performance
problems we may need to accept that some results are scored
inconsistently across shards.
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -100,6 +100,7 @@ See `Optional Environment Variables` for more information.
100
100
-`FEATURE_GEODATA`: Enables features related to geospatial data discovery. Setting this variable to `true` will trigger geodata
101
101
mode. Note that this is currently intended _only_ for the geodata app and
102
102
may have unexpected consequences if applied to other TIMDEX UI apps.
103
+
-`FEATURE_GLOBAL_SCORING`: Pass `useGlobalScoring: true` to all TIMDEX GraphQL search queries; defaults to false
103
104
-`FEATURE_OA_ALWAYS`: Enables OpenAccess links from OpenAlex whenever they are available, not just when LibKey does not return data. `OPENALEX_EMAIL` must also be set.
104
105
-`FEATURE_RECORD_LINK`: Display the 'View full record' link below each record.
105
106
-`FEATURE_SIMULATE_SEARCH_LATENCY`: DO NOT SET IN PRODUCTION. Set to ensure a minimum of a one second delay in returning search results. Useful to see spinners/loaders. Only introduces delay for results that take less than one second to complete.
0 commit comments