clean up search settings doc
fix some erlang samples