@ 2011年10月23日

Ubuntu Server 下编译 sphinx 的 xmlpipe2

在 Ubuntu Server 默认环境下编译安装 sphinx 竟然不支持 xmlpipe2 数据源,提示

WARNING: source 'index1': xmlpipe2 support NOT compiled in. To use xmlpipe2, install missing XML libraries, reconfigure, and rebuild Sphinx

在官方论坛里面找到答案。

@ 2011年10月22日

Sphinx xmlpipe2 MVA 属性定义

今天给 Damdon 做 Search Engine,用的是  sphinx 0.9.9 全文检索引擎,由于某些 Content 包含多个分类 (Category),因此需要使用 sphinx 的 MVA (multi-valued-attribute) 属性类型,我使用了 xmlpipe2 数据源

@ 2011年10月08日

Android检查服务器连接状态

最近在写 Android App,需要在启动时就检查服务器连接状态,当服务器连接失败(如服务器关机、网络无连接等情况)时,弹出提示框,并强行退出程序,其中使用到 java.net.InetAddress 来检查主机状况。

© 2011 Bun Wong

本博客基于 Bun PHP Framework 构建 • 粤ICP备07036370号