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
#Create the index with no mapping | |
curl -XPUT localhost:9200/startswith/ | |
#add some data | |
curl -XPOST localhost:9200/startswith/test/ -d '{"title":"river dog"}' | |
curl -XPOST localhost:9200/startswith/test/ -d '{"title":"data"}' | |
curl -XPOST localhost:9200/startswith/test/ -d '{"title":"drive"}' | |
curl -XPOST localhost:9200/startswith/test/ -d '{"title":"drunk"}' | |
curl -XPOST localhost:9200/startswith/test/ -d '{"title":"dzone"}' |
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
.word-break { | |
-ms-word-break: break-all; | |
word-break: break-word; | |
word-wrap: break-word; | |
-webkit-hyphens: auto; | |
-moz-hyphens: auto; | |
hyphens: auto; | |
} |