smartclose插件韩国减肥节贴有效果没没

8 相关软件 4.4M/多国语言[中文]/8.3 32.5M/中文/5.0 7.6M/中文/6.1 1.7M/中文/3.3 257KB/中文/6.9顶好评:50%踩坏评:50请简要描述您遇到的错误,我们将尽快予以修正。轮坛转帖HTML方式轮坛转帖UBB方式
737KB/中文/5.1
20.5M/中文/1.7
1.2M/中文/5.2
1.9M/中文/5.3
64.8M/多国语言[中文]/6.3
1.4M/英文/5.0
73.8M/英文/4.1
号称可以自动关闭当前的系统程序,并且把当前的系统运行(包括程序)的状态保存下来,下次开机之后可以还原到上次保存的系统运行状态。
SmartClose
1.3绿色免费版
下载帮助西西破解版软件均来自互联网, 如有侵犯您的版权, 请与我们联系。&您的位置:
软件还原精灵(SmartClose)v1.3免费版
SmartClose 是一个软件还原精灵.
游戏攻略(0)其他版本(
《软件还原精灵(SmartClose)》游戏综述
SmartClose 是一个软件还原精灵,功能和类似,只不过它是针对软件的备份还原设计的,它能把电脑中正在运行的软件备份成一个快照,在需要时,可以随时把软件还原到备份时的状态,适合在测试软件或程序时使用
SmartClose 软件还原精灵使用说明
1、安装并打开软件,设置需要关闭的软件以及生成快照
2、选择是关闭程序、关闭资源管理器、禁用屏保(如果有)、停止系统服务以及创建快照。如果你只想快速关闭软件和窗口,可以不选择快照,但如果想要生成快照,就必须选择上面几项关闭项
3、设置不关闭的程序和进程,之后,选择快照需要保存的位置以及快照的名称
4、确认无误后 SmartClose 会根据您的设置关闭程序和进程,SmartClose 不是属于那种杀死进程的关闭方式,所以如果有些未保存的文档、图片,在关闭时窗口时,会提醒你是否要保存,防止有误
5、想要还原快照的话,在软件主界面选择第二项,接着选择需要还原的窗口或者是软件,再点击下一步就可以了
还原的结果都还可以,像资源管理器,还会还原回之前你所在的目录,如果有些软件是打开了某个文件的话,它可能就不会打开该文件了,这似乎软件自身的问题,跟SmartClose无关.
/UpImages/.jpg
《软件还原精灵(SmartClose)》游戏攻略
《软件还原精灵(SmartClose)》其它版本下载
《软件还原精灵(SmartClose)》下载地址
你可能还会喜欢
本类最新更新
最新推荐下载
&&&&类型:评分:3.3
别人正在下载...
CCAD免费版本包括CCAD免费版软件、CAD帮助......常兴串口调试,给工程技术人员使用的监视和调试串口程......TopStyle 是一款 CSS 开发辅助工具,即......各位都是电脑方面的高手了,必然有被朋友拉着修电脑的......sem精算师是一款给企业用户使用的SEM优化软件,......超市播音系统是一款专业智能的免费超市播音软件. ...麦唱电脑版,是通过使用安卓模拟器,在让您电脑上完美......易语言源码空变量分析器是一个易语言编程辅助工具. ...HWiNFO32是一个电脑硬件测试软件. ...Shareaza(简称Raza), 是Window......Lucene4全文索引示例 - 一步既出,无需罣碍,前行便是 - ITeye技术网站
博客分类:
Lucene4.2.1示例,之前也做过3.6的示例。3.6的分词需要使用IKAnalyzer或者其他的分词,对中文的支持可能才会更好,但是4.2为我们提供了SmartChineseAnalyzer这个中文分词器。
下面是一个简单的示例程序,分别对应增删改查:
package com.xiva.test.
import java.io.BufferedR
import java.io.F
import java.io.FileInputS
import java.io.FileNotFoundE
import java.io.InputStreamR
import java.util.ArrayL
import java.util.D
import java.util.L
import org.apache.lucene.analysis.A
import org.apache..smart.SmartChineseA
import org.apache.lucene.document.D
import org.apache.lucene.document.F
import org.apache.lucene.document.StringF
import org.apache.lucene.document.TextF
import org.apache.lucene.index.IndexW
import org.apache.lucene.index.IndexWriterC
import org.apache.lucene.store.D
import org.apache.lucene.store.SimpleFSD
import org.apache.lucene.util.V
public class IvFileIndex
private static List&File& fileList = new ArrayList&File&(1024);
public static void listAllFile(File fileDir)
File[] files = fileDir.listFiles();
for (File file : files)
if (file.isDirectory())
listAllFile(file);
fileList.add(file);
public static void main(String[] args) throws Exception
File fileDir = new File("F:\\WorkSpace");
File indexDir = new File("F:\\WorkSpace\\EclipseProjects\\luceneIndex");
Analyzer luceneAnalyzer = new SmartChineseAnalyzer(Version.LUCENE_42);
IndexWriterConfig config = new IndexWriterConfig(Version.LUCENE_42, luceneAnalyzer);
config.setOpenMode(org.apache.lucene.index.IndexWriterConfig.OpenMode.CREATE);
Directory fsDir = new SimpleFSDirectory(indexDir);
IndexWriter indexWriter = new IndexWriter(fsDir, config);
listAllFile(fileDir);
long startTime = new Date().getTime();
indexWriter.deleteAll();
// 增加document到索引去
for (File txtFile : fileList)
if (txtFile.isFile() && txtFile.getName().endsWith(".java"))
System.out.println(txtFile.getName());
FileInputStream fis =
fis = new FileInputStream(txtFile);
catch (FileNotFoundException fnfe)
Document document = new Document();
Field fieldPath = new StringField("path", txtFile.getPath(), Field.Store.YES);
Field fieldBody = new TextField("body", new BufferedReader(new InputStreamReader(fis, "GBK")));
document.add(fieldPath);
document.add(fieldBody);
indexWriter.addDocument(document);
fis.close();
System.out.println("被索引文件:" + txtFile.getCanonicalPath());
// 对索引进行优化
indexWriter.forceMerge(10);
indexWriter.close();
// 测试一下索引的时间
long endTime = new Date().getTime();
System.out.println("索引耗费时间:" + (endTime - startTime) + " 毫秒!");
package com.xiva.test.
import java.io.F
import java.io.FileInputS
import java.io.FileNotFoundE
import java.util.D
import org.apache.lucene.analysis.A
import org.apache..smart.SmartChineseA
import org.apache.lucene.index.IndexW
import org.apache.lucene.index.IndexWriterC
import org.apache.lucene.index.T
import org.apache.lucene.store.D
import org.apache.lucene.store.SimpleFSD
import org.apache.lucene.util.V
* 删除索引
* @author xiva
* @version [版本号, ]
* @see [相关类/方法]
* @since [产品、模块版本]
public class IvIndexDelete
public static void main(String[] args) throws Exception
File fileDir = new File("E:\\data\\lucene");
File indexDir = new File("E:\\data\\index");
Analyzer luceneAnalyzer = new SmartChineseAnalyzer(Version.LUCENE_42);
IndexWriterConfig config = new IndexWriterConfig(Version.LUCENE_42,
luceneAnalyzer);
config.setOpenMode(org.apache.lucene.index.IndexWriterConfig.OpenMode.APPEND);
Directory fsDir = new SimpleFSDirectory(indexDir);
IndexWriter indexWriter = new IndexWriter(fsDir, config);
File[] txtFiles = fileDir.listFiles();
long startTime = new Date().getTime();
// 增加document到索引去
for (int i = 0; i & txtFiles. i++)
if (txtFiles[i].isFile() && txtFiles[i].getName().endsWith("u.txt"))
FileInputStream fis =
fis = new FileInputStream(txtFiles[i]);
catch (FileNotFoundException fnfe)
indexWriter.deleteDocuments(new Term("path",
txtFiles[i].getPath()));
fis.close();
System.out.println("被删除索引文件:" + txtFiles[i].getCanonicalPath());
indexWriter.forceMerge(10);
indexWriter.close();
//测试一下索引的时间
long endTime = new Date().getTime();
System.out.println("删除索引耗费时间:" + (endTime - startTime) + " 毫秒!");
package com.xiva.test.
import java.io.BufferedR
import java.io.F
import java.io.FileInputS
import java.io.FileNotFoundE
import java.io.InputStreamR
import java.util.D
import org.apache.lucene.analysis.A
import org.apache..smart.SmartChineseA
import org.apache.lucene.document.D
import org.apache.lucene.document.F
import org.apache.lucene.document.StringF
import org.apache.lucene.document.TextF
import org.apache.lucene.index.IndexW
import org.apache.lucene.index.IndexWriterC
import org.apache.lucene.index.T
import org.apache.lucene.store.D
import org.apache.lucene.store.SimpleFSD
import org.apache.lucene.util.V
public class IvIndexUpdate
public static void updateIndex() throws Exception
File fileDir = new File("E:\\data\\lucene");
File indexDir = new File("E:\\data\\index");
Analyzer luceneAnalyzer = new SmartChineseAnalyzer(Version.LUCENE_42);
IndexWriterConfig config = new IndexWriterConfig(Version.LUCENE_42, luceneAnalyzer);
config.setOpenMode(org.apache.lucene.index.IndexWriterConfig.OpenMode.APPEND);
Directory fsDir = new SimpleFSDirectory(indexDir);
IndexWriter indexWriter = new IndexWriter(fsDir, config);
File[] txtFiles = fileDir.listFiles();
long startTime = new Date().getTime();
// 增加document到索引去
for (int i = 0; i & txtFiles. i++)
if (txtFiles[i].isFile() && txtFiles[i].getName().endsWith("u.txt"))
FileInputS
fis = new FileInputStream(txtFiles[i]);
catch (FileNotFoundException fnfe)
Document document = new Document();
Field fieldPath = new StringField("path", txtFiles[i].getPath(), Field.Store.YES);
Field fieldBody = new TextField("body", new BufferedReader(new InputStreamReader(fis, "GBK")));
document.add(fieldPath);
document.add(fieldBody);
indexWriter.updateDocument(new Term("path", txtFiles[i].getPath()), document);
fis.close();
System.out.println("被更新索引文件:" + txtFiles[i].getCanonicalPath());
indexWriter.forceMerge(10);
indexWriter.close();
// 测试一下索引的时间
long endTime = new Date().getTime();
System.out.println("更新索引耗费时间:" + (endTime - startTime) + " 毫秒!");
public static void main(String[] args) throws Exception
updateIndex();
package com.xiva.test.
import java.io.F
import java.io.IOE
import java.util.D
import org.apache.lucene.analysis.A
import org.apache..smart.SmartChineseA
import org.apache.lucene.document.D
import org.apache.lucene.index.DirectoryR
import org.apache.lucene.index.IndexR
import org.apache.lucene.queryparser.classic.ParseE
import org.apache.lucene.queryparser.classic.QueryP
import org.apache.lucene.search.IndexS
import org.apache.lucene.search.Q
import org.apache.lucene.search.ScoreD
import org.apache.lucene.search.TopD
import org.apache.lucene.store.FSD
import org.apache.lucene.util.V
public class IvFileSearch
public static void main(String[] args) throws IOException
String queryString = "索引";
String field = "body";
Query query =
TopDocs docs =
File indexDir = new File("F:\\WorkSpace\\EclipseProjects\\luceneIndex");
IndexReader reader = DirectoryReader.open(FSDirectory.open(indexDir));
IndexSearcher searcher = new IndexSearcher(reader);
// StopFilterFactory factory = new StopFilterFactory();
// factory.getStopWords()
Analyzer analyzer = new SmartChineseAnalyzer(Version.LUCENE_42);
long startTime = new Date().getTime();
QueryParser qp = new QueryParser(Version.LUCENE_42, field, analyzer);
query = qp.parse(queryString);
long endTime = new Date().getTime();
System.out.println("索引耗费时间:" + (endTime - startTime) + " 毫秒!");
catch (ParseException e)
e.printStackTrace();
if (searcher != null)
docs = searcher.search(query, 25);// 可以分页查询
ScoreDoc scoreDocs[] = docs.scoreD
for (int i = 0; i & docs.totalH i++)
Document targetDoc = searcher.doc(scoreDocs[i].doc);
String path = targetDoc.get("path");
System.out.println("path:" + path);
PS:对于数据库操作时,相信大家都有相关的方法去更新或者删除索引,比如及时更新或者使用定时扫描表的方法。数据库本身也具有全文索引的特性,比如Oracle和MSSQL。
对与文件的操作,我的解决方法是:可以采用
这里给出的方法来更新或者删除索引。
浏览: 138704 次
来自: 南京
wwwang89 写道这位大哥,你好!很感谢你分享的文章,写的 ...
这位大哥,你好!很感谢你分享的文章,写的很好,适合我们新手学习 ...
能否具体讲解一下为什么StringBuilder的长度会不一样 ...
能用abap查询sap服务器的配置、会话、队列、spo ...
vebasan 写道此句代码的单词有错(标红色的):prop. ...

我要回帖

更多关于 有没有有效果的减肥药 的文章

 

随机推荐