[root@sm ~]# cd /usr/local/xunsearch/ [root@sm xunsearch]# ls bin data etc include lib sdk share tmp [root@sm xunsearch]# ./sdk/php/util/ Indexer.php Quest.php SearchSkel.php XSDataSource.class.php IniWizzard.php RequiredCheck.php skel/...
...c function toProjectIni($project){ if (!is_file($project)) { $appRoot = getenv('XS_APP_ROOT'); if ($appRoot === false) { $appRoot = defined('XS_APP_ROOT') ? XS_APP_ROOT : dirname(__FILE__) . '/../app'; } return $appRoot . '/' . $project . '.ini'; } else {...
...struct($file){ if (strlen($file) < 255 && !is_file($file)) { $appRoot = getenv('XS_APP_ROOT'); if ($appRoot === false) { $appRoot = defined('XS_APP_ROOT') ? XS_APP_ROOT : XS_LIB_ROOT . '/../app'; } $file2 = $appRoot . '/' . $file . '.ini'; if (is_file...
... require_once $file; } else if (file_exists(XS_LIB_ROOT . DIRECTORY_SEPARATOR . $file)) { require_once XS_LIB_ROOT . DIRECTORY_SEPARATOR . $file; } if (!class_exists($name)) { throw new XSException('Undefined custom tokenize...
...1.1.1版本的安装步骤,却发现出错了: 看代码: [code] [root@localhost phpext]# ./configure --with-scws=/usr/local/scws/ --with-php-config=/usr/local/php5/bin/php-config checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking fo...
...为 vendor/hightman/xunsearch/app // 如有必要,请通过常量 XS_APP_ROOT 定义 define ('XS_APP_ROOT', '/path/to/ini') // 创建 XS 对象,关于项目配置文件请参见官网 $xs = new \XS('demo'); // 后面的代码就和官网上的指南一致了 ``` ### Yii-1.x 用法 这是对 ...
...737: _LT_AC_TAGCONFIG is expanded from... [/code] [b]执行:[/b] [code][root@localhost phpext]# ./configure --with-scws=/usr/local/scws --with-php-config=/opt/lampp/bin/php-config checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a ...