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 two directory: `/config/mmseg`, `/plugins/analysis-mmseg` | |
1. got to [`https://github.com/medcl/elasticsearch-rtf/tree/master/config/mmseg`](https://github.com/medcl/elasticsearch-rtf/tree/master/config/mmseg)`, download the files: | |
chars.dic, units.dic, words-my.dic,words.dic, mv them to `/config/mmseg` | |
2. go to [`https://github.com/medcl/elasticsearch-rtf/tree/master/plugins/analysis-mmseg`](https://github.com/medcl/elasticsearch-rtf/tree/master/plugins/analysis-mmseg), download the jar: | |
elasticsearch-analysis-mmseg-1.2.2.jar, mv them to `/plugins/analysis-mmseg` | |
3. add the following configuration to `elasticsearch.yml`: |
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
defmodule Hygiene do | |
defmacro interference do | |
quote do: var!(a) + var!(b) + var!(c) | |
end | |
end | |
defmodule HygieneTest do | |
def go do | |
require Hygiene | |
a = 10 |
NewerOlder