"Keep elasticsearch threads out of your web facing app, kids" -- W. Churchill
Copy default settings
cp .sbtops.example .sbtopts
Start sbt:
sbt
Start server:
app/run
Run tests:
test
Run code format and auto code refactor with scalafmt & scalafix:
prepare
Start ingestor service:
ingestor/runMain lila.search.ingestor.App
Start ingestor cli tool
ingestor/runMain lila.search.ingestor.cli --help
# index all documents for specific index
sbt 'ingestor/runMain lila.search.ingestor.cli index --index team --since 0'
# index all documents for all indexes
sbt 'ingestor/runMain lila.search.ingestor.cli index --all --since 0'
sbt release with-defaults