Skip to content

infinilabs/image-search-demo

Repository files navigation

Image Search Demo

A handy example shows you how to search for vectors using the kNN plugin of Easysearch.

Get started

Start an Easysearch instance:

# Make sure your vm.max_map_count meets the requirement
sudo sysctl -w vm.max_map_count=262144
docker run -it --rm -p 9200:9200 \
  -e "discovery.type=single-node" \
  -e ES_JAVA_OPTS="-Xms512m -Xmx512m" \
  infinilabs/easysearch:1.3.0-24 \
  -E "security.enabled=false"

Install Python dependencies:

pip install -r requirements.txt

Start the server:

ES_SERVER=http://localhost:9200 python main.py

if you are in Windows:

$env:ES_SERVER="http://localhost:9200"; python main.py

⚖️ License

Licensed under either of

at your option.

About

Image Search Service

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published