Skip to content

thmarx/lucene-directories

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Lucene directory implementations

This project started as a fork of lucene-leveldb. Now it's heavily refactored and offers different lucene directory implementations.

MVStore

Lucene directory that uses MVStore as storage.

MVStore

RocksDB

Lucene directory that uses Facebooks RocksDB as storage.

RocksDB

lucene-leveldb

Lucene directory that uses Googles Leveldb as storage.

Leveldb 1.2

Requirements:

  • Java 11+
  • Lucene 8.0+

Example

        Path path = Paths.get("db-data");

        File indexDir = path.toFile();

        Directory directory = DBDirectories.leveldb(path);
        StandardAnalyzer analyzer = new StandardAnalyzer();
        IndexWriterConfig indexWriterConfig = new IndexWriterConfig(analyzer);
        IndexWriter writer =
                new IndexWriter(directory, indexWriterConfig);

        directory.close();

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages