Right now I use the English analyzer for English text. If I wanted to
enable accent folding would I have to recreate the whole analyzer like this:
{
'type': 'custom',
'tokenizer': 'standard',
'filter': [ 'standard', 'english_possessive', 'lowercase',
'stop', 'porter_stem', 'icu_folding' ]
}
Assuming that is what I have to do, it looks like english_possessive filter
is not something I can create via the api. Should I be doing something
else?
Yeah the english possessive filter seems not to be exposed. I willl create
and issue and add it.
simon
On Tuesday, August 6, 2013 8:49:00 PM UTC+2, Nikolas Everett wrote:
Right now I use the English analyzer for English text. If I wanted to
enable accent folding would I have to recreate the whole analyzer like this:
{
'type': 'custom',
'tokenizer': 'standard',
'filter': [ 'standard', 'english_possessive', 'lowercase',
'stop', 'porter_stem', 'icu_folding' ]
}
Assuming that is what I have to do, it looks like english_possessive
filter is not something I can create via the api. Should I be doing
something else?
On Tuesday, August 6, 2013 9:18:45 PM UTC+2, simonw wrote:
Yeah the english possessive filter seems not to be exposed. I willl create
and issue and add it.
simon
On Tuesday, August 6, 2013 8:49:00 PM UTC+2, Nikolas Everett wrote:
Right now I use the English analyzer for English text. If I wanted to
enable accent folding would I have to recreate the whole analyzer like this:
{
'type': 'custom',
'tokenizer': 'standard',
'filter': [ 'standard', 'english_possessive',
'lowercase', 'stop', 'porter_stem', 'icu_folding' ]
}
Assuming that is what I have to do, it looks like english_possessive
filter is not something I can create via the api. Should I be doing
something else?
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.