2015-03-12 聚會手記

上一週 || 下一週

Table of Contents

Thinker

Firefox

about:memory

atsushieno

Mono - Class status pages
http://go-mono.com/status/

Tool for comparing between two librarys
mono-tools/gui-compare at master · mono/mono-tools
https://github.com/mono/mono-tools/tree/master/gui-compare

yan

RESTClient, a debugger for RESTful web services. :: Add-ons for Firefox
https://addons.mozilla.org/en-us/firefox/addon/restclient/


ElasticSearch
upsert
Update API http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-update.html#upserts

內容分析的處理過程
1. Character Filters
字串預處理:例如將 '&' 符號轉爲 'and'
2. Tokenizer
使用分詞器將字串分段,預設使用 standard 標準分詞器,適用於歐美語系,對中文的話只會一個字一個字分開
3. TokenFilters
字串後處理:lowercasing 轉爲小寫字母,remove stopwords 移除停用詞 (I, a, the, of),synonyms 增加同義詞 (jump -> leap)

測試分詞器

$ curl -XGET 'http://127.0.0.1:9200/_analyze?analyzer=standard&pretty' -d 'Hola, buenos días.'

MySQL show processlist too long

$ echo "show full processlist;" | mysql -uroot -ppassword | less

顯示正在存取硬碟的 process

# iotop -o
除非特別註明,本頁內容採用以下授權方式: Creative Commons Attribution-ShareAlike 3.0 License