Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • erp5 erp5
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 142
    • Merge requests 142
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedinexedi
  • erp5erp5
  • Merge requests
  • !1584

WIP: prototype a global document search rank

  • Review changes

  • Download
  • Patches
  • Plain diff
Open Romain Courteaud requested to merge romain/erp5:searchrank into master Apr 06, 2022
  • Overview 0
  • Commits 6
  • Pipelines 0
  • Changes 38

The goal is to improve all searches which do not have any explicit sort order.

Assign a search rank based on the document categories.

This already give good result when search a person name. If this person has many documents (task, order, ...) linked to it, the Person document will be returned in the first results.

We could imagine to also use the document workflow state to help validated document to be returned before archived one or stateless documents.

There are 2 main blocking points currently:

  • how to ensure the rank sorting is efficient with millions of documents
  • calculating the rank needs to crawl all documents, which is too slow with millions of documents
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: searchrank
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7