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

How to index more content than just the first few paragraphs after each heading #156

Open
squallstar opened this issue Jul 31, 2020 · 1 comment

Comments

@squallstar
Copy link

I've been using this plugin for ages now but I always find that the Algolia index only contains search records containing the first paragraphs after each heading.

Is there an option or change I can make to the source library to allow the whole page to be indexed?

Thanks

@pixelastic
Copy link
Collaborator

Hello,

It should index all paragraphs of the page, not only the ones after a heading.

What could be confusing though, is that it configures the index to "group" them when doing a search, only returning the most relevant to your search.

A quick way to see if it's a display issue or an indexing issue would be to either:

  • Go to your Algolia admin dashboard, navigate to your index, turn off the "Distinct" feature and see if you can find paragraphs that you think are missing
  • Search for a sentence from what of the paragraphs you think is missing, and see if it returns it

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