esearch ESearch provides an action and some default views for search and order by relevance in MySQL without FULLTEXT.

  1. Introduction
  2. Documentation
  3. Resources

Introduction ¶

ESearch provides an action and some default views for search and order by relevance in MySQL without FULLTEXT.

Note: Please post the issues on Github

Download ¶

Download Last release

Documentation ¶

Requirements ¶
  • Yii 1.0 or above
  • MySQL 5.0 or above
  • PHP 5.2
Installation ¶
  • Extract the release file under protected/extensions/esearch
Usage ¶
//controllers/SiteController.php

	public function actions(){
		return array(
			// ...
			'search'=>array(
                            'class'=>'ext.esearch.SearchAction',
                            'model'=>'Post',
							'attributes'=>array('title', 'tags', 'content'),
                        )
  		);
  	}

//views/layout/main.php
 	$this->widget('ext.search.SearchBoxPortlet');
//or
 	SearchAction::renderInputBox();
//or
 	$this->renderPartial('extensions/esearch/views/inputBox.php');
'import'=>array(
		// ...
        'ext.esearch.*',
),

Resources ¶

12 1
19 followers
181 downloads
Yii Version: 1.1
License: MIT
Category: Web Service
Developed by: CGeorge CGeorge
Created on: Jun 27, 2011
Last updated: 12 years ago

Related Extensions