aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests/diskindex/fusion/fusion_test.sh
blob: 0802386cac72b9943959554d44ed54eb99710f9a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
set -e
IINSPECT=../../../apps/vespa-index-inspect/vespa-index-inspect
ECHO_CMD=echo

$VALGRIND ./searchlib_fusion_test_app
$ECHO_CMD showing usage
$IINSPECT --help > usage.out 2>&1 || true
$ECHO_CMD dumping dictionary words for field f0
$IINSPECT dumpwords --indexdir dump3 --field f0 > dumpwords.out
$ECHO_CMD transposing index back for inspection
$IINSPECT showpostings --transpose --indexdir dump3 > transpose.out
$ECHO_CMD dumping posting list for word z in field f0
$IINSPECT showpostings --indexdir dump3 --field f0 z > zwordf0field.out
$ECHO_CMD inspection done.