improve javadocs for index sort

This commit is contained in:
Mike McCandless 2017-11-22 18:01:18 -05:00
parent 726ee05240
commit 9b85b5721a
2 changed files with 2 additions and 3 deletions

View File

@ -459,7 +459,7 @@ public final class IndexWriterConfig extends LiveIndexWriterConfig {
SortField.Type.FLOAT);
/**
* Set the {@link Sort} order to use when merging segments.
* Set the {@link Sort} order to use for all (flushed and merged) segments.
*/
public IndexWriterConfig setIndexSort(Sort sort) {
for(SortField sortField : sort.getSort()) {

View File

@ -413,8 +413,7 @@ public class LiveIndexWriterConfig {
}
/**
* Set the index-time {@link Sort} order. Merged segments will be written
* in this order.
* Get the index-time {@link Sort} order, applied to all (flushed and merged) segments.
*/
public Sort getIndexSort() {
return indexSort;