Project

grn2drn

0.0
No commit activity in last 3 years
No release in over 3 years
Grn2drn is a command to convert a *.grn dump file to a JSONs file for Droonga.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

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.