Open Hugos68 opened 10 months ago
Hmm not currently. Pagefind endeavors to avoid loading more data than it needs when searching, and there isn't currently any sort of *
search available.
I would say a better option would be for the Pagefind indexing step to output something like a JSON file containing all indexed data — that would be better than the indirection of writing it all to a sharded index that's going to be entirely loaded anyway.
Yeah that sounds good, thanks! I don't know if you're one of the contributors but if you are thank you for this amazing piece of tech, it's mind blowing how fast it works without needing infrastructure or services like angolia.
I am! So thank you very much for the kind words 😊
I’ll let you know when this feature lands — it shouldn’t be too difficult, but with the holiday period might take a moment to get to 🙂
This would be useful! I would also love to be able to start displaying some results without needing to pre-fill a search. Just get the top n results so a user can see what kind of content they are working with. That can be a bit tricky as the default search UI is just the bar, no facets until someone starts typing. Showing the facets by default would be another useful option.
Is there a way to get the same type of results that pagefind.search(...) returns but for all indexed data? I am trying to create a treeview and need all indexed data to render it.