GateNLP / gate-core

The GATE Embedded core API and GATE Developer application
GNU Lesser General Public License v3.0
75 stars 29 forks source link

There is no button to go back through ANNIC results #148

Open greenwoodma opened 2 years ago

greenwoodma commented 2 years ago

You can move forward through results in ANNIC, but for some reason you can't then go backwards. Should be as simple as adding another button (fingers crossed).

greenwoodma commented 2 years ago

This is more messy than I thought. Essentially hitting the next button pages through the lucene results (i.e. it keeps the low level lucene searcher open and pulls results from it). As such there is no cache of results to work backwards through. Fixing this would probably involve re-writing the entire way in which ANNIC retrieves results (not the searching just the result retrieval) which is a much bigger job than initially envisaged.