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

Index Datastructure #6

Open
vpfautz opened this issue Apr 15, 2017 · 0 comments
Open

Index Datastructure #6

vpfautz opened this issue Apr 15, 2017 · 0 comments

Comments

@vpfautz
Copy link
Owner

vpfautz commented Apr 15, 2017

There are more than one solution:

  • Inverted Index: Words -> Filenames (maybe with count)
    good for many files

  • Something like an Suffix Array, per file, so static data structure wouldn't be an issue
    good for big files, page numbering would be still possible.

  • Current state: Just safe the content compressed to disc and search with regex
    good for small number of files, easy to implement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant