[Description]:

1.[detailed description]:
mainly: drupal7 + search_api + facet_api + Xunsearch
This module handles integration with XunSearch - an excellent fulltext search engine – expressly for Chinese and other Asian languages like Korean and Japanese , and it support English well too.
Simliar to project https://drupal.org/project/apachesolr

Xunsearch is very high performance, GPL , very easy to install.
Xunsearch is writen in C/C++ , use xapian-core , scws to handle Chinese segmentation scheme.
Install Xunsearch: http://www.xunsearch.com/doc/php/guide/start.installation

2.Project page:https://drupal.org/sandbox/haojiang/2226967

3. git repository:
http://git.drupal.org/sandbox/haojiang/2226967.git
OR
git clone --branch 7.x-1.x haojiang@git.drupal.org:sandbox/haojiang/2226967.git xunsearch

4.demo: http://xs.trackself.com/?q=testxunsearch&search_api_views_fulltext=1
and a full chinese detail description here:http://www.trackself.com/archives/2539.html

5.This automated report by http://pareview.sh/ : show no errors and no warnings
http://pareview.sh/pareview/httpgitdrupalorgsandboxhaojiang2226967git

[English]
This module handles integration with XunSearch - an excellent fulltext search engine – expressly for Chinese and other Asian languages like Korean and Japanese , and it support English well too.
Xunsearch is very high performance, GPL , very easy to install.
Xunsearch is writen in C/C++ , use xapian-core , scws to handle Chinese segmentation scheme.
Install Xunsearch: http://www.xunsearch.com/doc/php/guide/start.installation
Install TestModule: http://www.trackself.com/archives/2539.html

[Chinese]
该项目将整合drupal和XunSearch,
XunSearch是一个非常优秀的中文全文搜索方案,GPL,非常完美地支持中文分词,也能很好的支持如日文、韩文等亚洲国家的语言。
是一个高性能、全功能的全文检索解决方案,并使用最流行的开源许可协议 GPL 发布.
xapian-core 这是 Xunsearch 的底层索引设计方案
scws 默认内置的中文分词解决方案
libevent 后端服务器的事件处理模型
nginx 搜索服务器的设计借鉴了 nginx 的方式,采用多进程、多线程混合用于处理高并发请求
Yii 非常优秀的 PHP 开发框架,xunsearch 官网采用该框架,文档组织形式也参考自 Yii
安装过程:http://www.trackself.com/archives/2539.html

[Detail Installation]
1. install Xunsearch server in Centos 6
wget http://www.xunsearch.com/download/xunsearch-full-latest.tar.bz2
tar -xjf xunsearch-full-latest.tar.bz2
cd xunsearch-full-1.3.0/
sh setup.sh

2.config an ini file for your drupal site ,for example call d7.ini
cp $prefix/sdk/php/app/demo.ini $prefix/sdk/php/app/d7.ini
vi d7.ini
//change d7.ini contain at lease [id] [subject] [nid] [message] ['status']['contenttype']['created']['changed']['author']
example:http://xs.trackself.com/d7.ini

3.install this drupal module Xunsearch as the normal module

[the following steps is just like normal search_api]

4.at the config page:
for example http://youdomain.com/?q=admin/config/search/search_api
click "add server"
type server name as you like , for example "serverXunSearch"
"Service class"--choose "Xunsearch Service"
after you choose , then there will be two input showup below
type the above path and ini file name there

5.click create server button

6.add index
type index name as you like , for example "indexXunSearch"
"Item type":Currently, this module support node and commerce product very well.
"server" : choose "serverXunSearch" you create in step 4
i would like to index item immediately
then follow the search_api steps , it's easy.

7.click "creat index" button

8.create a view , choose type "indexXunSearch"
add any field as you like and change views style as you like
filter:create a "full text search" exposed filter
currently i support only a "full text search" , future will be more support

9.facet search
currently support "content type" facet , just add it in search_api UI

10.demo:http://xs.trackself.com/?q=testxunsearch&search_api_views_fulltext=1

Comments

haojiang’s picture

Issue summary: View changes
haojiang’s picture

Issue summary: View changes
PA robot’s picture

Status: Needs review » Needs work

There are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpgitdrupalorgsandboxhaojiang2226967git

We are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)

Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).

I'm a robot and this is an automated message from Project Applications Scraper.

haojiang’s picture

Issue summary: View changes
haojiang’s picture

Issue summary: View changes
haojiang’s picture

http://pareview.sh/ : show no errors and no warnings

bloomingwhs’s picture

Status: Needs work » Reviewed & tested by the community

this project is reviewed & tested.

haojiang’s picture

found no major flaws

muhui’s picture

Reviewed and tested.

haojiang’s picture

Issue summary: View changes
kscheirer’s picture

Title: [D7]XunSearch » [D7] XunSearch
Status: Reviewed & tested by the community » Needs work
  • You can remove ; Information added by drupal.org packaging script on 2012-08-17 and the second core directive in your info file
  • Remove the empty xunsearch.install
  • I'm not sure what the /searchpage menu item and callback are for, just to return an empty string?
  • All user-facing text should be passed through t() to allow translations, such as "One Xunsearch server suports only one index."
  • You module requires xunsearch to be installed at '/usr/local/xunsearch/sdk/php/lib/XS.php', consider adding a hook_requirements() to ensure this is configured before the user attempts to use this module.
  • Why does xunsearch_indexnode() assume that a field_product is assigned to a node? Does this module require Commerce to be installed?
  • Typo in the function name "xunsearch_nodedelte" should be "xunsearch_nodedelete"

These are blocking issues as they do not make sufficient use of the Drupal API.

PA robot’s picture

Status: Needs work » Closed (won't fix)

Closing due to lack of activity. If you are still working on this application, you should fix all known problems and then set the status to "Needs review". (See also the project application workflow).

I'm a robot and this is an automated message from Project Applications Scraper.