Jump to content

Apache Lucene

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by ZéroBot (talk | contribs) at 19:22, 6 May 2012 (r2.7.1) (Robot: Adding hu:Apache Lucene). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Lucene
Developer(s)Apache Software Foundation
Stable release
3.6 / April 12, 2012 (2012-04-12)
Repository
Written inJava
Operating systemCross-platform
TypeSearch and index
LicenseApache License 2.0
Websitelucene.apache.org

Apache Lucene is a free/open source information retrieval software library, originally created in Java by Doug Cutting. It is supported by the Apache Software Foundation and is released under the Apache Software License.

Lucene has been ported to other programming languages including Delphi, Perl, C#, C++, Python, Ruby, and PHP[1].

History

Lucene was originally written by Doug Cutting in 1999.[2] It was initially available for download from its home at the SourceForge web site. It joined the Apache Software Foundation's Jakarta family of open source Java products in September 2001 and became its own top-level Apache project in February 2005. Until recently, it included a number of sub-projects, such as Lucene Java, Droids, Lucene.Net, Lucy, Mahout, Solr, Nutch, Open Relevance Project, PyLucene, and Tika. Solr has been merged into the Lucene project itself and Mahout, Nutch and Tika have been moved to be independent top-level projects.

Features and common use

While suitable for any application which requires full text indexing and searching capability, Lucene has been widely recognized [3][4] for its utility in the implementation of Internet search engines and local, single-site searching.

At the core of Lucene's logical architecture is the idea of a document containing fields of text. This flexibility allows Lucene's API to be independent of the file format. Text from PDFs, HTML, Microsoft Word, and OpenDocument documents, as well as many others (except images), can all be indexed as long as their textual information can be extracted.

Lucene-based projects

Lucene itself is just an indexing and search library and does not contain crawling and HTML parsing functionality. However, several projects extend Lucene's capability:

  • Apache Nutch provides web crawling and HTML parsing
  • Apache Solr – an enterprise search server
  • ElasticSearch – an enterprise search server
  • Compass – a Java Search Engine Framework

Users

For a list of companies that use Lucene (rather than extend), see Lucene's 'Powered By' page.[5] As an example Twitter is using Lucene for its real time search[6]

See also

References

  1. ^ Lucene implementations
  2. ^ "Better Search with Apache Lucene and Solr" (PDF). November 19 2007. {{cite web}}: Check date values in: |date= (help)
  3. ^ Perner, Petra (2007). Machine Learning and Data Mining in Pattern Recognition: 5th International Conference. Springer. p. 387. ISBN 978-3-540-73498-7. {{cite book}}: Cite has empty unknown parameter: |coauthors= (help)
  4. ^ GNU/Linux Semantic Storage System
  5. ^ PoweredBy
  6. ^ Twitter uses Lucene

Bibliography