Changeset 2038

Show
Ignore:
Timestamp:
02/29/08 08:35:56 (3 months ago)
Author:
joshr
Message:

don't store all the props in memory: just the swishdocpath.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • Swishetest/trunk/DoSearch.pm

    r1965 r2038  
    5151        while ( my $result = $results->NextResult() ) { 
    5252            my %h; 
    53             for my $p (@props) { $h{$p} = $result->Property($p); } 
     53            #for my $p (@props) { $h{$p} = $result->Property($p); } 
     54            for my $p (@props) { if($p eq "swishdocpath") { $h{$p} = $result->Property($p);}  } 
    5455            push(@r, \%h); 
     56            #push( @r, {swishdocpath=>$result->Property( "swishdocpath" ); 
    5557        } 
    5658    };  # end eval{}