mirror of https://github.com/apache/lucene.git
file format bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1407561 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6fd8155fb2
commit
2b2ac70f8a
|
@ -84,7 +84,7 @@ public class SimpleTextSimpleDocValuesFormat extends SimpleDocValuesFormat {
|
|||
* baz[space][space][space][space][space]
|
||||
* ...
|
||||
* </pre>
|
||||
* so a document's value can be retrieved by seeking to startOffset + (9+2*pattern.length)*docid
|
||||
* so a document's value can be retrieved by seeking to startOffset + (9+pattern.length+maxlength)*docid
|
||||
* the extra 9 is 2 newlines, plus "length " itself.
|
||||
*
|
||||
* the reader can just scan this file when it opens, skipping over the data blocks
|
||||
|
|
Loading…
Reference in New Issue