High level search with PHP and Apache Solr

Posted on 23rd March 2010 by Nio in Java, Lucene, 程序人生 - Tags: , , ,

High level search with PHP and Apache Solr

When data sets get large and MySQL database querying to search become too load heavy and slow, full indexing is required. Several solutions are available but in this article I will be demonstrating the Apache foundations Solr Java Lucene implementation. For this a Java build will be required. Linux or Mac is less of a problem but for windows I use the Apache Tomcat server.

Zend_Search (Java Lucene)

Posted on 16th October 2006 by Nio in Lucene, Zend Framework, 程序人生

via: NorthClick:

We have implemented Zend_Search into our content management system “Click and Change” and we would like to share our experiences with the developers’ community. For this purpose, we decided to publish the complete source code and it’s documentation. [....]

Lucene 2.0 Released!

Posted on 30th May 2006 by Nio in Lucene, 程序人生

Lucene 2.0 has been released.

This is mostly a bugfix release from release 1.9.1. Note however that deprecated 1.x features have now been removed. Any code that compiles against Lucene 1.9.1 without deprecation warnings should work without further changes with any 2.x release. For more information about this release, please read CHANGES.txt.

Binary and source distributions are available here.

Lucene 全文检索实践(5)

Posted on 24th August 2004 by Nio in Lucene, 程序人生

对于 Lucene 的初步研究已经过去一段时间,自己感觉还不是很深入,但由于时间的关系,一直也没再拿起。应网友的要求,将自己实践中写的一些代码贴出来,希望能对大家有用。程序没有做进一步的优化,只是很简单的实现功能而已,仅供参考。

在实践中,我以将 PHP 中文手册中的 HTML 文件生成索引,然后通过一个 JSP 对其进行全文检索。

(more…)

Lucene 全文检索实践(4)

Posted on 23rd June 2004 by Nio in Lucene, 程序人生

在几天的研究中,了解了 Lucene 全文检索的一些原理,同时进行了实践,编写了一个论坛的全文检索创建索引程序及用于搜索的 JSP 程序,另外还写了一个 PHP 手册(简体中文)的全文检索,可以进行多关键字搜索。基本完成了最初定下的实践任务。