This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Running asynchronous tests on the browser ...</title> | |
</head> | |
<body> | |
<ul id="alltests"> | |
</ul> | |
<ul id="teststats"> | |
<li>Passed <span id="passed"></span></li> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# delete old index if exists | |
curl -XDELETE 'http://localhost:9200/multiwordsyns?pretty' | |
# create index with synonym analyzer and mapping | |
curl -XPUT 'http://localhost:9200/multiwordsyns?pretty' -d '{ | |
"settings" : { | |
"number_of_replicas": 0, | |
"number_of_shards": 1, |