Removed outdated limitations.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150263 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Doug Cutting 2004-03-29 23:40:31 +00:00
parent 7a6938c5f8
commit bf8586b01a
1 changed files with 0 additions and 25 deletions

View File

@ -1252,32 +1252,7 @@
probably will be. These should therefore be replaced with either
UInt64 values, or better yet, with VInt values which have no limit.
</p>
<p>There
are only two places where the code requires that a value be fixed
size. These are:
</p>
<ol>
<li><p>
The FieldValuesPosition (in the stored field index file, .fdx).
This already uses a UInt64, and so is not a problem.
</p></li>
<li><p>The
TermCount (in the term info file, .tis). This is written last but
is read when the file is first opened, and so is stored at the
front. The indexing code first writes an zero here, then overwrites
it after the rest of the file has been written. So unless this is
stored elsewhere, it must be fixed size and should be changed to a
UInt64.
</p>
</li>
</ol>
<p>Other
than these, all UInt values could be converted to VInt to remove
limitations.
</p>
<p><br/><br/>
</p>
</section>
</body>