public
Description: A PHP framework that "tries" to live up to what the good guys did with Rails, without the brain damaged results that the Cake PHP guys did.
Homepage: http://www.w3matter.com
Clone URL: git://github.com/esconsut1/php-rails-clone.git
Click here to lend your support to: php-rails-clone and make a donation at www.pledgie.com !
php-rails-clone / lib / test.php
100644 16 lines (12 sloc) 0.24 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?
 
include('swish.php');
 
// Get the top results
$s = new Query('../index/main_index.index');
$s->term('xtodayx');
$s->limit(100);
$s->filter('tag_id', 1, 1);
$s->get_hits();
$s->get_results();
$current = $s->serps;
 
print_r($current);
?>