摘要: 文件并发(日志处理)--队列--Redis+Log4Net 分布式中使用Redis实现Session共享(二) http://www.cnblogs.com/stephen-liu74/archive/2012/02/23/2364717.html 读写分离 配置文件为redis.conf文件 如何 阅读全文
posted @ 2016-12-12 21:48 ecollab 阅读(1016) 评论(0) 推荐(0) 编辑
摘要: 利用Jquery easyui里的autocomplete(1.10.0版本) 的异步请求(remot.html) 添加引用 <script src="~/Scripts/jquery-1.7.1.min.js"></script> <script src="~/Scripts/jquery-ui- 阅读全文
posted @ 2016-12-12 20:29 ecollab 阅读(878) 评论(0) 推荐(0) 编辑
摘要: 1、建立搜索表 ID KeyWords DT 搜索一次保存一次,id才用guid提高效率 /// <summary> /// 搜索数据 /// </summary> /// <returns></returns> private List<ViewSarchContentModel> SearchB 阅读全文
posted @ 2016-12-12 17:05 ecollab 阅读(1385) 评论(0) 推荐(0) 编辑
摘要: public sealed class SearchIndexManager { private static readonly SearchIndexManager searchIndexManager = new SearchIndexManager(); private SearchIndex 阅读全文
posted @ 2016-12-12 15:16 ecollab 阅读(1217) 评论(0) 推荐(0) 编辑
摘要: 1、加入盘古分词方法 /// <summary> /// 对输入的搜索的条件进行分词 /// </summary> /// <param name="str"></param> /// <returns></returns> public static List<string> GetPanGuWo 阅读全文
posted @ 2016-12-12 13:31 ecollab 阅读(336) 评论(0) 推荐(0) 编辑
摘要: 模糊查询-〉数据库全文检索-〉Lucene 一元分词(lucene内置) 二元分词对汉字没有多大作用 using System.Collections; using System.IO; using Lucene.Net.Analysis; namespace NSharp.SearchEngine 阅读全文
posted @ 2016-12-12 09:55 ecollab 阅读(249) 评论(0) 推荐(0) 编辑
摘要: 安装Redis 官方网站:http://redis.io/官方下载:http://redis.io/download 可以根据需要下载不同版本 windows 版 32、64位下载(比较低): https://github.com/dmajkic/redis/downloads 64位下载:http 阅读全文
posted @ 2016-12-12 08:58 ecollab 阅读(253) 评论(0) 推荐(0) 编辑