Closed nagybence closed 2 years ago
Thanks for this fix! I've been trying to get Manticore 4.2 compiling reliably on my machine - thus far, the daemon crashes during the TS test suite. But glad to have this fix merged in!
Hmm, I may end up rolling this back, given Manticore 4.0 doesn't seem to like it - I'm wondering if this is actually a bug in Manticore itself?
If anybody cares about pagination, maybe chime in the manticore issue (manticoresoftware/manticoresearch#912) and add any input. I try to convince them to make total
compatible with sphinx or add another entry that shows the same information that we presently see in sphinx. But they seem to be reluctant. And if I'm the only interested person, they might be right. So if anybody cares about manticore and pagination, probably your input would be useful.
why are they reluctant about letting spinx join their software if the information that it can give would be useful to them? just knowing what it can gather for us it seems like we could use Metadata as well for information on any data we can use.
under manticore 4.2.0 the pagination doesn't work because the search function returns total_pages = 1 every time
search.meta => {"total"=>"5", "total_found"=>"220", "time"=>"0.000", "keyword[0]"=>"test", "docs[0]"=>"220", "hits[0]"=>"302"}
i think my fix solves this problem and doesn't generate another :)