Re: Post Sorting hook before the doc slicing.

2012-04-13 Thread Chris Hostetter
: Basically, I need to find item X in the result set and return say N items : before and N items after. : : < - N items -- Item X --- N items > ... : So I might be wrong, but it looks like the only way would be to create a : custom SolrIndexSearcher which will find the offset and

Post Sorting hook before the doc slicing.

2012-03-29 Thread Stephane Bailliez
I'm currently looking to see what would be a decent way to implement a scrolling window in the result set when looking for an item. Basically, I need to find item X in the result set and return say N items before and N items after. < - N items -- Item X --- N items > So I was thinking a