Java Doc for TestIndexWriter.java in  » Net » lucene-connector » org » apache » lucene » index » Java Source Code / Java DocumentationJava Source Code and Java Documentation

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 » Net » lucene connector » org.apache.lucene.index 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.lucene.util.LuceneTestCase
   org.apache.lucene.index.TestIndexWriter

TestIndexWriter
public class TestIndexWriter extends LuceneTestCase (Code)

version:
   $Id: TestIndexWriter.java 628085 2008-02-15 15:18:22Z mikemccand $




Method Summary
public  void_testMultipleThreadsFailure(MockRAMDirectory.Failure failure)
    
public  void_testSingleThreadFailure(MockRAMDirectory.Failure failure)
    
static  StringarrayToString(String[] l)
    
public static  voidassertNoUnreferencedFiles(Directory dir, String message)
    
public  voidtestAddDocumentOnDiskFull()
    
public  voidtestAddIndexOnDiskFull()
    
public  voidtestBackgroundOptimize()
    
public  voidtestBadSegment()
     Test that no NullPointerException will be raised, when adding one document with a single, empty field and term vectors enabled.
public  voidtestChangesAfterClose()
    
public  voidtestChangingRAMBuffer()
    
public  voidtestChangingRAMBuffer2()
    
public  voidtestCloseWithThreads()
    
public  voidtestCommitOnClose()
    
public  voidtestCommitOnCloseAbort()
    
public  voidtestCommitOnCloseDiskUsage()
    
public  voidtestCommitOnCloseOptimize()
    
public  voidtestCreateWithReader()
    
public  voidtestCreateWithReader2()
    
public  voidtestCreateWithReader3()
    
public  voidtestDiverseDocs()
    
public  voidtestDocCount()
    
public  voidtestDocumentsWriterAbort()
    
public  voidtestDocumentsWriterExceptionThreads()
    
public  voidtestDocumentsWriterExceptions()
    
public  voidtestEmptyDocAfterFlushingRealDoc()
    
public  voidtestEmptyFieldName()
    
public  voidtestEnablingNorms()
    
public  voidtestExceptionFromTokenStream()
    
public  voidtestFlushWithNoMerging()
    
public  voidtestHighFreqTerm()
    
public  voidtestIOExceptionDuringAbort()
    
public  voidtestIOExceptionDuringAbortOnlyOnce()
    
public  voidtestIOExceptionDuringAbortWithThreads()
    
public  voidtestIOExceptionDuringAbortWithThreadsOnlyOnce()
    
public  voidtestIOExceptionDuringCloseDocStore()
    
public  voidtestIOExceptionDuringCloseDocStoreOnlyOnce()
    
public  voidtestIOExceptionDuringCloseDocStoreWithThreads()
    
public  voidtestIOExceptionDuringCloseDocStoreWithThreadsOnlyOnce()
    
public  voidtestIOExceptionDuringWriteSegment()
    
public  voidtestIOExceptionDuringWriteSegmentOnlyOnce()
    
public  voidtestIOExceptionDuringWriteSegmentWithThreads()
    
public  voidtestIOExceptionDuringWriteSegmentWithThreadsOnlyOnce()
    
public  voidtestImmediateDiskFull()
    
public  voidtestImmediateDiskFullWithThreads()
    
public  voidtestIndexNoDocuments()
    
public  voidtestManyFields()
    
public  voidtestMaxThreadPriority()
    
public  voidtestNoTermVectorAfterTermVector()
    
public  voidtestNoTermVectorAfterTermVectorMerge()
    
public  voidtestNoWaitClose()
    
public  voidtestNullLockFactory()
    
public  voidtestOptimizeMaxNumSegments()
    
public  voidtestOptimizeMaxNumSegments2()
    
public  voidtestOptimizeOverMerge()
    
public  voidtestOptimizeTempSpaceUsage()
     Make sure optimize doesn't use any more than 1X starting index size as its temporary free space required.
public  voidtestSetMaxMergeDocs()
    
public  voidtestSimulatedCorruptIndex1()
    
public  voidtestSimulatedCorruptIndex2()
    
public  voidtestSimulatedCrashedWriter()
    
public  voidtestSmallRAMBuffer()
    
public  voidtestTermVectorCorruption()
    
public  voidtestTermVectorCorruption2()
    
public  voidtestTermVectorCorruption3()
    
public  voidtestVariableSchema()
    
public  voidtestWickedLongTerm()
     Make sure we skip wicked long terms.



Method Detail
_testMultipleThreadsFailure
public void _testMultipleThreadsFailure(MockRAMDirectory.Failure failure) throws IOException(Code)



_testSingleThreadFailure
public void _testSingleThreadFailure(MockRAMDirectory.Failure failure) throws IOException(Code)



arrayToString
static String arrayToString(String[] l)(Code)



assertNoUnreferencedFiles
public static void assertNoUnreferencedFiles(Directory dir, String message) throws IOException(Code)



testAddDocumentOnDiskFull
public void testAddDocumentOnDiskFull() throws IOException(Code)



testAddIndexOnDiskFull
public void testAddIndexOnDiskFull() throws IOException(Code)



testBackgroundOptimize
public void testBackgroundOptimize() throws IOException(Code)



testBadSegment
public void testBadSegment() throws IOException(Code)
Test that no NullPointerException will be raised, when adding one document with a single, empty field and term vectors enabled.
throws:
  IOException -



testChangesAfterClose
public void testChangesAfterClose() throws IOException(Code)



testChangingRAMBuffer
public void testChangingRAMBuffer() throws IOException(Code)



testChangingRAMBuffer2
public void testChangingRAMBuffer2() throws IOException(Code)



testCloseWithThreads
public void testCloseWithThreads() throws IOException(Code)



testCommitOnClose
public void testCommitOnClose() throws IOException(Code)



testCommitOnCloseAbort
public void testCommitOnCloseAbort() throws IOException(Code)



testCommitOnCloseDiskUsage
public void testCommitOnCloseDiskUsage() throws IOException(Code)



testCommitOnCloseOptimize
public void testCommitOnCloseOptimize() throws IOException(Code)



testCreateWithReader
public void testCreateWithReader() throws IOException(Code)



testCreateWithReader2
public void testCreateWithReader2() throws IOException(Code)



testCreateWithReader3
public void testCreateWithReader3() throws IOException(Code)



testDiverseDocs
public void testDiverseDocs() throws IOException(Code)



testDocCount
public void testDocCount() throws IOException(Code)



testDocumentsWriterAbort
public void testDocumentsWriterAbort() throws IOException(Code)



testDocumentsWriterExceptionThreads
public void testDocumentsWriterExceptionThreads() throws IOException(Code)



testDocumentsWriterExceptions
public void testDocumentsWriterExceptions() throws IOException(Code)



testEmptyDocAfterFlushingRealDoc
public void testEmptyDocAfterFlushingRealDoc() throws IOException(Code)



testEmptyFieldName
public void testEmptyFieldName() throws IOException(Code)



testEnablingNorms
public void testEnablingNorms() throws IOException(Code)



testExceptionFromTokenStream
public void testExceptionFromTokenStream() throws IOException(Code)



testFlushWithNoMerging
public void testFlushWithNoMerging() throws IOException(Code)



testHighFreqTerm
public void testHighFreqTerm() throws IOException(Code)



testIOExceptionDuringAbort
public void testIOExceptionDuringAbort() throws IOException(Code)



testIOExceptionDuringAbortOnlyOnce
public void testIOExceptionDuringAbortOnlyOnce() throws IOException(Code)



testIOExceptionDuringAbortWithThreads
public void testIOExceptionDuringAbortWithThreads() throws IOException(Code)



testIOExceptionDuringAbortWithThreadsOnlyOnce
public void testIOExceptionDuringAbortWithThreadsOnlyOnce() throws IOException(Code)



testIOExceptionDuringCloseDocStore
public void testIOExceptionDuringCloseDocStore() throws IOException(Code)



testIOExceptionDuringCloseDocStoreOnlyOnce
public void testIOExceptionDuringCloseDocStoreOnlyOnce() throws IOException(Code)



testIOExceptionDuringCloseDocStoreWithThreads
public void testIOExceptionDuringCloseDocStoreWithThreads() throws IOException(Code)



testIOExceptionDuringCloseDocStoreWithThreadsOnlyOnce
public void testIOExceptionDuringCloseDocStoreWithThreadsOnlyOnce() throws IOException(Code)



testIOExceptionDuringWriteSegment
public void testIOExceptionDuringWriteSegment() throws IOException(Code)



testIOExceptionDuringWriteSegmentOnlyOnce
public void testIOExceptionDuringWriteSegmentOnlyOnce() throws IOException(Code)



testIOExceptionDuringWriteSegmentWithThreads
public void testIOExceptionDuringWriteSegmentWithThreads() throws IOException(Code)



testIOExceptionDuringWriteSegmentWithThreadsOnlyOnce
public void testIOExceptionDuringWriteSegmentWithThreadsOnlyOnce() throws IOException(Code)



testImmediateDiskFull
public void testImmediateDiskFull() throws IOException(Code)



testImmediateDiskFullWithThreads
public void testImmediateDiskFullWithThreads() throws IOException(Code)



testIndexNoDocuments
public void testIndexNoDocuments() throws IOException(Code)



testManyFields
public void testManyFields() throws IOException(Code)



testMaxThreadPriority
public void testMaxThreadPriority() throws IOException(Code)



testNoTermVectorAfterTermVector
public void testNoTermVectorAfterTermVector() throws IOException(Code)



testNoTermVectorAfterTermVectorMerge
public void testNoTermVectorAfterTermVectorMerge() throws IOException(Code)



testNoWaitClose
public void testNoWaitClose() throws Throwable(Code)



testNullLockFactory
public void testNullLockFactory() throws IOException(Code)



testOptimizeMaxNumSegments
public void testOptimizeMaxNumSegments() throws IOException(Code)



testOptimizeMaxNumSegments2
public void testOptimizeMaxNumSegments2() throws IOException(Code)



testOptimizeOverMerge
public void testOptimizeOverMerge() throws IOException(Code)



testOptimizeTempSpaceUsage
public void testOptimizeTempSpaceUsage() throws IOException(Code)
Make sure optimize doesn't use any more than 1X starting index size as its temporary free space required.



testSetMaxMergeDocs
public void testSetMaxMergeDocs() throws IOException(Code)



testSimulatedCorruptIndex1
public void testSimulatedCorruptIndex1() throws IOException(Code)



testSimulatedCorruptIndex2
public void testSimulatedCorruptIndex2() throws IOException(Code)



testSimulatedCrashedWriter
public void testSimulatedCrashedWriter() throws IOException(Code)



testSmallRAMBuffer
public void testSmallRAMBuffer() throws IOException(Code)



testTermVectorCorruption
public void testTermVectorCorruption() throws IOException(Code)



testTermVectorCorruption2
public void testTermVectorCorruption2() throws IOException(Code)



testTermVectorCorruption3
public void testTermVectorCorruption3() throws IOException(Code)



testVariableSchema
public void testVariableSchema() throws IOException(Code)



testWickedLongTerm
public void testWickedLongTerm() throws IOException(Code)
Make sure we skip wicked long terms.



Methods inherited from org.apache.lucene.util.LuceneTestCase
protected void setUp() throws Exception(Code)(Java Doc)
protected void tearDown() throws Exception(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.