2016-06-14 5 views
2

私は弾性検索のDataディレクトリに移動した場合:弾性検索にデータが物理的に格納される方法は?

/ノード/ 0 /インデックス/ここ

をGB何ツリーコマンドショー:実際のデータを含むファイルの

 
├── 0 
│   ├── index 
│   │   ├── segments_6 
│   │   └── write.lock 
│   ├── _state 
│   │   └── state-6.st 
│   └── translog 
│    ├── translog-1.ckp 
│    ├── translog-2.ckp 
│    ├── translog-3.ckp 
│    ├── translog-4.ckp 
│    ├── translog-5.ckp 
│    ├── translog-5.tlog 
│    ├── translog-6.ckp 
│    ├── translog-6.tlog 
│    ├── translog-7.tlog 
│    └── translog.ckp 
├── 1 
│   ├── index 
│   │   ├── _0_1.liv 
│   │   ├── _0.cfe 
│   │   ├── _0.cfs 
│   │   ├── _0.si 
│   │   ├── _1.cfe 
│   │   ├── _1.cfs 
│   │   ├── _1.si 
│   │   ├── segments_9 
│   │   └── write.lock 
│   ├── _state 
│   │   └── state-6.st 
│   └── translog 
│    ├── translog-2.ckp 
│    ├── translog-3.ckp 
│    ├── translog-4.ckp 
│    ├── translog-5.ckp 
│    ├── translog-9.tlog 
│    └── translog.ckp 
├── 2 
│   ├── index 
│   │   ├── _0.cfe 
│   │   ├── _0.cfs 
│   │   ├── _0.si 
│   │   ├── segments_7 
│   │   └── write.lock 
│   ├── _state 
│   │   └── state-6.st 
│   └── translog 
│    ├── translog-2.ckp 
│    ├── translog-3.ckp 
│    ├── translog-4.ckp 
│    ├── translog-5.ckp 
│    ├── translog-6.ckp 
│    ├── translog-6.tlog 
│    ├── translog-7.ckp 
│    ├── translog-7.tlog 
│    ├── translog-8.tlog 
│    └── translog.ckp 
├── 3 
│   ├── index 
│   │   ├── _0.cfe 
│   │   ├── _0.cfs 
│   │   ├── _0.si 
│   │   ├── segments_7 
│   │   └── write.lock 
│   ├── _state 
│   │   └── state-6.st 
│   └── translog 
│    ├── translog-2.ckp 
│    ├── translog-3.ckp 
│    ├── translog-4.ckp 
│    ├── translog-5.ckp 
│    ├── translog-6.ckp 
│    ├── translog-6.tlog 
│    ├── translog-7.ckp 
│    ├── translog-7.tlog 
│    ├── translog-8.tlog 
│    └── translog.ckp 
├── 4 
│   ├── index 
│   │   ├── _0.cfe 
│   │   ├── _0.cfs 
│   │   ├── _0.si 
│   │   ├── segments_7 
│   │   └── write.lock 
│   ├── _state 
│   │   └── state-6.st 
│   └── translog 
│    ├── translog-2.ckp 
│    ├── translog-3.ckp 
│    ├── translog-4.ckp 
│    ├── translog-5.ckp 
│    ├── translog-6.ckp 
│    ├── translog-6.tlog 
│    ├── translog-7.ckp 
│    ├── translog-7.tlog 
│    ├── translog-8.tlog 
│    └── translog.ckp 
└── _state 
    └── state-8.st 

?それをどうすれば見ることができますか?

答えて

1

これらのファイルにはすべてデータが含まれ、それぞれに特定のタイプのデータ(逆インデックス、フィールドデータ、ドキュメント値など)が含まれています。 indexサブフォルダ内のファイルは、すべての必要なデータを格納するためにfiles created by Lucene次のとおりです。

さらに多くのfiがあります私が上記で示した最初のリンクで見られるように、利用可能なタイプ(term frequency、term proximityなど)それらのファイルはバイナリファイルであり、テキストエディタでは表示できません。これらのファイルの内容を表示するには、Lucene ToolboxのLuke toolを使用します。

+0

ありがとうございます。私はlukeツールを使ってみました。しかし、弾性検索データディレクトリ内の任意のインデックスを開くことができません。それは過去のEOFを読んでいる。私はインデックスを削除して再作成しようとしましたが、それでも同じ問題があります。どのようにその問題を解決するための任意のアイデア? – Sohi

+0

もっと最近のLukeのリリースを試してみてください:https://github.com/DmitryKey/luke – Val

関連する問題