mirror of https://github.com/apache/lucene.git
add javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1466275 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b7e58e8efb
commit
d8dd6c5d90
|
@ -402,6 +402,12 @@ public final class BytesRefHash {
|
|||
return hashPos;
|
||||
}
|
||||
|
||||
/** Adds a "arbitrary" int offset instead of a BytesRef
|
||||
* term. This is used in the indexer to hold the hash for term
|
||||
* vectors, because they do not redundantly store the byte[] term
|
||||
* directly and instead reference the byte[] term
|
||||
* already stored by the postings BytesRefHash. See
|
||||
* add(int textStart) in TermsHashPerField. */
|
||||
public int addByPoolOffset(int offset) {
|
||||
assert bytesStart != null : "Bytesstart is null - not initialized";
|
||||
// final position
|
||||
|
|
Loading…
Reference in New Issue