And then what analyzer you will use for that?

It is doable, but I'd strongly suggest against it unless you know what you
are doing:
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html#_multi_field_2

--

Itamar Syn-Hershko
http://code972.com | @synhershko <https://twitter.com/synhershko>
Freelance Developer & Consultant
Author of RavenDB in Action <http://manning.com/synhershko/>


On Fri, May 9, 2014 at 1:40 PM, Martin <[email protected]>wrote:

> Hi,
>
> I've got descriptions in different languages with different analyzers like
> this:
>
> description_lang: {
>
>    - properties: {
>       - de: {
>          - analyzer: my_analyzer_de
>          - type: string
>       }
>       - en: {
>          - analyzer: my_analyzer_en
>          - type: string
>       }
>    }
>
> }
>
> They are searchabel with "description_lang.de" and "description_lang.en"but 
> I'd like to search them all together with only
> "
> description_lang" is that possible somehow ?
>
> Thank you very much,
> Martin
>
> --
> You received this message because you are subscribed to the Google Groups
> "elasticsearch" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/b1edecec-4722-4e3f-b82c-eb742d7cb3ad%40googlegroups.com<https://groups.google.com/d/msgid/elasticsearch/b1edecec-4722-4e3f-b82c-eb742d7cb3ad%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAHTr4ZtryLtndSjLdZu8dnmARMpsZhzxHc1y18XFKxUtv_DzYQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to