Skip to content

Commit

Permalink
Add change logs
Browse files Browse the repository at this point in the history
  • Loading branch information
dungba88 committed Dec 28, 2023
1 parent ce3837d commit cc249e1
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
3 changes: 3 additions & 0 deletions lucene/CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ API Changes

* GITHUB#12855: Remove deprecated DrillSideways#createDrillDownFacetsCollector extension method. (Greg Miller)

* GITHUB#12980: Make FSTPostingsFormat to build FST off-heap. This PostingsFormat will now
create 2 FST files (tfp.meta and tfp.data) instead of a single one. (Anh Dung Bui)

New Features
---------------------

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
import org.apache.lucene.index.SegmentWriteState;
import org.apache.lucene.util.IOUtils;

/** FST term dict + Lucene50PBF */
/** FST term dict + Lucene99PBF */
public final class FSTPostingsFormat extends PostingsFormat {
public FSTPostingsFormat() {
super("FST50");
super("FST99");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@
public class FSTTermsReader extends FieldsProducer {
private final TreeMap<String, TermsReader> fields = new TreeMap<>();
private final PostingsReaderBase postingsReader;
// IndexInput for FST metadata
private final IndexInput fstMetaInput;
// IndexInput for FST data
private final IndexInput fstDataInput;

public FSTTermsReader(SegmentReadState state, PostingsReaderBase postingsReader)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,10 @@ public class FSTTermsWriter extends FieldsConsumer {

final PostingsWriterBase postingsWriter;
final FieldInfos fieldInfos;
IndexOutput dataOut;
// IndexOutput for FST metadata
IndexOutput metaOut;
// IndexOutput for FST data
IndexOutput dataOut;
final int maxDoc;
final List<FieldMetaData> fields = new ArrayList<>();

Expand Down

0 comments on commit cc249e1

Please sign in to comment.