全文搜索引擎驱动 Alexandria.org - 开放式搜索引擎。
git clone [email protected]:alexandria-org/alexandria.gitdocker build . -t alexandriadocker container run --name alexandria -v ${PWD}:/alexandria -it -d alexandriadocker exec -it alexandria /bin/bashcd /alexandriascripts/init-docker.shmkdir build; cd build; cmake ..make -j4./run_tests# Will alter your system and install dependencies with apt.
./scripts/install-deps.sh
# Will download and build zlib, aws-lambda-cpp and aws-sdk-cpp will only alter the local directory.
./scripts/build-deps.shmkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Debug
or
cmake .. -DCMAKE_BUILD_TYPE=Release
make -j24Download test data to local server. To run the test suite you need to install nginx and pre-download all the data: Configure local nginx test data server
Create output directories. Note, this will create a bunch of directories in the /mnt so make sure you don't have anything there.
./scripts/prepare-output-dirs.shcd build
make run_tests -j24
./run_testsOn nodes with spinning disks we should turn off energy saving:
hdparm -B 255 /dev/sdaBy default, gdb captures SIGPIPE of a process and pauses it. However, some program ignores SIGPIPE. So, the default behavour of gdb is not desired when debugging those program. To avoid gdb stopping in SIGPIPE, use the folloing command in gdb:
handle SIGPIPE nostop noprint pass
暂无开放 Issues,或尚未同步最近议题。