全文检索 Api 应用框架 alconSeek

码农软件 · 软件分类 · Web框架 · 2019-03-25 23:13:58

软件介绍

尔康搜索(alconSeek)是一个让你极其方便地开发全文检索 Api 的应用骨架。

一. 依赖:

1). LNMP环境

搭建可参考:https://github.com/farwish/delicateShell/tree/master/lnmp

2). Composer工具

curl -sS https://getcomposer.org/installer | php  
mv composer.phar /usr/local/bin/composer

3). Phalcon框架

文档:https://docs.phalconphp.com/en/latest/reference/install.html

搭建可参考:https://github.com/farwish/delicateShell/blob/master/lnmp/installPhalcon.sh

4). Xunsearch服务

文档:http://www.xunsearch.com/doc/php/guide/start.installation

搭建可参考:https://github.com/farwish/delicateShell/blob/master/support/installXunsearch.sh

二. 部署:

sh deploy  
vi ./app/config/config.ini  #数据库配置

三. nginx 配置部分:

server {
    listen 80; 
    server_name alconseek.farwish.com;

    root /home/www/alconSeek/public;

    location / { 
        index index.html index.htm index.php;
        try_files $uri $uri/ /index.php?_url=$uri&$args;
    }   

    location ~ \.php$ {
        fastcgi_pass   127.0.0.1:9000;
        fastcgi_index  index.php;
        fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
        include        fastcgi_params;
    }
}
别忘了:
/etc/hosts 中加入 127.0.0.1   alconseek.farwish.com

四. 数据库

你可以用phpmyadmin等软件导入我准备好的数据库进行测试, 文件是 alconseek.sql。
索引管理界面初始登录账号密码: admin / admin

五. 访问

http://www.demo.com/m
http://www.demo.com/s?q=


本文地址:https://www.codercto.com/soft/d/2160.html

Essential C++中文版

Essential C++中文版

李普曼 (Stanley B.Lippman) / 侯捷 / 电子工业出版社 / 2013-8-1 / CNY 65.00

本书以四个面向来表现C++的本质:procedural(面向过程的)、generic(泛型的)、object-based(基于对象的)、objectoriented(面向对象的)。全书围绕一系列逐渐繁复的程序问题,以及用以解决这些问题的语言特性来组织。循此方式,你将不只学到C++的功能和结构,也可学到它们的设计目的和基本原理。 本书适合那些已经开始从事软件设计,又抽不出太多时间学习新技术的程......一起来看看 《Essential C++中文版》 这本书的介绍吧!

URL 编码/解码
URL 编码/解码

URL 编码/解码

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具