simplified the rules engine
This commit is contained in:
parent
5037b16dbe
commit
394da51da7
5 changed files with 184 additions and 42 deletions
|
|
@ -117,7 +117,7 @@ sub searchSite {
|
|||
my $keywords = shift;
|
||||
my $t = [Time::HiRes::gettimeofday()];
|
||||
my $search = WebGUI::Search->new($session, 0);
|
||||
$search->search({keywords=>{terms=>[$keywords]}});
|
||||
$search->search({keywords=>$keywords});
|
||||
my $rs = $search->getResultSet;
|
||||
while (my $data = $rs->hashRef) {
|
||||
print $data->{assetId}."\t".$data->{title}."\n";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue