Hi,

I think this page is useful for you.
http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/language-pitfalls.html


2014-10-12 0:39 GMT+09:00 Aris Alexis <snowboard...@gmail.com>:

> bump
>
> On Wednesday, October 8, 2014 4:16:42 PM UTC+2, Aris Alexis wrote:
>>
>> Hi,
>>
>> first of all I am a noob with elastic so bear with me.
>>
>> I am interested to know if this scenario is possible:
>>
>> A user posts some text , my app detects the language and index the text
>> with the spanish analyzer for example.
>> B user posts some text in english, my app detects it and indexex the text
>> with the english analyzer *in the same field*.
>>
>> The search query also specifies the analyzer.
>>
>> Is this possible or do I need a field for every language? that's not a
>> very elegant solution.
>>
>> some other idea?
>>
>> thanks
>>
>>  --
> 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 elasticsearch+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/080acb42-a86c-4072-a0ee-f42ee44eef4a%40googlegroups.com
> <https://groups.google.com/d/msgid/elasticsearch/080acb42-a86c-4072-a0ee-f42ee44eef4a%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
-----------------------
Jun Ohtani
blog : http://blog.johtani.info

-- 
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 elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAPW8A5yZJJFGtvD8_HEQ5PmScd_701gne-A%2BcwHnenc21t1Ofg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to