Changeset 16430


Ignore:
Timestamp:
2008-07-16T16:25:27+12:00 (13 years ago)
Author:
mdewsnip
Message:

Removed the pointless IndexXML class.

Location:
indexers/trunk/lucene-gs/src/org/greenstone/LuceneWrapper
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • indexers/trunk/lucene-gs/src/org/greenstone/LuceneWrapper/GS2LuceneIndexer.java

    r16262 r16430  
    9696   
    9797    // Set up indexer
    98     IndexXML indexer = new IndexXML(doc_tag_level,idx_dir, create_new_index);
    99     indexer.init();
     98    Indexer indexer = new Indexer(doc_tag_level, idx_dir, create_new_index);
    10099
    101100    // Read from stdin the files to process
     
    109108        xml_text.append(line);
    110109        if (line.startsWith("</Doc>")) {
    111             indexer.indexFile(xml_text.toString());
     110            indexer.index(xml_text.toString());
    112111            xml_text = new StringBuffer(1024);
    113112        }
    114         //File xml_file = new File(import_dir + File.separator + line);
    115         //indexer.indexFile(xml_file); // ****
    116113        }
    117114
Note: See TracChangeset for help on using the changeset viewer.