Skip to content

Commit d6d6262

Browse files
committed
Refactor, suggest output a TopTerms
1 parent bbd01b0 commit d6d6262

5 files changed

Lines changed: 190 additions & 653 deletions

File tree

common/src/java/com/github/oeuvres/alix/lucene/terms/TermStats.java renamed to common/src/java/com/github/oeuvres/alix/lucene/terms/PartStats.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
* One instance must not be written concurrently by multiple threads.
6262
* </p>
6363
*/
64-
public final class TermStats {
64+
public final class PartStats {
6565
/** Indexed field name. */
6666
private final String field;
6767

@@ -91,7 +91,7 @@ public final class TermStats {
9191
* @throws NullPointerException if {@code field} is {@code null}
9292
* @throws IllegalArgumentException if {@code vocabSize < 0}
9393
*/
94-
public TermStats(final String field, final int vocabSize) {
94+
public PartStats(final String field, final int vocabSize) {
9595
this.field = Objects.requireNonNull(field, "field");
9696
if (vocabSize < 0) {
9797
throw new IllegalArgumentException("vocabSize=" + vocabSize + ", expected >= 0");

0 commit comments

Comments
 (0)