2013年4月24日

摘要: 转自:http://blog.csdn.net/wu_zheng_peng/article/details/8639828using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using System.Collections;namespace TextEdit{ public partial ... 阅读全文
posted @ 2013-04-24 12:21 ——阿文 阅读(421) 评论(0) 推荐(0)
摘要: 转自:http://guohongjian81.blog.163.com/blog/static/34535941201082161726699/编写数据库应用系统有时会用到根据汉字拼音来快速检索数据,网络上有汉字生成拼音的方法:代码functionGetPYIndexChar(hzchar:Ansistring):char;begincaseWORD(hzchar[1])shl8+WORD(hzchar[2])of$B0A1..$B0C4:result:='A';$B0C5..$B2C0:result:='B';$B2C1..$B4ED:result:= 阅读全文
posted @ 2013-04-24 12:20 ——阿文 阅读(483) 评论(0) 推荐(0)
摘要: 转自:http://blog.csdn.net/caoxu1987728/article/details/2324644FuzzyQuery:创建索引:IndexWriterwriter=newIndexWriter(path,newStandardAnalyzer(),false);writer.setUseCompoundFile(false);Documentdoc1=newDocument();Documentdoc2=newDocument();Documentdoc3=newDocument();Documentdoc4=newDocument();Documentdoc5=new 阅读全文
posted @ 2013-04-24 11:48 ——阿文 阅读(1687) 评论(0) 推荐(0)

导航