Using PHP to call Lucene package to achieve full-text retrieval [full-text retrieval] using PHP to call Lucene package to achieve full-text retrieval; using PHP to call Lucene package to achieve full-text retrieval
[Full-text retrieval] use PHP to
Recently to use Php+lucene to build a search page, the basic idea is to let the user in PHP input information, and then the PHP page call Lucene to search and return the results to php,php to render the results to the user.
Current Environment
Use PHP to call the Lucene package for full-text retrieval. Due to work requirements, PHP is required to perform a large number of full-text searches on the website. The most popular full-text search engine library is Lucene, which is ApacheJakart
Recently, I want to use a web page to display lucene search results. I can use php and javabridge on the internet. However, I can't use the example in javabridge or the class I wrote myself. Apache2.2 + php5 + mysql can now call java's own classes
Due to the need for work, PHP is required to achieve a large number of Web site full-text search,
And now the most popular full-text search engine library is Lucene,
It is a sub-project of Apache Jakarta and provides a simple and useful API
With
Questions about calling Lucene (JAVA) code in PHP
Recently want to use the Web page to display the results of Lucene search, the web said with PHP and Javabridge can, but I use the javabridge inside the example or the class I
Full-Text search due to the needs of the work, the need to use PHP to achieve a large number of sites in the full text search,
And the most popular search engine library for Full-text search is lucene now,
It is a subproject of the Apache Jakarta
PHP implements the retrieval application by invoking the Lucene library. Note Add the path path for the Php,tomcat,java,apache installed below.
The retrieved data is stored in the MySQL database, the retrieved data is crawled from the network using
xml| Solution | full-Text Search
Copyright NOTICE: You can reprint, reprint, please be sure to hyperlink form to indicate the original source of the article and author information and this statementHttp://www.chedong.com/tech/weblucene.html
Content
Because the work needs, the need to use PHP to achieve a large number of Web site full text search, and the most popular Full-text search engine library is Lucene, it is a subproject of Apache Jakarta, and provides a simple and practical API, with
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.