GithubHelp home page GithubHelp logo

tempbottle / luceneplusplus Goto Github PK

View Code? Open in Web Editor NEW

This project forked from luceneplusplus/luceneplusplus

0.0 1.0 0.0 10.31 MB

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

Home Page: [email protected]

License: Other

CMake 1.89% C++ 77.02% C 18.42% Makefile 0.04% Python 2.48% Shell 0.15% HTML 0.01%

luceneplusplus's Introduction

Lucene++

Welcome to lucene++ version 3.0.7.

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 2010+ and build.

Note: you will need to edit the includeConfig.h.cmake file. Make a copy, rename it to Config.h, and replace

#@DEFINE_USE_CYCLIC_CHECK@ LPP_USE_CYCLIC_CHECK

with

#define LPP_USE_CYCLIC_CHECK

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

Boost libs must be located in a subdirectory lib32-msvc-10.0 This is the default name of the install directory from the sf.net Boost-binaries project.

You'll need Boost installed from http://boost.org.

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.

To run the demos

Start by indexing a directory of files - open a command prompt and run

indexfiles.exe <directory to index> <directory to store index>

Once the indexer has finished, you can query the index using searchfiles

searchfiles.exe -index <directory you stored the index in>

This uses an interactive command for you to enter queries, type a query to search the index press enter and you'll see the results.

Acknowledgements

luceneplusplus's People

Contributors

artob avatar elfring avatar gbjbaanb avatar hasselmm avatar locutusofborg avatar theonering avatar vadz avatar vslavik avatar xhochy avatar zsims avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.