mirror of https://github.com/apache/lucene.git
improve javadocs for index sort
This commit is contained in:
parent
726ee05240
commit
9b85b5721a
|
@ -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()) {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue