Example usage for Java org.apache.lucene.index IndexFileNames fields, constructors, methods, implement or subclass
The text is from its open source code.
String | SEGMENTS Name of the index segment file |
String | PENDING_SEGMENTS Name of pending index segment file |
String | OLD_SEGMENTS_GEN Name of the generation reference file name |
String | fileNameFromGeneration(String base, String ext, long gen) Computes the full file name from base, extension and generation. |
String | getExtension(String filename) Return the extension (anything after the first '.'), or null if there is no '.' |
String | parseSegmentName(String filename) Parses the segment name out of the given file name. |
String | segmentFileName(String segmentName, String segmentSuffix, String ext) Returns a file name that includes the given segment name, your own custom name and extension. |
String | stripExtension(String filename) Removes the extension (anything after the first '.'), otherwise returns the original filename. |
String | stripSegmentName(String filename) Strips the segment name out of the given file name. |