我正在嘗試爲我正在使用的項目使用elasticsearch設置。我不知道是否有人能夠幫助他們在正確的方向前進。我使用的索引有1億多條記錄。
如果我需要能夠通配符查詢類似如下:Elasticsearch通配符搜索電子郵件地址?
b*[email protected]
b*[email protected]*.com
*[email protected]
br*gu*@gmail.com
*g*@*
當我嘗試使用通配符和其它的搜索,我沒有得到完全預期的結果。
使用elasticsearch進行什麼類型的搜索應該考慮實現? ElasticSearch甚至是正確的工具嗎?我從中得出的是Mysql,所以如果沒有,我可能會考慮使用Sphinx或Solr。
對於電子郵件搜索,我建議這種方法:http://stackoverflow.com/questions/30115867/elasticsearch-analyzer-and-tokenizer-for-emails –