List of usage examples for org.apache.lucene.index IndexFileNames PENDING_SEGMENTS
String PENDING_SEGMENTS
To view the source code for org.apache.lucene.index IndexFileNames PENDING_SEGMENTS.
Click Source Link
From source file:com.github.lucene.store.jdbc.support.LuceneFileNames.java
License:Apache License
/** * Returns if the name is a segment file or not. *//* w w w .j a va2s. com*/ public static boolean isSegmentsFile(final String name) { logger.debug("LuceneFileNames.isSegmentsFile({})", name); return name.equals(IndexFileNames.SEGMENTS) || name.equals(IndexFileNames.OLD_SEGMENTS_GEN) || name.equals(IndexFileNames.PENDING_SEGMENTS); }