return null;
}
public void testLuceneSort() throws IOException {
DirectoryReader srcReader = DirectoryReader.open(_indexDir);
try {
List<FacetHandler<?>> facetHandlers = new ArrayList<FacetHandler<?>>();
facetHandlers.add(new SimpleFacetHandler("id"));
BoboMultiReader reader = BoboMultiReader.getInstance(srcReader, facetHandlers);
BoboBrowser browser = new BoboBrowser(reader);
BrowseRequest browseRequest = new BrowseRequest();
browseRequest.setCount(10);
browseRequest.setOffset(0);
browseRequest.addSortField(new SortField("date", SortField.Type.STRING));
doTest(browser, browseRequest, 7, null, new String[] { "1", "3", "5", "2", "4", "7", "6" });
} catch (IOException ioe) {
if (srcReader != null) {
srcReader.close();
}
throw ioe;
}
}