fix search error

This commit is contained in:
wlx 2013-05-03 01:10:38 +00:00
parent a2a86129cc
commit 0e884a6ca6
1 changed files with 1 additions and 1 deletions

View File

@ -1853,7 +1853,7 @@ class AuthorController extends Zend_Controller_Action
$row = $sth->fetch(); $row = $sth->fetch();
//update search document //update search document
$search=new SimpleSearch(); $search=new Search();
//create search view in xunsearch //create search view in xunsearch
//$sql="select m.uuid,m.title,m.description,x.data,array_to_string(ARRAY( SELECT keyword.keyword FROM keyword WHERE keyword.id = m.id), ', '::text) AS keyword from normalmetadata m left join xml x on m.id=x.id where m.uuid=?"; //$sql="select m.uuid,m.title,m.description,x.data,array_to_string(ARRAY( SELECT keyword.keyword FROM keyword WHERE keyword.id = m.id), ', '::text) AS keyword from normalmetadata m left join xml x on m.id=x.id where m.uuid=?";
$sql="select * from xunsearch where uuid=?"; $sql="select * from xunsearch where uuid=?";