mattgodbolt / zindex

Create an index on a compressed text file
BSD 2-Clause "Simplified" License
622 stars 37 forks source link

Multi index #22

Closed andreweskeclarke closed 8 years ago

andreweskeclarke commented 8 years ago

Adds several new commands:

zindex: -c/--config - Provide a json configuration file to set up multiple indexes

zq: -i/--index - Provide a index name that you wish to query --raw - Provide a raw SQL query to find lines

mattgodbolt commented 8 years ago

Looks like the travis CI build is failing:

[ 6%] Building CXX object CMakeFiles/libzindex.dir/src/IndexParser.cpp.o /home/travis/build/mattgodbolt/zindex/src/IndexParser.cpp: In member function ‘void IndexParser::buildIndexes(Index::Builder_, ConsoleLog&)’: /home/travis/build/mattgodbolt/zindex/src/IndexParser.cpp:14:15: error: ‘runtime_error’ is not a member of ‘std’ /home/travis/build/mattgodbolt/zindex/src/IndexParser.cpp:18:15: error: ‘runtimeerror’ is not a member of ‘std’ /home/travis/build/mattgodbolt/zindex/src/IndexParser.cpp: In member function ‘void IndexParser::parseIndex(cJSON, Index::Builder_, ConsoleLog&)’: /home/travis/build/mattgodbolt/zindex/src/IndexParser.cpp:29:15: error: ‘runtimeerror’ is not a member of ‘std’ make[2]: ** [CMakeFiles/libzindex.dir/src/IndexParser.cpp.o] Error 1 make[1]: * [CMakeFiles/libzindex.dir/all] Error 2 make: * [all] Error 2

probably just needs a #include