Skip to content

Commit 2072cca

Browse files
committed
TOTEST, suggestion should work
1 parent ba43c3f commit 2072cca

10 files changed

Lines changed: 321 additions & 153 deletions

File tree

common/src/java/com/github/oeuvres/alix/lucene/fluc/FlucText.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
import org.apache.lucene.index.MultiTerms;
1212
import org.apache.lucene.index.Terms;
1313

14-
import com.github.oeuvres.alix.lucene.TopTerms;
1514
import com.github.oeuvres.alix.lucene.terms.FieldStats;
1615
import com.github.oeuvres.alix.lucene.terms.TermLexicon;
1716
import com.github.oeuvres.alix.lucene.terms.TermRail;
1817
import com.github.oeuvres.alix.lucene.terms.TermSuggest;
18+
import com.github.oeuvres.alix.lucene.terms.TopTerms;
1919
import com.github.oeuvres.alix.util.Report;
2020

2121
/**

common/src/java/com/github/oeuvres/alix/lucene/spans/CoocListener.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
import java.util.BitSet;
55
import java.util.Objects;
66

7-
import com.github.oeuvres.alix.lucene.TopTerms;
8-
import com.github.oeuvres.alix.lucene.TopTerms.FocusBuffers;
97
import com.github.oeuvres.alix.lucene.terms.FieldStats;
108
import com.github.oeuvres.alix.lucene.terms.TermRail;
9+
import com.github.oeuvres.alix.lucene.terms.TopTerms;
10+
import com.github.oeuvres.alix.lucene.terms.TopTerms.FocusBuffers;
1111

1212
/**
1313
* {@link SpanListener} that accumulates per-term cooccurrence counts in a fixed-width window around
@@ -19,7 +19,7 @@
1919
* {@code [end, min(docWidth, end + right))} in a per-document bitset. After the document is
2020
* exhausted, the marked positions are resolved to term ids via {@link TermRail#scanPositions} and
2121
* counts are written into a {@link FocusBuffers} obtained from a
22-
* {@link com.github.oeuvres.alix.lucene.TopTerms} instance.
22+
* {@link com.github.oeuvres.alix.lucene.terms.TopTerms} instance.
2323
* </p>
2424
*
2525
* <h2>Pivot self-exclusion</h2>
@@ -44,7 +44,7 @@
4444
*
4545
* <p>
4646
* The listener is bound to a {@link FocusBuffers} via {@link #bindTo(FocusBuffers)} before the walk
47-
* starts. {@link com.github.oeuvres.alix.lucene.TopTerms#coocs} performs the binding, runs
47+
* starts. {@link com.github.oeuvres.alix.lucene.terms.TopTerms#coocs} performs the binding, runs
4848
* the walk, and reads back {@link #coocTokens()} and {@link #coocDocsTotal()}.
4949
* </p>
5050
*
@@ -125,7 +125,7 @@ public CoocListener(
125125

126126
/**
127127
* Binds this listener to a {@link FocusBuffers} obtained from a
128-
* {@link com.github.oeuvres.alix.lucene.TopTerms} instance. Must be called before the
128+
* {@link com.github.oeuvres.alix.lucene.terms.TopTerms} instance. Must be called before the
129129
* walk starts.
130130
*
131131
* @param buffers focus buffers to write into

common/src/java/com/github/oeuvres/alix/lucene/terms/Partition.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
import com.github.oeuvres.alix.lucene.fluc.FlucNum;
1313
import com.github.oeuvres.alix.lucene.fluc.FlucText;
14-
import com.github.oeuvres.alix.lucene.terms.PartScorer.LogLikelihoodTail;
1514

1615
/**
1716
* Document-to-part map aligned with one Lucene reader snapshot.

0 commit comments

Comments
 (0)