mirror of https://github.com/apache/lucene.git
javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1435157 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0a68fa66ac
commit
267b26e182
|
@ -70,10 +70,6 @@ import org.apache.lucene.util.packed.PackedInts;
|
|||
* queries that rely on advance will (AND BooleanQuery,
|
||||
* PhraseQuery) will be relatively slow!
|
||||
*
|
||||
* <p><b>NOTE</b>: this codec cannot address more than ~2.1 GB
|
||||
* of postings, because the underlying FST uses an int
|
||||
* to address the underlying byte[].
|
||||
*
|
||||
* @lucene.experimental */
|
||||
|
||||
// TODO: Maybe name this 'Cached' or something to reflect
|
||||
|
@ -88,6 +84,13 @@ public final class MemoryPostingsFormat extends PostingsFormat {
|
|||
this(false, PackedInts.DEFAULT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create MemoryPostingsFormat, specifying advanced FST options.
|
||||
* @param doPackFST true if a packed FST should be built.
|
||||
* NOTE: packed FSTs are limited to ~2.1 GB of postings.
|
||||
* @param acceptableOverheadRatio allowable overhead for packed ints
|
||||
* during FST construction.
|
||||
*/
|
||||
public MemoryPostingsFormat(boolean doPackFST, float acceptableOverheadRatio) {
|
||||
super("Memory");
|
||||
this.doPackFST = doPackFST;
|
||||
|
|
Loading…
Reference in New Issue