Task #2779
Structured Subcorpus query optimisation
Statut: | Closed | Début: | 26/02/2020 | |
---|---|---|---|---|
Priorité: | Normal | Echéance: | ||
Assigné à: | - | % réalisé: | 100% |
|
Catégorie: | Corpus | Temps passé: | - | |
Version cible: | TXM 0.8.1 |
Description
In TXM 0.8.0, structured subcorpus creation was based on "[] expand to structure" queries which is quite slow compared to the "<structure>[] expand to structure".
Depending on the corpus matches, the 2 queries don't select the same matches. (There is no difference when they are computed on a MainCorpus, because there is only one match from 0 to END)
Solution¶
- The "[] expand to structure" query is replaced with the "<structure>[] expand to structure" query
- add a preference to switch to the old query
Documentation¶
Add the new preference page and new option
The "<structure>[] expand to structure" query is faster but won't work if the first position of the structure is not included in the corpus matches.
Both queries can break the corpus limits, but the first one more often since it needs only one available position in the structure to work
Historique
#1 Mis à jour par Matthieu Decorde il y a plus de 5 ans
- % réalisé changé de 0 à 80
#2 Mis à jour par Matthieu Decorde il y a plus de 5 ans
- Description mis à jour (diff)
#3 Mis à jour par Sebastien Jacquot il y a plus d'un an
- % réalisé changé de 80 à 100
#4 Mis à jour par Sebastien Jacquot il y a plus d'un an
- Statut changé de New à Closed