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

org.tinygroup.fulltext.IndexOperator Maven / Gradle / Ivy

The newest version!
package org.tinygroup.fulltext;

import java.util.List;

import org.tinygroup.fulltext.document.Document;
import org.tinygroup.fulltext.field.Field;

/**
 * 底层操作接口(屏蔽上层的数据来源)
 * @author yancheng11334
 *
 */
public interface IndexOperator {

	/**
	 * 创建索引接口
	 * @param docs
	 */
	void createIndex(List docs);
	
	/**
	 * 删除索引接口
	 * @param docIds
	 */
	@SuppressWarnings("rawtypes")
	void deleteIndex(List docIds);
	
	/**
	 * 查询带分页的索引
	 * @param searchCondition
	 * @param start
	 * @param limit
	 * @return
	 */
	public Pager search(String searchCondition,int start,int limit);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy