title: Elasticsearch multilingual Search
body: <p>I am working on a project to perform multilingual full-text search using Elasticsearch.
  one field can contain a word combination of different languages or transliteration. for example in the English text may contain Armenian words. or Russian words in the Armenian text.
  and i am trying now to configure text analysis with language analyzer.
  How correct is my analyzer, And will it work at all ?</p>
  <pre><code>PUT /example{ 
   &quot;settings&quot;: {
  &quot;analysis&quot;: {
    &quot;filter&quot;: {
      &quot;armenian_stop&quot;: {
        &quot;type&quot;:       &quot;stop&quot;,
        &quot;stopwords&quot;:  &quot;_armenian_&quot; 
      },
      &quot;armenian_keywords&quot;: {
        &quot;type&quot;:       &quot;keyword_marker&quot;,
        &quot;keywords&quot;:   [&quot;օրինակ&quot;] 
      },
      &quot;armenian_stemmer&quot;: {
        &quot;type&quot;:       &quot;stemmer&quot;,
        &quot;language&quot;:   &quot;armenian&quot;
      },
      &quot;russian_stop&quot;: {
        &quot;type&quot;:       &quot;stop&quot;,
        &quot;stopwords&quot;:  &quot;_russian_&quot; 
      },
      &quot;russian_keywords&quot;: {
        &quot;type&quot;:       &quot;keyword_marker&quot;,
        &quot;keywords&quot;:   [&quot;пример&quot;] 
      },
      &quot;russian_stemmer&quot;: {
        &quot;type&quot;:       &quot;stemmer&quot;,
        &quot;language&quot;:   &quot;russian&quot;
      },
      &quot;graph_synonyms&quot;: {
          &quot;type&quot;: &quot;synonym&quot;,
          &quot;synonyms_path&quot;: &quot;analysis/synonym.txt&quot;
        }
    },
    &quot;analyzer&quot;: {
      &quot;rebuilt_armenian&quot;: {
        &quot;tokenizer&quot;:  &quot;standard&quot;,
        &quot;filter&quot;: [
          &quot;lowercase&quot;,
          &quot;armenian_stop&quot;,
          &quot;armenian_keywords&quot;,
          &quot;armenian_stemmer&quot;,
          
          &quot;russian_stop&quot;,
          &quot;russian_keywords&quot;,
          &quot;russian_stemmer&quot;,
          
          &quot;graph_synonyms&quot;
        ]
      }
    }
  }},&quot;mappings&quot;: {
  &quot;properties&quot;: {
    &quot;age&quot;:    { &quot;type&quot;: &quot;integer&quot; },  
    &quot;email&quot;:  { &quot;type&quot;: &quot;keyword&quot;  }, 
    &quot;name&quot;:   { &quot;type&quot;: &quot;text&quot;, &quot;analyzer&quot;: &quot;rebuilt_armenian&quot;  } ,
    &quot;location&quot;: {
      &quot;type&quot;: &quot;geo_point&quot;
    }
  }}}
  </code></pre>