Skip to content
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

Recherche : prototype full text avec SearchVectorField #917

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

raphodn
Copy link
Contributor

@raphodn raphodn commented Sep 25, 2023

Quoi ?

Prototype de recherche full text avec PostgreSQL, et les outils SearchVector, SearchQuery, SearchRank et SearchVectorField. Documentation ici.

  • 2 types de recherches (2 nouveaux onglets dans la recherche)
    • l'une en temps réel sur certains champs de Siae
    • l'autre sur un nouveau champ Siae.search_vector
  • commande pour re-remplir le champ

Reste à faire

  • Ré-indexer automatiquement le search_vector à chaque modification de la structure (via un post_save ou form.save())
  • fine-tuner : weights, rank, config, OR/AND

@raphodn raphodn self-assigned this Sep 25, 2023
@raphodn raphodn added the recette-jetable Déclenche une recette jetable sur CC label Sep 25, 2023
@github-actions
Copy link
Contributor

🥁 La recette jetable est prête ! 👉 Je veux tester cette PR !

@raphodn raphodn force-pushed the raphodn/siae-search-full-text-vector branch 2 times, most recently from 8533721 to ed64550 Compare September 25, 2023 10:19
@raphodn raphodn marked this pull request as draft September 25, 2023 11:10
@raphodn raphodn removed the recette-jetable Déclenche une recette jetable sur CC label Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant