-
Notifications
You must be signed in to change notification settings - Fork 12
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
Render Gutenberg markup before indexing #118
Comments
As it turns out, this is possible already by setting the |
@kevinfodness I have a use-case for integrating block content into a custom field (perhaps this is the route forward rather than simply filtering the content). I see the comment that @mboynes left on #119. OOC, where was this left off? Have you done any more thinking or written anything else as a result? |
I ended up using the |
Currently, SearchPress indexes the raw contents of
post_content
, which historically wasn't much of an issue because the only thing that wasn't indexed was the rendered output of shortcodes. However, now that Gutenberg is becoming utilized more heavily, the fact that Gutenberg markup (comment tags, for example) are stored in the Elasticsearch index is problematic for a few reasons:post_content
, which is the case for a lot of custom blocks) will not have their actual content saved in the index, and will therefore not be searchable.I recommend that we run
the_content
against post content before sending it up to the index.The text was updated successfully, but these errors were encountered: