Skip to content

Commit

Permalink
Item14940: don't load MetaCache unless needed
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDaum committed Oct 13, 2020
1 parent 41ca231 commit 8586d92
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion core/lib/Foswiki/Store/Interfaces/QueryAlgorithm.pm
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ use Foswiki::Search::ResultSet ();
use Foswiki();
use Foswiki::Func();
use Foswiki::Meta ();
use Foswiki::MetaCache ();
use Foswiki::Query::Node ();
use Foswiki::Query::HoistREs ();
use Foswiki::ListIterator();
Expand Down
1 change: 0 additions & 1 deletion core/lib/Foswiki/Store/QueryAlgorithms/BruteForce.pm
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ use Foswiki::Search::ResultSet ();
use Foswiki();
use Foswiki::Func();
use Foswiki::Meta ();
use Foswiki::MetaCache ();
use Foswiki::Query::Node ();
use Foswiki::Query::HoistREs ();
use Foswiki::ListIterator();
Expand Down
1 change: 0 additions & 1 deletion core/lib/Foswiki/Store/SearchAlgorithms/Forking.pm
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ use Foswiki::Search::ResultSet ();
use Foswiki();
use Foswiki::Func();
use Foswiki::Meta ();
use Foswiki::MetaCache ();
use Foswiki::Query::Node ();
use Foswiki::Query::HoistREs ();
use Foswiki::ListIterator();
Expand Down
2 changes: 0 additions & 2 deletions core/lib/Foswiki/Store/SearchAlgorithms/PurePerl.pm
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ use Foswiki::Search::ResultSet ();
use Foswiki();
use Foswiki::Func();
use Foswiki::Meta ();
use Foswiki::MetaCache ();
use Foswiki::Query::Node ();
use Foswiki::Query::HoistREs ();
use Foswiki::ListIterator();
Expand Down Expand Up @@ -93,7 +92,6 @@ sub _search {
my ( $Iweb, $topic ) =
Foswiki::Func::normalizeWebTopicName( $web, $webtopic );

#TODO: need to BM if this is faster than doing it via an object in the MetaCache.
my $file;
my $enc = $Foswiki::cfg{Store}{Encoding} || 'utf-8';
if (
Expand Down

0 comments on commit 8586d92

Please sign in to comment.