assertEquals("Should skip index 0 which is used for dummy null", 1, tsl1.indexOf(0));
}
public void testDefaultFaccetIterator()
{
TermStringList tsl1 = new TermStringList();
tsl1.add("i");
tsl1.add("m");
tsl1.seal();
DefaultFacetIterator itr1 = new DefaultFacetIterator(tsl1, new int[] { 1, 2 }, 2, false);
TermStringList tsl2 = new TermStringList();
tsl2.add("i");
tsl2.add("m");
tsl2.seal();
DefaultFacetIterator itr2 = new DefaultFacetIterator(tsl2, new int[] { 1, 5 }, 2, true);
List<FacetIterator> list = new ArrayList<FacetIterator>();
list.add(itr1);
list.add(itr2);
CombinedFacetIterator ctr = new CombinedFacetIterator(list);