blob: 448c0626a15cd3a0fd6f6b52e577691953a072c8 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2016 Zend Technologies and others.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Zend Technologies - initial API and implementation
*******************************************************************************/
package org.eclipse.dltk.internal.core.index.lucene;
import org.apache.lucene.util.Version;
import org.eclipse.dltk.core.index.lucene.LucenePlugin;
/**
* Lucene support properties, i.e. model & Lucene engine version.
*
* @author Bartlomiej Laczkowski
*/
public final class IndexProperties {
private static final String PREFIX = LucenePlugin.ID + ".property."; //$NON-NLS-1$
public static final String KEY_MODEL_VERSION = PREFIX + "model.version"; //$NON-NLS-1$
public static final String KEY_LUCENE_VERSION = PREFIX + "lucene.version"; //$NON-NLS-1$
public static final String MODEL_VERSION = "1.0"; //$NON-NLS-1$
public static final String LUCENE_VERSION = Version.LATEST.toString();
}