Ignore:
Timestamp:
2009-09-28T16:12:28+13:00 (15 years ago)
Author:
kjdon
Message:

removed all use of gs2:id as section ids. Now always use gs2:docOID, which is the same as teh greenstone oid. incremental section ids don't work when it comes to incremental build and deleting documents

File:
1 edited

Legend:

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

    r16583 r20731  
    229229
    230230                // We also have to initialize the nodeId value
    231                 document.add(new Field("nodeID", String.valueOf(node_id), Field.Store.YES, Field.Index.TOKENIZED));
     231        // changed to use docOID --kjdon
     232                document.add(new Field("docOID", String.valueOf(node_id), Field.Store.YES, Field.Index.TOKENIZED));
    232233
    233234                // Re-index document
Note: See TracChangeset for help on using the changeset viewer.