Change SolrQueryLayerService#getNeighboringItems to make exactly two queries when a value is available for displayOrder: one for windowSize - 1 items after the pivot, one for windowSize - 1 items before. If both sides have enough items, trim them. If one of the two sides doesn't have enough items, try to pick up the slack from the other side. In the case that there is no value for displayOrder, just return windowSize siblings.