mirror of https://github.com/apache/lucene.git
docs: fix erroneous comment about resulting terms list being sorted
This commit is contained in:
parent
7760b35645
commit
f9cc109286
|
@ -613,7 +613,7 @@ public class TermsComponent extends SearchComponent {
|
|||
continue;
|
||||
}
|
||||
|
||||
// Since splitTerms is already sorted, this array will also be sorted
|
||||
// Since splitTerms is already sorted, this array will also be sorted. NOTE: this may not be true, it depends on readableToIndexed.
|
||||
Term[] terms = new Term[splitTerms.length];
|
||||
for (int i = 0; i < splitTerms.length; i++) {
|
||||
terms[i] = new Term(field, fieldType.readableToIndexed(splitTerms[i]));
|
||||
|
|
Loading…
Reference in New Issue