Skip to content

lijiajia2023/LucenePlusPlus

 
 

Repository files navigation

Lucene++

Welcome to lucene++ version 3.0.6.

Lucene++ is an up to date C++ port of the popular Java Lucene library, a high-performance, full-featured text search engine.

Components

  • liblucene++ library
  • liblucene++-contrib library
  • lucene++-tester (unit tester)
  • deletefiles (demo)
  • indexfiles (demo)
  • searchfiles (demo)

Useful Resources

Official Java Lucene - useful links and documentation relevant to Lucene and lucene++. Lucene in Action by Otis Gospodnetic and Erik Hatcher.

Build Instructions

You'll need the Boost libraries installed somewhere.

On Debian systems, the following packages are required:

  • libboost-date-time-dev
  • libboost-filesystem-dev
  • libboost-regex-dev
  • libboost-thread-dev
  • libboost-iostreams-dev

To build the library the following commands should be issued:

$ mkdir build; cd build
$ cmake ..
$ make
$ make install

Build Instructions for Windows systems

Open solution lucene++.sln located in the msvc folder into Visual Studio and build.

Note: "BOOST_ROOT" environment variable must be defined to point to the Boost library directory (eg. c:\boost_1_51_0)

You'll need Boost installed.

BoostPro has some precompiled Windows packages. You'll need the following extras installed:

- boost::system
- boost::thread
- boost::filesystem
- boost::regex
- boost::date_time
- boost::iostreams

To run unit test suite

lucene_tester is built using the Google Testing Framework and is launched by the following command:

$ build/src/test/lucene++-tester

Command options can be discovered by supplying --help.

Acknowledgements

About

Lucene++ is an up to date C++ port of the popular Java Lucene library, a high-performance, full-featured text search engine.

Resources

License

Stars

Watchers

Forks

Packages

No packages published