- Need to install etcd , add
root
user and enable authentication. You can use this link to setup etcd. - Update the root password in your .env file.
- You are good to go.
You just need to specify ZINC_METADATA_STORAGE environment variable to "bolt" or "badger" . Default value of ZINC_METADATA_STORAGE is "bolt"
- A bash script at project root named
test.sh
can be used to run these unit tests.
cd zinc
./test.sh
- If you pass an argument
bench
then it will run the benchmark test.
./test.sh bench
-
- Test Search Document with no existing Index
- Test Search Document with existing Index
- Test Search Document with no existing Term
- Test Search Document with existing Term
- Test Search Document with search type all documents
- Test Search Document with search type wildcard
- Test Search Document with search type fuzzy
- Test Search Document with search type term
- Test Search Document with search type data range
- Test Search Document with search type match all
- Test Search Document with search type match
- Test Search Document with search type match phrase
- Test Search Document with search type multiphrase
- Test Search Document with search type prefix
- Test Search Document with search type query string
-
- Test Search Document with no existing Index
- Test Search Document with existing Index
- Test Search Document with no existing Term
- Test Search Document with existing Term
- Test Search Document with search type match all
- Test Search Document with search type wildcard
- Test Search Document with search type fuzzy
- Test Search Document with search type term
- Test Search Document with search type data range
- Test Search Document with search type match
- Test Search Document with search type match phrase
- Test Search Document with search type prefix
- Test Search Document with search type query string