Apache Lucene Explained

Lucene
Developer:Apache Software Foundation
Latest Release Version:9.11.1
Latest Release Date:[1]
Programming Language:Java
Operating System:Cross-platform
Genre:Search and index
License:Apache License 2.0

Apache Lucene is a free and open-source search engine software library, originally written in Java by Doug Cutting. It is supported by the Apache Software Foundation and is released under the Apache Software License. Lucene is widely used as a standard foundation for production search applications.[2]

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

History

Doug Cutting originally wrote Lucene in 1999.[4] Lucene was his fifth search engine. He had previously written two while at Xerox PARC, one at Apple, and a fourth at Excite.[5] 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. The name Lucene is Doug Cutting's wife's middle name and her maternal grandmother's first name.[6]

Lucene formerly included a number of sub-projects, such as Lucene.NET, Mahout, Tika and Nutch. These three are now independent top-level projects.

In March 2010, the Apache Solr search server joined as a Lucene sub-project, merging the developer communities.

Version 4.0 was released on October 12, 2012.[7]

In March 2021, Lucene changed its logo, and Apache Solr became a top level Apache project again, independent from Lucene.

Features and common use

While suitable for any application that requires full text indexing and searching capability, Lucene is recognized for its utility in the implementation of Internet search engines and local, single-site searching.[8] [9]

Lucene includes a feature to perform a fuzzy search based on edit distance.[10]

Lucene has also been used to implement recommendation systems.[11] For example, Lucene's 'MoreLikeThis' Class can generate recommendations for similar documents. In a comparison of the term vector-based similarity approach of 'MoreLikeThis' with citation-based document similarity measures, such as co-citation and co-citation proximity analysis, Lucene's approach excelled at recommending documents with very similar structural characteristics and more narrow relatedness.[12] In contrast, citation-based document similarity measures tended to be more suitable for recommending more broadly related documents, meaning citation-based approaches may be more suitable for generating serendipitous recommendations, as long as documents to be recommended contain in-text citations.

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:

See also

Bibliography

Notes and References

  1. Web site: Welcome to Apache Lucene . 12 February 2020 . Lucene™ News section . live . https://web.archive.org/web/20210212123326/https://lucene.apache.org/ . 12 February 2021.
  2. Azzopardi. Leif. Moshfeghi. Yashar. Halvey. Martin. Alkhawaldeh. Rami S.. Balog. Krisztian. Di Buccio. Emanuele. Ceccarelli. Diego. Fernández-Luna. Juan M.. Hull. Charlie. Mannix. Jake. Palchowdhury. Sauparna. 2017-02-14. Lucene4IR: Developing Information Retrieval Evaluation Resources using Lucene. ACM SIGIR Forum. en. 50. 2. 58–75. 10.1145/3053408.3053421. 212416159 . 0163-5840.
  3. Web site: LuceneImplementations. apache.org. 23 September 2015. live. https://web.archive.org/web/20151006021755/http://wiki.apache.org/lucene-java/LuceneImplementations. 6 October 2015.
  4. KeywordAnalyzerWeb site: Better Search with Apache Lucene and Solr . 19 November 2007 . dead . https://web.archive.org/web/20120131154001/http://trijug.org/downloads/TriJug-11-07.pdf . 31 January 2012.
  5. Web site: I wrote a couple of search engines at Xerox PARC, then V-Twin at Apple, then re-wrote Excite's search, then Lucene. So, Lucene might be considered V-Twin 3.0? Almost 25 years later, V-Twin still lives on as Mac OS X Search Kit!. Cutting. Doug. 2019-06-07. @cutting. en. 2019-06-19.
  6. Book: Web Content Management . Barker . Deane . 2016 . O'Reilly . 978-1491908105 . 233 .
  7. Web site: Apache Lucene - Welcome to Apache Lucene. apache.org. 4 February 2016. live. https://web.archive.org/web/20160204002101/https://lucene.apache.org/. 4 February 2016.
  8. Book: Lucene in Action, Second Edition. limited. McCandless. Michael. Hatcher. Erik. Gospodnetić. Otis. Manning. 2010. 978-1933988177. 8.
  9. Web site: GNU/Linux Semantic Storage System. glscube.org. https://web.archive.org/web/20100601210729/http://www.glscube.org/downloads/glscube_design.pdf. 2010-06-01. dead.
  10. Web site: Apache Lucene - Query Parser Syntax. lucene.apache.org. live. https://web.archive.org/web/20170502011748/http://lucene.apache.org/core/2_9_4/queryparsersyntax.html#Fuzzy+Searches. 2017-05-02.
  11. J. Beel, S. Langer, and B. Gipp, “The Architecture and Datasets of Docear’s Research Paper Recommender System,” in Proceedings of the 3rd International Workshop on Mining Scientific Publications (WOSP 2014) at the ACM/IEEE Joint Conference on Digital Libraries (JCDL 2014), London, UK, 2014
  12. M. Schwarzer, M. Schubotz, N. Meuschke, C. Breitinger, V. Markl, and B. Gipp, https://www.gipp.com/wp-content/papercite-data/pdf/schwarzer2016.pdf "Evaluating Link-based Recommendations for Wikipedia" in Proceedings of the 16th ACM/IEEE-CS Joint Conference on Digital Libraries (JCDL), New York, NY, USA, 2016, pp. 191-200.
  13. News: 11 cutting-edge databases worth exploring now. Wayner. Peter. 21 September 2015. InfoWorld. live. https://web.archive.org/web/20150921214828/http://www.infoworld.com/article/2984469/database/11-cutting-edge-databases-worth-exploring-now.html. 21 September 2015.
  14. Web site: Elasticsearch: RESTful, Distributed Search & Analytics - Elastic. elastic.co. 23 September 2015. live. https://web.archive.org/web/20151008055359/https://www.elastic.co/products/elasticsearch . 8 October 2015.
  15. Web site: The Future of Compass & Elasticsearch. the dude abides. en. 2015-10-14. dead. https://web.archive.org/web/20151015021211/http://thedudeabides.com/articles/the_future_of_compass/. 2015-10-15.
  16. News: Socialtext Updates Search, Goes Kino. Natividad. Angela. 2011-05-31. CMS Wire. live. https://web.archive.org/web/20120929122221/http://www.cmswire.com/cms/enterprise-20/socialtext-updates-search-goes-kino-001037.php. 2012-09-29.
  17. Web site: KinoSearch - Search engine library. - metacpan.org. Marvin Humphrey. p3rl.org. 23 September 2015.
  18. Book: Diment, Kieren. The Definitive Guide to Catalyst. limited. Trout, Matt S. Apress. 2009. 978-1-4302-2365-8. 280. Catalyst Cookbook.
  19. January 2009. HMDB: a knowledgebase for the human metabolome. Nucleic Acids Res.. 37. Database issue. D603–10. 10.1093/nar/gkn810. 2686599. 18953024. David S. Wishart. Wishart. D. S.. Knox. C.. Guo. A. C.. Eisner. R.. Young. N.. Gautam. B.. Hau. D. D.. Psychogios. N.. Dong. E.. Bouatra. S.. Mandal. R.. Sinelnikov. I.. Xia. J.. Jia. L.. Cruz. J. A.. Lim. E.. Sobsey. C. A.. Shrivastava. S.. Huang. P.. Liu. P.. Fang. L.. Peng. J.. Fradette. R.. Cheng. D.. Tzur. D.. Clements. M.. Lewis. A.. De Souza. A.. Zuniga. A.. Dawe. M.. 1.
  20. January 2010. T3DB: a comprehensively annotated database of common toxins and their targets. Nucleic Acids Res.. 38. Database issue. D781–6. 10.1093/nar/gkp934. 2808899. 19897546. Lim. Emilia. Pon. Allison. Djoumbou. Yannick. Knox. Craig. Shrivastava. Savita. Guo. An Chi. Neveu. Vanessa. Wishart. David S..