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

feat: Search functionality - Backend #91

Merged
merged 33 commits into from
Oct 4, 2022
Merged

feat: Search functionality - Backend #91

merged 33 commits into from
Oct 4, 2022

Conversation

aadarsh-ram
Copy link
Collaborator

@aadarsh-ram aadarsh-ram commented Sep 23, 2022

What

  • Search functionality in backend

Related Issue(s)

@aadarsh-ram aadarsh-ram marked this pull request as ready for review September 24, 2022 13:56
@aadarsh-ram aadarsh-ram requested a review from a team as a code owner September 24, 2022 13:56
Copy link
Member

@alexgarel alexgarel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are on a good way !
Great work.

backend/editor/entries.py Outdated Show resolved Hide resolved
parser/requirements-test.txt Outdated Show resolved Hide resolved
parser/setup.cfg Outdated Show resolved Hide resolved
backend/editor/entries.py Outdated Show resolved Hide resolved
backend/editor/entries.py Outdated Show resolved Hide resolved
Copy link
Member

@alexgarel alexgarel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still some comments.

backend/editor/entries.py Outdated Show resolved Hide resolved
backend/editor/entries.py Outdated Show resolved Hide resolved
backend/editor/entries.py Outdated Show resolved Hide resolved
backend/editor/normalizer.py Show resolved Hide resolved
@aadarsh-ram aadarsh-ram requested a review from alexgarel October 2, 2022 05:32
Copy link
Member

@alexgarel alexgarel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

backend/editor/entries.py Outdated Show resolved Hide resolved
backend/editor/entries.py Outdated Show resolved Hide resolved
query = """
CREATE FULLTEXT INDEX nodeSearchIds FOR (n:ENTRY) ON EACH [n.id]
OPTIONS {indexConfig: {`fulltext.analyzer`: 'keyword'}}
"""
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect.

Copy link
Member

@alexgarel alexgarel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great @aadarsh-ram 🎉

@alexgarel alexgarel merged commit 3317fae into main Oct 4, 2022
@alexgarel alexgarel deleted the search-backend branch October 4, 2022 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

2 participants