Lucene2CSV
Class Lucene2CSV
public class Lucene2CSV
extends java.lang.Object
This class is used to write Lucene Indexed Data to the CSV file
which can be used by any database or as for requirement of the user
- rahul & sudipto
(package private) static String | file
|
(package private) static String | indexDir
|
(package private) String | str
|
(package private) Document | thisDoc
|
(package private) String | tmpStr
|
(package private) String | tmpStrNew
|
Lucene2CSV(String indexName, String fileName)- Constructor of the class to initialize indexName & fileName
And call method to process on Lucene Index
|
void | processCSV()- method to process data present in the Lucene Index
And reterive data from the index write in the file given
By the user
|
file
(package private) static String file
indexDir
(package private) static String indexDir
str
(package private) String str
thisDoc
(package private) Document thisDoc
tmpStr
(package private) String tmpStr
tmpStrNew
(package private) String tmpStrNew
Lucene2CSV
public Lucene2CSV(String indexName,
String fileName)
throws Exception Constructor of the class to initialize indexName & fileName
And call method to process on Lucene Index
indexName - fileName -
processCSV
public void processCSV()
throws Exception method to process data present in the Lucene Index
And reterive data from the index write in the file given
By the user