Add search index foundations#887
Draft
jpurnell wants to merge 1 commit into
Draft
Conversation
…Generator Introduces standalone search indexing types for build-time generation of client-side search indices: - TextProcessor: HTML stripping, excerpt generation, tokenization with Porter stemming and stop-word removal - SearchEntry: Codable model for indexed content - SearchConfiguration: site-level search settings - SearchField/SearchLanguage: configuration enums - SearchIndexGenerator: produces JSON index from Article collections Purely additive. SearchBar component and pipeline integration are planned as follow-ups.
Owner
|
Hi Justin! Thank you for all these contributions. There are quite a few, and all touching very different parts of Ignite, so it's hard to see a bigger picture here. Could we discuss this in the #Ignite channel on Slack, please? |
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.
Summary
TextProcessorwith HTML stripping, excerpt generation, tokenization with Porter stemming and stop-word removalSearchEntryCodable model for indexed contentSearchConfigurationwith sensible defaults andSearchField/SearchLanguageenumsSearchIndexGeneratorproducing JSON search indices from Article collectionsDesign
Purely additive — new
Sources/Ignite/Search/directory. The generator takes[Article]as input, making it testable without a publishing context.SearchBarcomponent and pipeline integration are planned as follow-ups.Test plan
swift buildclean with no warnings