When new documents are indexed into Lucene, for efficiency they are written to an in-memory buffer instead of being immediately written to disk. This in-memory buffer will be flushed in a few circumstances and creates a new segment on disk:
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.