Changeset 16482

Show
Ignore:
Timestamp:
21.07.2008 11:30:06 (11 years ago)
Author:
kjdon
Message:

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

Files:
1 modified

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        }