Skip to content
Permalink
Browse files
Changed code example error
Replaced undefined varaible row with it.
  • Loading branch information
stjepanB committed Mar 16, 2022
1 parent d922c09 commit a7fabaf7f0cfde711585a956c0cb875110b8dac8
Showing 1 changed file with 1 addition and 1 deletion.
@@ -605,7 +605,7 @@ The `suggestions` String would be have the following pattern
RowIterator it = result.getRows();
List<String> suggestions = new LinkedList<String>();
while (it.hasNext()) {
suggestions.add(row.getValue("rep:suggest()").getString());
suggestions.add(it.getValue("rep:suggest()").getString());
}

If either Lucene or Solr were configured to provide the suggestions feature,

0 comments on commit a7fabaf

Please sign in to comment.