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

Directory indexing for creating search database #70

Open
2 of 5 tasks
AasthaGupta opened this issue Feb 26, 2018 · 2 comments
Open
2 of 5 tasks

Directory indexing for creating search database #70

AasthaGupta opened this issue Feb 26, 2018 · 2 comments
Labels
enhancement ✨ New feature or request

Comments

@AasthaGupta
Copy link
Contributor

AasthaGupta commented Feb 26, 2018

This is a(n):

  • New feature proposal
  • Reporting a keyword
  • Error
  • Proposal to the Search Engine
  • Other

Details:

Currently all the search database is stored in obj. All the search entries are hard-coded in popup.js. It seems both unscalable and tedious to maintain for large search entries.

  1. It can be replaced with directory indexing.
  2. The chrome extension will create initial search database by directory indexing.
  3. Whenever a new update is made to the directories, it will be reflected in the database instantly after flushing the indexing file.
  4. This will ease the process of updating search entries because now we don't have to maintain a hard-coded database and a simple update in the directory will be enough.
@AasthaGupta
Copy link
Contributor Author

@AdiChat I'd like to know about your opinions on this idea. I'd be happy to discuss it. :)

@AdiChat
Copy link
Member

AdiChat commented Mar 4, 2018

Sounds good.

The code needs refactoring. In the current scenario, we generate the metadata (that is obj) through Cosmos-Search. Changes in the directory will break it but it is unlikely that a user will do so. Still, having an update system will be a nice and safe feature to have.

AasthaGupta added a commit to Aditi574/quark that referenced this issue Mar 10, 2018
Fixes OpenGenus#70
This will ease the process of updating search entries because now we
don't have to maintain a hard-coded database and a simple update in the
directory will be enough.
AasthaGupta added a commit to Aditi574/quark that referenced this issue Mar 18, 2018
Fixes OpenGenus#70
This will ease the process of updating search entries because now we
don't have to maintain a hard-coded database and a simple update in the
directory will be enough.
@AdiChat AdiChat added the enhancement ✨ New feature or request label Apr 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ✨ New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants