add xun search lib
This commit is contained in:
parent
e89817b550
commit
9cbbaf48f8
|
@ -2620,10 +2620,10 @@ group by m.uuid,m.title,m.description) md ON md.uuid=v.uuid
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 1. 权限认定 --skip
|
// 1. 权限认定 --skip
|
||||||
// 2. 保存变化记录 save changelog & userid
|
// 2. 保存变化记录 save changelog & userid
|
||||||
$sql = "UPDATE mdversion SET changelog=?,userid=g.owner from geonetworkmetadata g WHERE g.uuid=mdversion.uuid and mdversion.id=?";
|
$sql = "UPDATE mdversion SET changelog=?,userid=g.owner from geonetworkmetadata g WHERE g.uuid=mdversion.uuid and mdversion.id=?";
|
||||||
$this->db->query($sql,array($changelog,$id));
|
$this->db->query($sql,array($changelog, $id));
|
||||||
|
|
||||||
// 3. 获取数据评审状态
|
// 3. 获取数据评审状态
|
||||||
$sql = "SELECT s.*,v.xml,m.title FROM mdstatus s left join mdversion v on s.uuid=v.uuid
|
$sql = "SELECT s.*,v.xml,m.title FROM mdstatus s left join mdversion v on s.uuid=v.uuid
|
||||||
|
@ -2908,7 +2908,7 @@ group by m.uuid,m.title,m.description) md ON md.uuid=v.uuid
|
||||||
}
|
}
|
||||||
//@$mail->send();
|
//@$mail->send();
|
||||||
|
|
||||||
$data = array("commited"=>1,"error"=>'该版本已经成功发布!');
|
$data = array("commited"=>1, "error"=>'该版本已经成功发布!');
|
||||||
$this->jsonexit($data);
|
$this->jsonexit($data);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
require_once '/home/lijianxuan/xunsearch/sdk/php/lib/XS.php';
|
||||||
|
|
||||||
class Search
|
class Search
|
||||||
{
|
{
|
||||||
var $terms;
|
var $terms;
|
||||||
|
@ -16,8 +18,6 @@ class Search
|
||||||
var $hot;
|
var $hot;
|
||||||
var $base_url;
|
var $base_url;
|
||||||
var $expanded;
|
var $expanded;
|
||||||
|
|
||||||
//require_once '/home/wlx/xunsearch/sdk/php/lib/XS.php';
|
|
||||||
|
|
||||||
private function safe_query($search)
|
private function safe_query($search)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue