Posts not fully indexed, or search not finding matches? #882
Replies: 2 comments
-
|
Maybe this is actually a bug? All the relevant posts for the word "capacity" show up if I just search for "capac", which of course no one is going to do. But add just that "i" and it fails to find all but three posts. |
Beta Was this translation helpful? Give feedback.
-
|
Ah, okay yes this is something that needs work that I'm semi-aware of. Words are stemmed before being stored by Snowball, which means If you're able to share a reproduction at some point I can take a deeper look! Also, if you use the latest alpha locally, you can access the Pagefind Playground which gives you a bunch more debugging information on the search. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm not even sure how to explain this. (Worse, it's not yet a live site but a local test.) If I search my local test for, to use the word that showed me the problem, "capacity", three results are returned. Alas, my content actually has more than 100 posts that use this term.
I can't seem to figure out whether the other posts were not fully indexed, or if the search process simply isn't finding the matches.
I can confirm, for instance, that one of the posts that doesn't come up as a match does come up in a search for other phrases in that post.
While this
https://bixfrankonis.paste.lol/sample_html_for_pagefind.html
is not using one of the posts in question, it shows you my current post page markup, if that's useful at all.
Thanks for any pointers at how the hell to debug this problem.
ETA: Worth noting that searches for words that appear after "capacity" in this final paragraph of the post that showed me this problem? The post comes up just fine.
Beta Was this translation helpful? Give feedback.
All reactions