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

Fuzzy and walrus #5

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Fuzzy and walrus #5

wants to merge 6 commits into from

Conversation

Wahesh
Copy link

@Wahesh Wahesh commented May 31, 2024

No description provided.

--Clear Redis database before indexing and handle exceptions
- Added code to clear the Redis database using `flushdb()` before starting the indexing process.
- Included the document ID in the key and within the document content.
- Encapsulated the search result processing within a try-except block to handle potential exceptions such as connection errors and key errors.
- Modified the print statements to display the school name fetched from Redis along with the document content and ID.
took so long to execute. Will find a way to speed this up.
removed multiprocess 
matched using fuzzy 
set match to 100
Got good results.
@sumanashrestha
Copy link
Contributor

can you share the output of this in the discussion #3 section with reference to this PR

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.

2 participants