Repository navigation
Conversation
added 2 commits
October 4, 2020 18:39
Updates: - Expose explicit settings, generally clean up search service for readability. - If no custom keywords are set, the `keywords` page field is set to `null` instead of empty string. - Don’t display page title twice; only subheadings to the right in a result. - Explicitly define index storage fields. Outstanding issues: - CJK still returns results that happen to be useful even though they’re inconsistent. - A search for `graphql` does not return the console command from the regular index despite being a heading, not having much result competition, and having its `backup` sibling (heading + same page) return a result as expected. - A search for `entry query` prioritizes individual keyword results (`entry` in title, `query` in body) over exact matches (`entry query` in body).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Improve indexing and result presentation to improve upon some cases that yield less-than-relevant results.
To Improve
keywordsadded in page frontmatter (equal to content match)graphqlshould return the Console Commands subheading just likebackupdoesentry queryshould return results that prioritize exact uses of that phrase (currently results with one of those words in the title and another in the body score higher)