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
@@ -249,11 +249,10 @@ This container holds a Mongo database called **clearlydefined**
249
249
250
250
The database contains two collections:
251
251
* curations (contains curations)
252
-
* definitions-paged (contains definitions)
252
+
* definitions-trimmed (contains definitions)
253
253
254
-
The reason the definitions database is called definitions-paged is because, previously, the definitions collection was not paged. The pagination was added in [this January 2019 pull request](https://github.com/clearlydefined/service/pull/364). Our production Azure setup includes both definitions and definitions-paged collections - the definitions-paged collection is the one that is actively used. This development environment includes the definitions-paged collection in order to more closely mirror production.
255
-
256
-
These collections are seeded using the Clearly Defined Mongo Seed container.
254
+
The reason the definitions database is called definitions-trimmed is because, previously, the definitions collection was paged. The pagination was added in [this January 2019 pull request](https://github.com/clearlydefined/service/pull/364). To improve performance and reduce cost of the definition database, [this Feb 2023 pull request](https://github.com/clearlydefined/service/pull/976) subsequently stores definitions without files. Our production Azure setup includes definitions-trimmed, that is actively used. This development environment includes the definitions-trimmed collection in order to mirror production.
255
+
This collection is seeded using the Clearly Defined Mongo Seed container.
257
256
258
257
If you have [mongodb](https://docs.mongodb.com/manual/installation/) installed on your local system, you can attach to the Mongo database with:
259
258
@@ -266,7 +265,7 @@ You can also do this through the [Docker desktop client](https://www.docker.com/
266
265
267
266
### Clearly Defined Mongo Seed
268
267
269
-
This container exists only to seed initial data into the Clearly Defined Mongo DB. It populates both the collections and definitions-paged collections with sample data.
268
+
This container exists only to seed initial data into the Clearly Defined Mongo DB. It populates both the collections and definitions-trimmed collections with sample data.
0 commit comments