title: App Engine Search API (Document Search) - Multiple Languages
body: <p>I have Documents that I'd like to make searchable in 3 different languages. Since I can have multiple fields with the same name/type, the following Document structure works (this is a simplified example).</p>
  
  <pre><code>document = search.Document(
      fields=[
        search.TextField(
          name="name",
          language="en",
          value="dog"),
        search.TextField(
          name="name",
          language="es",
          value="perro"),
        search.TextField(
          name="name",
          language="fr",
          value="chien")
      ]
    )
    index = search.Index("my_index")
    index.put(document)
  </code></pre>
  
  <p>Specifying the language helps Google tokenize the value of the <code>TextField</code>.</p>
  
  <p>The following queries all work, each returning one result:</p>
  
  <pre><code>print index.search("name: dog")
  print index.search("name: perro")
  print index.search("name: chien")
  </code></pre>
  
  <p>Here is my question: <strong>Can I restrict a search to only target fields with a specific language</strong>?</p>
  
  <p>The purpose is to avoid getting false positive results. Since each language uses the Arabic alphabet, it's possible that someone performing a full text search in Spanish may see English results that are not relevant.</p>
  
  <p>Thank you.</p>