Java Doc for IndexFileNames.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) 


java.lang.Object
   org.apache.lucene.index.IndexFileNames

IndexFileNames
final class IndexFileNames (Code)
Useful constants representing filenames and extensions used by lucene
author:
   Bernhard Messer
version:
   $rcs = ' $Id: Exp $ ' ;


Field Summary
final static  StringCOMPOUND_EXTENSIONS
    
final static  StringCOMPOUND_FILE_EXTENSION
    
final static  StringCOMPOUND_FILE_STORE_EXTENSION
    
final static  StringDELETABLE
    
final static  StringDELETES_EXTENSION
    
final static  StringFIELDS_EXTENSION
    
final static  StringFIELDS_INDEX_EXTENSION
    
final static  StringFIELD_INFOS_EXTENSION
    
final static  StringFREQ_EXTENSION
    
final static  StringGEN_EXTENSION
    
final static  StringINDEX_EXTENSIONS
     This array contains all filename extensions used by Lucene's index files, with two exceptions, namely the extension made up from .f + a number and from .s + a number.
final static  String[]INDEX_EXTENSIONS_IN_COMPOUND_FILE
     File extensions that are added to a compound file (same as above, minus "del", "gen", "cfs").
final static  String[]NON_STORE_INDEX_EXTENSIONS
    
final static  StringNORMS_EXTENSION
    
final static  StringPLAIN_NORMS_EXTENSION
    
final static  StringPROX_EXTENSION
    
final static  StringSEGMENTS
    
final static  StringSEGMENTS_GEN
    
final static  StringSEPARATE_NORMS_EXTENSION
    
final static  String[]STORE_INDEX_EXTENSIONS
    
final static  StringTERMS_EXTENSION
    
final static  StringTERMS_INDEX_EXTENSION
    
final static  StringVECTORS_DOCUMENTS_EXTENSION
    
final static  StringVECTORS_FIELDS_EXTENSION
    
final static  StringVECTORS_INDEX_EXTENSION
    
final static  StringVECTOR_EXTENSIONS
    


Method Summary
final static  StringfileNameFromGeneration(String base, String extension, long gen)
     Computes the full file name from base, extension and generation.
final static  booleanisDocStoreFile(String fileName)
     Returns true if the provided filename is one of the doc store files (ends with an extension in STORE_INDEX_EXTENSIONS).

Field Detail
COMPOUND_EXTENSIONS
final static String COMPOUND_EXTENSIONS(Code)
File extensions of old-style index files



COMPOUND_FILE_EXTENSION
final static String COMPOUND_FILE_EXTENSION(Code)
Extension of compound file



COMPOUND_FILE_STORE_EXTENSION
final static String COMPOUND_FILE_STORE_EXTENSION(Code)
Extension of compound file for doc store files



DELETABLE
final static String DELETABLE(Code)
Name of the index deletable file (only used in pre-lockless indices)



DELETES_EXTENSION
final static String DELETES_EXTENSION(Code)
Extension of deletes



FIELDS_EXTENSION
final static String FIELDS_EXTENSION(Code)
Extension of stored fields file



FIELDS_INDEX_EXTENSION
final static String FIELDS_INDEX_EXTENSION(Code)
Extension of stored fields index file



FIELD_INFOS_EXTENSION
final static String FIELD_INFOS_EXTENSION(Code)
Extension of field infos



FREQ_EXTENSION
final static String FREQ_EXTENSION(Code)
Extension of freq postings file



GEN_EXTENSION
final static String GEN_EXTENSION(Code)
Extension of gen file



INDEX_EXTENSIONS
final static String INDEX_EXTENSIONS(Code)
This array contains all filename extensions used by Lucene's index files, with two exceptions, namely the extension made up from .f + a number and from .s + a number. Also note that Lucene's segments_N files do not have any filename extension.



INDEX_EXTENSIONS_IN_COMPOUND_FILE
final static String[] INDEX_EXTENSIONS_IN_COMPOUND_FILE(Code)
File extensions that are added to a compound file (same as above, minus "del", "gen", "cfs").



NON_STORE_INDEX_EXTENSIONS
final static String[] NON_STORE_INDEX_EXTENSIONS(Code)



NORMS_EXTENSION
final static String NORMS_EXTENSION(Code)
Extension of norms file



PLAIN_NORMS_EXTENSION
final static String PLAIN_NORMS_EXTENSION(Code)
Extension of plain norms



PROX_EXTENSION
final static String PROX_EXTENSION(Code)
Extension of prox postings file



SEGMENTS
final static String SEGMENTS(Code)
Name of the index segment file



SEGMENTS_GEN
final static String SEGMENTS_GEN(Code)
Name of the generation reference file name



SEPARATE_NORMS_EXTENSION
final static String SEPARATE_NORMS_EXTENSION(Code)
Extension of separate norms



STORE_INDEX_EXTENSIONS
final static String[] STORE_INDEX_EXTENSIONS(Code)



TERMS_EXTENSION
final static String TERMS_EXTENSION(Code)
Extension of terms file



TERMS_INDEX_EXTENSION
final static String TERMS_INDEX_EXTENSION(Code)
Extension of terms index file



VECTORS_DOCUMENTS_EXTENSION
final static String VECTORS_DOCUMENTS_EXTENSION(Code)
Extension of vectors documents file



VECTORS_FIELDS_EXTENSION
final static String VECTORS_FIELDS_EXTENSION(Code)
Extension of vectors fields file



VECTORS_INDEX_EXTENSION
final static String VECTORS_INDEX_EXTENSION(Code)
Extension of vectors index file



VECTOR_EXTENSIONS
final static String VECTOR_EXTENSIONS(Code)
File extensions for term vector support





Method Detail
fileNameFromGeneration
final static String fileNameFromGeneration(String base, String extension, long gen)(Code)
Computes the full file name from base, extension and generation. If the generation is -1, the file name is null. If it's 0, the file name is . If it's > 0, the file name is _.
Parameters:
  base - -- main part of the file name
Parameters:
  extension - -- extension of the filename (including .)
Parameters:
  gen - -- generation



isDocStoreFile
final static boolean isDocStoreFile(String fileName)(Code)
Returns true if the provided filename is one of the doc store files (ends with an extension in STORE_INDEX_EXTENSIONS).



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.