在PHP中使用Lucene 讲义幻灯、代码示例

下载 9月2日的讲义幻灯和代码示例。

在线演示:www.i-fang.com/php/lucene4php/search.php

内容如下:

 

PHP中使用Lucene

  1. 概述

    1. 信息检索

      1. 三种模型

        1. Boolean

        2. Probabilistic

        3. Vector

      2. 文本处理

        1. 噪声词表

        2. 相关词汇表

      3. 查询

        1. 排序

        2. 辞典

        3. 分类和聚类

    2. Lucene

      1. 介绍

      2. Lucene 起源与发展

        1. 起源

        2. sourceforge.net

        3. apache

      3. 其他版本的 Lucene

        1. CLucene

        2. PyLucene

        3. Lucy

        4. Lucene.net

      4. PHP 可用的 Lucene

        1. Zend Framework Lucene

        2. Pecl CLucene extension

        3. Java Bridge Lucene

        4. XML-PRC or WebService call

  2. 实例

    1. 建立索引

      1. 关于索引

        1. 索引的作用

        2. 倒排索引

        3. 多文件索引

        4. 复合索引

      2. 建立

        1. 文档

        2. 字段

    2. 搜索

      1. 分词

      2. 查询语言

      3. 排序

      4. 限制返回结果数目

  3. 总结

    1. Zend_Search_Lucene 的限制

      1. 中文

      2. 性能

      3. 跨平台

    2. 更好的实现方式

      1. XML-RPC or WebServcec or HTTP call

      2. Java Bridge

      3. 基于LucyPHP extension

Join the Conversation

5 Comments

  1. 大哥,下载下来的压缩文件有问题,解压过程报错“未知的方式于…..”

    你检查一下行吗

  2. 你用的 winrar 吧?这个东西真是麻烦。不识别 bz2 格式的 zip 压缩,只认识 Deflate 的。已经换回 Deflate 的 zip 文件了。不过还是建议换用 7-zip,支持的格式多,压缩效果好。

Leave a comment

Your email address will not be published. Required fields are marked *