Changeset 16482


Ignore:
Timestamp:
07/21/08 11:30:06 (12 years ago)
Author:
kjdon
Message:

LuceneQueryResult.DocInfo now uses a string id_ instead of a long num_ for the doc id

File:
1 edited

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/src/java/org/greenstone/gsdl3/service/GS2LuceneSearch.java

    r14005 r16482  
    234234        String [] doc_nums = new String [docs.size()];
    235235        for (int d = 0; d < docs.size(); d++) {
    236         String doc_num = Long.toString(((LuceneQueryResult.DocInfo) docs.elementAt(d)).num_);
     236        String doc_num = ((LuceneQueryResult.DocInfo) docs.elementAt(d)).id_;
    237237            doc_nums[d] = doc_num;
    238238        }
Note: See TracChangeset for help on using the changeset viewer.