All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alogic.lucene.indexer.RAM Maven / Gradle / Ivy

There is a newer version: 1.6.16
Show newest version
package com.alogic.lucene.indexer;

import org.apache.lucene.store.Directory;
import org.apache.lucene.store.RAMDirectory;

import com.alogic.lucene.core.Indexer;
import com.anysoft.util.Properties;


/**
 * 基于RAMDirectory的Indexer
 * 
 * @author duanyy
 *
 */
public class RAM extends Indexer.Abstract{
	/**
	 * dircectory
	 */
	protected Directory index = new RAMDirectory();
	
	public Directory getDirectory() {
		return index;
	}
	
	public void configure(Properties p) {
		super.configure(p);
		build(true);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy