openzim / openzim/libzim

Introducing popularity/importance factor at indexing time

Open
#653 12 comments 0 reactions 3 assignees View on GitHub

@veloman-yunkan is already working on this.

Since Mar 11, 2023.

enhancement question
Dominant language
C++
Stars
256
Forks
75
Avg merge
8d 51m
Merged PRs (30d)
4

Description

The problem is that the current indexing (both ft and suggestion) is only based on word occurrence. Even if this works good there is no easy way for the index to know that the Wikipedia "Apple" is more important than ".apple".

The idea would be to be avaible to slightly tweak the current algorithm by giving an external numerical factor at indexing time. That way we could make a ponderation and effectively give better search results.

In the case of Wikipedia such a number could be for example computed (and is actually already computed) within the WP1 project.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.