Apache Lucene - Index File Formats
by Doug Cutting
Table of contents
1 Index File Formats............................................................................................................. 3
2 Definitions..........................................................................................................................3
2.1 Inverted Indexing...........................................................................................................3
2.2 Types of Fields.............................................................................................................. 4
2.3 Segments........................................................................................................................4
2.4 Document Numbers.......................................................................................................4
3 Overview............................................................................................................................5
4 File Naming....................................................................................................................... 5
5 Primitive Types..................................................................................................................6
5.1 Byte................................................................................................................................6
5.2 UInt32............................................................................................................................6
5.3 Uint64............................................................................................................................6
5.4 VInt................................................................................................................................6
5.5 Chars..............................................................................................................................7
5.6 String............................................................................................................................. 7
6 Per-Index Files...................................................................................................................7
6.1 Segments File................................................................................................................ 8
6.2 Lock File........................................................................................................................9
6.3 Deletable File.................................................................................................................9
6.4 Compound Files.............................................................................................................9
7 Per-Segment Files............................................................................................................ 10
7.1 Fields........................................................................................................................... 10
Copyright © 2006 The Apache Software Foundation. All rights reserved.
评论0