optimize an applcation by reducing indexing

Alfredo Cosco <[email protected]> Sat, 16 Mar 2024 15:19:42 +0100
Newsgroups gmane.text.xml.exist
Message-ID <CAB8fwFNzXniuL9xMupQGKgQDAT7o48-A+ujHJZ7RmVAE0=-O2g@mail.gmail.com>
Hello everyone,
I managed to save and restore my application. At this point, however, it is
clear that on the one hand I have to strengthen the infrastructure, on the
other optimize eXist and optimize the application.
In particular, the app prepares:
- an editing environment where documents in XML-TEI format are compiled,
- then, via a web interface, create a site around a collection of
documents, with a set of basic libraries for browsing, searching and
indexing.
Each site is self-consistent, in the sense that:
1) replicate the collection inside it in a /data folder,
2) contains the xquery libraries, and html/css/js files necessary to use
the collection.Furthermore, when a site is generated the old version is
placed in a backup folder.I think one problem is that collection X:
- exists in the context of editing
- is reproduced once in the context of the website,
- and therefore also replicated in the context of backups.
Therefore each collection is reproduced at least three times with a
consequent load on the indexes.I think that if I found a way not to index
the collections that are being edited and those in the context of backups
but only those publicly exposed on websites, the load on the system would
be less.How can I achieve this?

_______________________________________________
Exist-open mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/exist-open