whoosh-community / whoosh

Whoosh is a fast, featureful full-text indexing and searching library implemented in pure Python.
Other
240 stars 36 forks source link

Missing Excerpts Issue #534

Open ghost opened 5 years ago

ghost commented 5 years ago

If you are querying per page but want to display excerpts and some excerpts are absent for some of the results, you get things like the second page having only half results.

It's an inefficient and bad idea to have to query all results and then manually paginate them.

Perhaps a workaround could be added for the case.

ghost commented 5 years ago

This is still happening. I have no idea why.

There are perfect matches in the content, yet an excerpt fails to be generated in some cases.

@nijel Do you happen to have this in mind? I even set the minscore to zero, weird thing.

ghost commented 5 years ago

Any updates on this? It shouldn't be happening really.

stevennic commented 5 years ago

Hello, can you please post a reproduction to help us identify and fix the problem?