摘要:
1. IQueriable中内置的搜索功能
在Webus.Index.IQueriable中内置了一些基本的搜索功能:
public interface IQueriable
{
Document SelectDoc(); //获取第一个Document对象, 作为样本
List SelectDoc(int[] docIds); //根据docId获取Document
List SelectIndex(string fieldname, string keyword, int length); //在指定字段中根据关键词搜索, 只返回指定长度的数据
List SelectPostfixKeyword(string postfix); //搜索满足后缀条件的关键词
List SelectPrefixKeyword(string prefix); //搜索满足前缀条件的关键词
阅读全文
posted @ 2013-07-22 14:22
Ivan Zou
阅读(1112)
评论(0)
推荐(0)
浙公网安备 33010602011771号