Update README.md

This commit is contained in:
Oleg Belyaev 2025-03-21 14:34:11 +03:00
parent 8e7239e66c
commit 356e945f0f

View file

@ -21,7 +21,7 @@ In order to recreate the server setup, you have to make the following steps:
- `abaevdict_en` and `abaevdict_ru` contain the preprocessed, standardized English and Russian XML editions of HEDO. This is done because maintaining a single bilingual database is impractical: users will want to interact with the English and Russian versions only. At some point, they may even diverge. For basic linking, entry IDs should suffice. - `abaevdict_en` and `abaevdict_ru` contain the preprocessed, standardized English and Russian XML editions of HEDO. This is done because maintaining a single bilingual database is impractical: users will want to interact with the English and Russian versions only. At some point, they may even diverge. For basic linking, entry IDs should suffice.
- `abaevdict_index` includes various helper documents that are not directly displayed, but used for faster lookup, and for REST API queries. - `abaevdict_index` includes various helper documents that are not directly displayed, but used for faster lookup, and for REST API queries.
4. Import the contents of the `entries` folder of [abaev-xml](https://code.cucurri.ru/abaevdict/abaev-xml) into the db `abaevdict`, and the file `biblio/abaev_biblio.xml` into the db `abaevdict_index`. 4. Import the contents of the `entries` folder of [abaev-xml](https://code.cucurri.ru/abaevdict/abaev-xml) into the db `abaevdict`, and the file `biblio/abaev_biblio.xml` into the db `abaevdict_index`. Do not import them as subdirectories/collections; just put them under the database root.
5. Execute the script `scripts/update-indices.bxs` from the GUI or CLI. This does the following things: 5. Execute the script `scripts/update-indices.bxs` from the GUI or CLI. This does the following things:
- optimizes `abaevdict`; - optimizes `abaevdict`;