I've been trying to understand how to setup systems from
the ground up on Ubuntu. I just installed redis onto
the box and here's how I did it and some things to look
out for.
To install:
| requests.put('http://localhost:9200/site/', data=json.dumps({ | |
| 'settings': { | |
| 'analysis': { | |
| 'analyzer': { | |
| 'ru': { | |
| 'type': 'custom', | |
| 'tokenizer': 'standard', | |
| "filter": ['lowercase', 'russian_morphology', 'english_morphology', 'ru_stopwords'], | |
| }, | |
| }, |
| package main | |
| import ( | |
| "bytes" | |
| "encoding/hex" | |
| "flag" | |
| "fmt" | |
| "io" | |
| "log" | |
| "net" |