cvsimport
[beagle.git] / beagled / Lucene.Net / Index / IndexFileNames.cs
bloba5ef774e349ed611d84ae24a34d4a8932af7a78b
1 /*
2 * Copyright 2004 The Apache Software Foundation
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 using System;
19 namespace Lucene.Net.Index
22 /// <summary> Useful constants representing filenames and extensions used by lucene
23 ///
24 /// </summary>
25 /// <author> Bernhard Messer
26 /// </author>
27 /// <version> $rcs = ' $Id: IndexFileNames.cs,v 1.2 2006/10/02 17:08:52 joeshaw Exp $ ' ;
28 /// </version>
29 sealed class IndexFileNames
32 /// <summary>Name of the index segment file </summary>
33 internal const System.String SEGMENTS = "segments";
35 /// <summary>Name of the index deletable file </summary>
36 internal const System.String DELETABLE = "deletable";
38 /// <summary> This array contains all filename extensions used by Lucene's index files, with
39 /// one exception, namely the extension made up from <code>.f</code> + a number.
40 /// Also note that two of Lucene's files (<code>deletable</code> and
41 /// <code>segments</code>) don't have any filename extension.
42 /// </summary>
43 internal static readonly System.String[] INDEX_EXTENSIONS = new System.String[]{"cfs", "fnm", "fdx", "fdt", "tii", "tis", "frq", "prx", "del", "tvx", "tvd", "tvf", "tvp"};
45 /// <summary>File extensions of old-style index files </summary>
46 internal static readonly System.String[] COMPOUND_EXTENSIONS = new System.String[]{"fnm", "frq", "prx", "fdx", "fdt", "tii", "tis"};
48 /// <summary>File extensions for term vector support </summary>
49 internal static readonly System.String[] VECTOR_EXTENSIONS = new System.String[]{"tvx", "tvd", "tvf"};