org.apache.lucene.index

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Search Engine » lucene » org.apache.lucene.index 
org.apache.lucene.index
Code to maintain and access indices.
Java Source File NameTypeComment
CheckIndex.javaClass Basic tool to check the health of an index and write a new segments file that removes reference to problematic segments.
CompoundFileReader.javaClass Class for accessing a compound stream.
CompoundFileWriter.javaClass Combines multiple files into a single compound file. The file format:
  • VInt fileCount
  • {Directory} fileCount entries with the following structure:
    • long dataOffset
    • String fileName
  • {File Data} fileCount entries with the raw data of the corresponding file
The fileCount integer indicates how many files are contained in this compound file.
ConcurrentMergeScheduler.javaClass A MergeScheduler that runs each merge using a separate thread, up until a maximum number of threads ( ConcurrentMergeScheduler.setMaxThreadCount ) at which points merges are run in the foreground, serially.
CorruptIndexException.javaClass This exception is thrown when Lucene detects an inconsistency in the index.
DefaultSkipListReader.javaClass Implements the skip list reader for the default posting list format that stores positions and payloads.
DefaultSkipListWriter.javaClass Implements the skip list writer for the default posting list format that stores positions and payloads.
DirectoryIndexReader.javaClass IndexReader implementation that has access to a Directory.
DocHelper.javaClass
DocumentsWriter.javaClass This class accepts multiple added documents and directly writes a single segment file.
FieldInfo.javaClass Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
FieldInfos.javaClass Access to the Fieldable Info file that describes document fields and whether or not they are indexed.
FieldNormModifier.javaClass Given a directory and a list of fields, updates the fieldNorms in place for every document.
FieldReaderException.javaClass
FieldSortedTermVectorMapper.javaClass For each Field, store a sorted collection of TermVectorEntry s

This is not thread-safe.

FieldsReader.javaClass Class responsible for access to stored document fields.
FieldsWriter.javaClass
FilterIndexReader.javaClass A FilterIndexReader contains another IndexReader, which it uses as its basic source of data, possibly transforming the data along the way or providing additional functionality.
GCJSegmentReader.javaClass
GCJTermDocs.javaClass
IndexCommitPoint.javaInterface
IndexDeletionPolicy.javaInterface

Expert: policy for deletion of stale IndexCommitPoint index commits .

IndexFileDeleter.javaClass
IndexFileNameFilter.javaClass Filename filter that accept filenames and extensions only created by Lucene.
IndexFileNames.javaClass
IndexModifier.javaClass

[Note that as of 2.1, all but one of the methods in this class are available via IndexWriter .

IndexReader.javaClass IndexReader is an abstract class, providing an interface for accessing an index.
IndexWriter.javaClass An IndexWriter creates and maintains an index.

The create argument to the constructor determines whether a new index is created, or whether an existing index is opened.

KeepOnlyLastCommitDeletionPolicy.javaClass This IndexDeletionPolicy implementation that keeps only the most recent commit and immediately removes all prior commits after a new commit is done.
LogByteSizeMergePolicy.javaClass This is a LogMergePolicy that measures size of a segment as the total byte size of the segment's files.
LogDocMergePolicy.javaClass This is a LogMergePolicy that measures size of a segment as the number of documents (not taking deletions into account).
LogMergePolicy.javaClass

This class implements a MergePolicy that tries to merge segments into levels of exponentially increasing size, where each level has < mergeFactor segments in it.

MergePolicy.javaClass

Expert: a MergePolicy determines the sequence of primitive merge operations to be used for overall merge and optimize operations.

Whenever the segments in an index have been altered by IndexWriter , either the addition of a newly flushed segment, addition of many segments from addIndexes* calls, or a previous merge that may now need to cascade, IndexWriter invokes MergePolicy.findMerges to give the MergePolicy a chance to pick merges that are now required.

MergeScheduler.javaClass Expert: IndexWriter uses an instance implementing this interface to execute the merges selected by a MergePolicy .
MockIndexInput.javaClass
MultiLevelSkipListReader.javaClass This abstract class reads skip lists with multiple levels. See MultiLevelSkipListWriter for the information about the encoding of the multi level skip lists.
MultiLevelSkipListWriter.javaClass This abstract class writes skip lists with multiple levels.
MultipleTermPositions.javaClass Describe class MultipleTermPositions here.
MultiReader.javaClass An IndexReader which reads multiple indexes, appending their content.
MultiSegmentReader.javaClass An IndexReader which reads indexes with multiple segments.
ParallelReader.javaClass An IndexReader which reads multiple, parallel indexes.
Payload.javaClass A Payload is metadata that can be stored together with each occurrence of a term.
PositionBasedTermVectorMapper.javaClass For each Field, store position by position information.
SegmentInfo.javaClass
SegmentInfos.javaClass
SegmentMergeInfo.javaClass
SegmentMergeQueue.javaClass
SegmentMerger.javaClass The SegmentMerger class combines two or more Segments, represented by an IndexReader ( SegmentMerger.add , into a single Segment.
SegmentReader.javaClass
SegmentTermDocs.javaClass
SegmentTermEnum.javaClass
SegmentTermPositions.javaClass
SegmentTermPositionVector.javaClass Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
SegmentTermVector.javaClass
SerialMergeScheduler.javaClass A MergeScheduler that simply does each merge sequentially, using the current thread.
SnapshotDeletionPolicy.javaClass A IndexDeletionPolicy that wraps around any other IndexDeletionPolicy and adds the ability to hold and later release a single "snapshot" of an index.
SortedTermVectorMapper.javaClass Store a sorted collection of org.apache.lucene.index.TermVectorEntry s.
StaleReaderException.javaClass This exception is thrown when an IndexReader tries to make changes to the index (via IndexReader.deleteDocument , IndexReader.undeleteAll or IndexReader.setNorm ) but changes have already been committed to the index since this reader was instantiated.
Term.javaClass A Term represents a word from text.
TermBuffer.javaClass
TermDocs.javaInterface TermDocs provides an interface for enumerating <document, frequency> pairs for a term.
TermEnum.javaClass Abstract class for enumerating terms.

Term enumerations are always ordered by Term.compareTo().

TermFreqVector.javaInterface Provides access to stored term vector of a document field.
TermInfo.javaClass A TermInfo is the record of information stored for a term.
TermInfosReader.javaClass This stores a monotonically increasing set of pairs in a Directory.
TermInfosWriter.javaClass This stores a monotonically increasing set of pairs in a Directory.
TermPositions.javaInterface TermPositions provides an interface for enumerating the <document, frequency, <position>* > tuples for a term.
TermPositionVector.javaInterface Extends TermFreqVector to provide additional information about positions in which each of the terms is found.
TermVectorEntry.javaClass Convenience class for holding TermVector information.
TermVectorEntryFreqSortedComparator.javaClass
TermVectorMapper.javaClass The TermVectorMapper can be used to map Term Vectors into your own structure instead of the parallel array structure used by org.apache.lucene.index.IndexReader.getTermFreqVector(intString) .
TermVectorOffsetInfo.javaClass The TermVectorOffsetInfo class holds information pertaining to a Term in a org.apache.lucene.index.TermPositionVector 's offset information.
TermVectorsReader.javaClass
TermVectorsWriter.javaClass
TestAddIndexesNoOptimize.javaClass
TestAtomicUpdate.javaClass
TestBackwardsCompatibility.javaClass
TestCheckIndex.javaClass
TestCompoundFile.javaClass
TestConcurrentMergeScheduler.javaClass
TestDeletionPolicy.javaClass
TestDoc.javaClass JUnit adaptation of an older test case DocTest.
TestDocumentWriter.javaClass
TestFieldInfos.javaClass
TestFieldNormModifier.javaClass Tests changing of field norms with a custom similarity and with fake norms.
TestFieldsReader.javaClass
TestFilterIndexReader.javaClass
TestIndexFileDeleter.javaClass
TestIndexInput.javaClass
TestIndexModifier.javaClass Tests for the "IndexModifier" class, including accesses from two threads at the same time.
TestIndexReader.javaClass
TestIndexReaderReopen.javaClass
TestIndexWriter.javaClass
TestIndexWriterDelete.javaClass
TestIndexWriterLockRelease.javaClass This tests the patch for issue #LUCENE-715 (IndexWriter does not release its write lock when trying to open an index which does not yet exist).
TestIndexWriterMergePolicy.javaClass
TestIndexWriterMerging.javaClass
TestLazyBug.javaClass Test demonstrating EOF bug on the last field of the last doc if other docs have allready been accessed.
TestLazyProxSkipping.javaClass Tests lazy skipping on the proximity file.
TestMultiLevelSkipList.javaClass This testcase tests whether multi-level skipping is being used to reduce I/O while skipping through posting lists.
TestMultiReader.javaClass
TestMultiSegmentReader.javaClass
TestNorms.javaClass Test that norms info is preserved during index life - including separate norms, addDocument, addIndexes, optimize.
TestParallelReader.javaClass
TestParallelTermEnum.javaClass
TestPayloads.javaClass
TestPositionBasedTermVectorMapper.javaClass
TestSegmentMerger.javaClass
TestSegmentReader.javaClass
TestSegmentTermDocs.javaClass
TestSegmentTermEnum.javaClass
TestStressIndexing.javaClass
TestStressIndexing2.javaClass
TestTerm.javaClass
TestTermdocPerf.javaClass
TestTermVectorsReader.javaClass
TestThreadedOptimize.javaClass
TestWordlistLoader.javaClass
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.