Skip to content

Latest commit

 

History

History
96 lines (64 loc) · 1.24 KB

README.OLD.md

File metadata and controls

96 lines (64 loc) · 1.24 KB

flashsearch

How to setup an engine search

  1. install java
cd scripts
./install-java.sh
  1. copy elasticsearch files
rsync -avh ~/elasticsearch-5.6.3 REMOTE:./
  1. copy elasticsearch index
  2. copy vacuum index
  3. setup vacuum
cd ~/flashsearch/src/qq_mem
./setup.sh

How to setup an engine client

  1. install go by install-go.sh
  2. setup redisearch bench by setup-redisearchbench.sh
  3. setup vacuum (you need the environment such as GLOG)
cd ~/flashsearch/src/qq_mem
./setup.sh
  1. setup redisearch python env
git checkout es-client-runner
cd ~/flashsearch/src/qq_mem
./setup_env.sh

How to Install Redis

cd ./scripts/
./setup-redis.sh
source ~/.bashrc

Now you can just use command redis in command line.

How to Install RediSearch

cd ./scripts/
./setup-redisearch.sh

The compiled redisearch will be in $HOME/RediSearch.

How to Install RedisSearchBenchmark

  1. Install Go
cd scripts
./install-go.sh
source ~/.bashrc
  1. Download and compile RediSearchBenchmark
cd scripts
./setup-redisearchbench.sh
  1. The executable is in $GOPATH/bin

How to run start redisearch daemon?

cd src/pysrc
make start_redisearch_servers

This will start 5 servers