mirror of https://github.com/apache/lucene.git
Fix off-by-one error in SimpleSortedSetFacetsExample (#12818)
This commit is contained in:
parent
d0f63ec530
commit
9de0936a7f
|
@ -150,7 +150,7 @@ public class SimpleSortedSetFacetsExample {
|
|||
SimpleSortedSetFacetsExample example = new SimpleSortedSetFacetsExample();
|
||||
List<FacetResult> results = example.runSearch();
|
||||
System.out.println("Author: " + results.get(0));
|
||||
System.out.println("Publish Year: " + results.get(0));
|
||||
System.out.println("Publish Year: " + results.get(1));
|
||||
|
||||
System.out.println("\n");
|
||||
System.out.println("Facet drill-down example (Publish Year/2010):");
|
||||
|
|
Loading…
Reference in New Issue