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

Majigs Text Index on Markdown #8

Open
benvacha opened this issue May 14, 2020 · 0 comments
Open

Majigs Text Index on Markdown #8

benvacha opened this issue May 14, 2020 · 0 comments

Comments

@benvacha
Copy link
Owner

Current

Finding majigs uses regex and indexes to retrieve majigs that match a term on the tags, path, or markdown. It works correctly and quickly, but could be a scaling issue. Results are sorted based on passed in filter, usually updated or published.

Desired

Add a text index for the markdown field, and potentially others. Retrieve results that match a term on the tags, path, or markdown. Finding majigs uses the $test: { $search:'terms' } } operators. Results can be and are by default sorted based on weighted search, or by passed in filters.

Sources

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

No branches or pull requests

1 participant