lucene.net的文件格式和语义 [英] lucene.net file formats and semantic
问题描述
我为包含24个文本文件的文件夹做一个简单的索引和搜索程序.当我每次创建"Index"文件夹时调试程序时,现在就进行索引.创建此文件夹时,其中包含名为_1CFS文件的文件,然后删除这些文件包含的内容及其用途.
我使用以下代码::::
内部静态只读FileInfo indexloc = new FileInfo(@"C:\\ Index")
//这是索引文件夹
静态void Main(string [] args)
{
FileInfo文件夹=新的FileInfo(@"C:\\ Documents")//这是包含24个文件的文件文件夹,必须对其进行索引
}
I do a simple indexing and searching program for a file folder consist of 24 text files.Now for indexing when I debug a program every time "Index" folder is created.when this folder is created it contains files named _1CFS file,deletable and segments.Then what these files contain and its use.
I use following piece of code::::
internal static readonly FileInfo indexloc =new FileInfo(@"C:\\Index")
//This is index folder
static void Main(string[] args)
{
FileInfo folder = new FileInfo(@"C:\\Documents")//This is file folder containing 24 files on which indexing has to do
}
推荐答案
由于lucene最初是一个Apache Java项目,因此在此寻找特殊信息始终是一个好主意:http://lucene.apache.org/java/2_4_0/fileformats.html [
Since lucene is originally an Apache java project it''s always a good idea to also look there for specialized information: http://lucene.apache.org/java/2_4_0/fileformats.html[^] This page describes pretty well what files there are and some of the content.
Hope this helps you!
Regards,
这篇关于lucene.net的文件格式和语义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!