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.
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.
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.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.