Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
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
}
Posted
Updated 25-Feb-11 18:01pm
v5
Comments
Sandeep Mewara 23-Feb-11 4:12am    
Not clear. Rephrase and try again. Edit your question using 'Improve Question' link.

1 solution

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,
 
Share this answer
 
v2
Comments
fjdiewornncalwe 23-Feb-11 9:53am    
+5. Excellent.
Manfred Rudolf Bihy 25-Feb-11 8:01am    
Thanks Marcus.
Espen Harlinn 25-Feb-11 7:38am    
Good reply Manfred, my 5
Manfred Rudolf Bihy 25-Feb-11 8:02am    
Thanks Espen.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900