Hi,
I use the built-in Arabic analyzer to index my Arabic text.
I want to add auto complete feature to my search, so I thought about adding
NGram filter.
Is it possible to extend existing analyzer?
If no, what is the configuration of the Arabic analyzer?
You can create and configure your own custom analyzers and use them inside
of your mapping, see
Note, you cannot change the analyzer configuration of a field, which has
already data indexed. So you either need to recreate your index or use the
so-called multi-field functionality. See
Hope this helps.
--Alex
On Mon, Jul 29, 2013 at 8:42 AM, Ido Shamun idoesh1@gmail.com wrote:
Hi,
I use the built-in Arabic analyzer to index my Arabic text.
I want to add auto complete feature to my search, so I thought about adding
NGram filter.
Is it possible to extend existing analyzer?
If no, what is the configuration of the Arabic analyzer?
I know how to create custom analyzer and use multi-field.
But I don't know what the Arabic analyzer configuration is. I found some
references which aren't exact and give different indexing compared to the
built-in one.
On Jul 30, 2013 9:58 AM, "Alexander Reelsen" alr@spinscale.de wrote:
On Mon, Jul 29, 2013 at 8:42 AM, Ido Shamun idoesh1@gmail.com wrote:
Hi,
I use the built-in Arabic analyzer to index my Arabic text.
I want to add auto complete feature to my search, so I thought about
adding
NGram filter.
Is it possible to extend existing analyzer?
If no, what is the configuration of the Arabic analyzer?
On Tue, Jul 30, 2013 at 9:06 AM, Ido Shamun idoesh1@gmail.com wrote:
I know how to create custom analyzer and use multi-field.
But I don't know what the Arabic analyzer configuration is. I found some
references which aren't exact and give different indexing compared to the
built-in one.
On Jul 30, 2013 9:58 AM, "Alexander Reelsen" alr@spinscale.de wrote:
On Mon, Jul 29, 2013 at 8:42 AM, Ido Shamun idoesh1@gmail.com wrote:
Hi,
I use the built-in Arabic analyzer to index my Arabic text.
I want to add auto complete feature to my search, so I thought about
adding
NGram filter.
Is it possible to extend existing analyzer?
If no, what is the configuration of the Arabic analyzer?
I have the exact same problem with greek language.
Have you figured out how to solve it?
Thanks!
On Monday, July 29, 2013 9:42:09 AM UTC+3, Ido Shamun wrote:
Hi,
I use the built-in Arabic analyzer to index my Arabic text.
I want to add auto complete feature to my search, so I thought about adding
NGram filter.
Is it possible to extend existing analyzer?
If no, what is the configuration of the Arabic analyzer?
On Thu, May 29, 2014 at 4:05 PM, Panagiotis Nikitopoulos < panosbobos@gmail.com> wrote:
I have the exact same problem with greek language.
Have you figured out how to solve it?
Thanks!
First build a copy of the greek analyzer as a custom analyzer. Have a look
at https://gerrit.wikimedia.org/r/#/c/130646/1/default_analyzer_config.json,cm
which contains an analyzer called custon_greek which is exactly that. Copy
that analzyer and all the filters that it needs (also in that file) from
into your configuration. Rename as you like. Verify that it works as you
expect. Start hacking on it to add your changes.
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.