New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Evolution moteur de recherche #6475
Draft
victorlohezic
wants to merge
205
commits into
zestedesavoir:dev
Choose a base branch
from
victorlohezic:evolution_moteur_de_recherche
base: dev
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Evolution moteur de recherche #6475
victorlohezic
wants to merge
205
commits into
zestedesavoir:dev
from
victorlohezic:evolution_moteur_de_recherche
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ctorlohezic/zds-site into evolution_moteur_de_recherche
… obtenus en recherchant avec Typesense
… chapitre fonctionne
…ype de collection
… dans le makefile pour lancer le serveur typesense
Ils n'étaient pas présents dans la version ElasticSearch et il faudrait les implémenter d'une façon différente.
Possible apparemment seulement depuis la version 0.25.2
Et utilise directement directement delete_document()
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
C-Search
Concerne la recherche (et ElasticSearch)
QA Réservée Projet Étudiants
S-Évolution
Ajoute de nouvelles fonctionnalités
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Actuellement, Elasticsearch constitue le moteur de recherche de Zeste de Savoir. Il permet d’indexer le contenu du site (provenant de la base de données MariaDB et de fichiers sur le disque) puis de rechercher dans cet index. Cette PR consiste à remplacer l'ancienne version de Elasticsearch par la dernière version de Typesense.
On a donc mis à jour l'application searchv2 avec Typesense mais aussi les applications tutorialv2 et forum (pour générer les schémas des documents à ajouter aux collections).
Contrôle qualité
La procédure d'installation est la suivante :
Il est alors possible de faire une recherche, filtrer en fonction de : contenus publiés, messages du forum, sujets du forum.
Si on ajoute un contenu, le modifie, il est possible de faire make index-flagged pour l'indexer.