Skip to content
Converts a *.grn dump file to a JSONs file for Droonga
Ruby
Failed to load latest commit information.
bin
doc
lib/grn2drn
test
.gitignore
.travis.yml
.yardopts
Gemfile
LICENSE.txt
README.md
Rakefile
grn2drn.gemspec

README.md

README

Name

grn2drn

Description

Grn2drn is a command to convert a *.grn dump file to a JSONs file for Droonga.

Install

% gem install grn2drn

Basic usage

For migrating Groonga to Droonga:

% grndump /path/to/groonga/database > dump.grn
% grn2drn --dataset Droonga dump.grn > droonga.jsons

You can send the converted data by droonga-request or droonga-send command. They are included in droonga-client gem.

For creating catalog.json:

% grndump --no-dump-tables /path/to/groonga/database > schema.grn
% grn2drn-schema schema.grn > schema.json

It generates JSON that can be embedded into catalog.json.

Mailing list

Thanks

  • ...

Copyright

Copyright (c) 2014 Droonga Project

License

GPLv3 or later. See LICENSE.txt for details.

Something went wrong with that request. Please try again.