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
{{ message }}
Repository navigation
Commit ea667a2
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ SHARE/trove (aka SHARtrove, shtrove) is is a service meant to store (meta)data y
8
8
9
9
note: this codebase is currently (and historically) rather entangled with [osf.io](https://osf.io), which has its shtrove at https://share.osf.io -- stay tuned for more-reusable open-source libraries and tools for working with (meta)data
10
10
11
-
see [how-to docs](./how-to/) for help setting up and using various things
11
+
see [how-to docs](./how-to/README.md) for help setting up and using various things
12
12
13
13
see [ARCHITECTURE.md](./ARCHITECTURE.md) for help navigating this codebase
Copy file name to clipboardExpand all lines: how-to/wrangle-index-strategies.md
+1-4Lines changed: 1 addition & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,10 +25,7 @@ major-version upgrade of elasticsearch) you should instead create a new index st
25
25
3. ensure all services are running up-to-date code (in local dev setup, restart `indexer`, `worker`, and `web`)
26
26
4. in the [shtrove admin site](./use-the-admin-site.md), use `/admin/search-indexes` to setup and backfill the new current version
27
27
5. use the trove api with `indexStrategy` query param (using the full `mystrategy__checksum...` identifier) to test/compare against the prior (default) version
28
-
6. when ready to switch over to use the new version by default, use `/admin/search-indexes`:
29
-
-
30
-
6. when ready to switch over use `/admin/search-indexes` to make the updated "current" the new default for searching with that strategy
31
-
7. when ready to delete a prior version, use `/admin/search-indexes`
28
+
6. when ready, use `/admin/search-indexes` to make the new version the default for searching and (when really really ready) to delete the prior version
32
29
33
30
## how to set up a new index strategy
34
31
1. add an instance of your `IndexStrategy` subclass to `share.search.index_strategy._AvailableStrategies` with a unique shortname (this should someday be configurable in settings, but is currently hard-coded)
0 commit comments