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

Matrix Support #5

Open
mattreesjenkins opened this issue Dec 15, 2016 · 1 comment
Open

Matrix Support #5

mattreesjenkins opened this issue Dec 15, 2016 · 1 comment

Comments

@mattreesjenkins
Copy link

Great plugin!

Any plans to support excerpts for matrix blocks? At the moment you successfully search them however the excerpts just come up blank.

Thanks

@oyvind-stenhaug
Copy link
Contributor

Thanks!

No concrete plans, but I'm aware of it and it definitely would be a nice thing to have. It just seemed a bit tricky to do given how the Craft database is organized. Ideas and contributions are welcome :)

(The search queries the craft_searchindex table, which stores an element ID and a field ID. But the field ID just points to the matrix field, so it's not so easy to know in which block or sub-field to look for the original, non-"normalized" text, unless it's possible to just loop through them all somehow without making the search even slower than it already is…)

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

2 participants