インデックス作成するときにカタカナとかローマ字に変換してしまえばユーザがカタカナとか入力した時でもヒットさせることができます。 使うのはkuromoji_readingformです use_romajiでカタカナとローマ字を切り替えることができます。 elastic4sのDSLで使えるようにするためにKuromojiReadingformを作成します。 import org.elasticsearch.common.xcontent.XContentBuilder import com.sksamuel.elastic4s.analyzers.TokenFilter import com.sksamuel.elastic4s.analyzers.TokenFilterDefinition case class KuromojiReadingform(name: String, userRo