Fix off-by-one error in SimpleSortedSetFacetsExample (#12818)

This commit is contained in:
Stefan Vodita 2023-11-20 16:48:36 +00:00 committed by GitHub
parent d0f63ec530
commit 9de0936a7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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):");