Michael Born
Web developer at Ortus Solutions
var cbmsClient = getInstance( "Client@cbmeilisearch" );
var response = cbmsClient.search( "products", { "q" : "watch" } );
var cbmsClient = getInstance( "Client@cbmeilisearch" );
var response = cbmsClient.search( "products", { "q" : "watch" } );
if ( !response.isSuccess() ){
throw(
message = "Error searching from Meilisearch",
detail = response.getData()
);
}
var results = response.json();
var cbmsClient = getInstance( "Client@cbmeilisearch" );
var response = cbmsClient.createIndex( "books" );
if ( !response.isSuccess() ){
throw(
message = "Error creating index",
detail = response.getData()
);
}
var task = response.json();
cbmsClient.waitForTask( task.taskUid );
docker run \
-p 7700:7700 \
getmeili/meilisearch:v0.28 \
meilisearch \
--env="development"
docker run \
-p 7700:7700 \
getmeili/meilisearch \
meilisearch \
--env="development"
docker run \
-p 9900:9900 \
getmeili/meilisearch \
meilisearch \
--env="development" \
--http-addr 'http:127.0.0.1:9900'
docker run \
-p 9900:9900 \
--env MEILI_HTTP_ADDR='http:127.0.0.1:9900' \
getmeili/meilisearch \
meilisearch \
--env="development"
box install cbmeilisearch
box install cbmeilisearch
production
 environmentBy Michael Born