Caused by: java.lang.ClassNotFoundException: org.elasticsearch.index.analysis.uaxurlemail.UaxUrlEmailAnalyzerProvider

Is there something special I need to do install
the UaxUrlEmailAnalyzerProvider? I'm getting an exception when I try to
set it as the default analyzer on an index.

Thanks,
Ben

Exception in thread "main" com.google.inject.ProvisionException: Guice
provision errors:

  1. Error injecting constructor,
    org.elasticsearch.ElasticSearchIllegalArgumentException: failed to find
    analyzer type [uax_url_email] or tokenizer for [default]
    at
    controllers.batch.PopulateElasticSearch.(PopulateElasticSearch.java:21)
    while locating controllers.batch.PopulateElasticSearch

1 error
at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:987)
at
com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1013)
at
controllers.batch.PopulateElasticSearch.main(PopulateElasticSearch.java:45)
Caused by: org.elasticsearch.ElasticSearchIllegalArgumentException: failed
to find analyzer type [uax_url_email] or tokenizer for [default]
at
org.elasticsearch.index.analysis.AnalysisModule.configure(AnalysisModule.java:372)
at
org.elasticsearch.common.inject.AbstractModule.configure(AbstractModule.java:60)
at
org.elasticsearch.common.inject.spi.Elements$RecordingBinder.install(Elements.java:201)
at
org.elasticsearch.common.inject.spi.Elements.getElements(Elements.java:82)
at
org.elasticsearch.common.inject.InjectorShell$Builder.build(InjectorShell.java:130)
at
org.elasticsearch.common.inject.InjectorBuilder.build(InjectorBuilder.java:99)
at
org.elasticsearch.common.inject.InjectorImpl.createChildInjector(InjectorImpl.java:129)
at
org.elasticsearch.common.inject.ModulesBuilder.createChildInjector(ModulesBuilder.java:66)
at
org.elasticsearch.indices.InternalIndicesService.createIndex(InternalIndicesService.java:380)
at
org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$1.execute(MetaDataCreateIndexService.java:263)
at
org.elasticsearch.cluster.service.InternalClusterService$2.run(InternalClusterService.java:229)
at
org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:95)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
Caused by: org.elasticsearch.common.settings.NoClassSettingsException:
Failed to load class setting [type] with value [uax_url_email]
at
org.elasticsearch.common.settings.ImmutableSettings.loadClass(ImmutableSettings.java:347)
at
org.elasticsearch.common.settings.ImmutableSettings.getAsClass(ImmutableSettings.java:335)
at
org.elasticsearch.index.analysis.AnalysisModule.configure(AnalysisModule.java:356)
... 14 more
Caused by: java.lang.ClassNotFoundException:
org.elasticsearch.index.analysis.uaxurlemail.UaxUrlEmailAnalyzerProvider
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
at
org.elasticsearch.common.settings.ImmutableSettings.loadClass(ImmutableSettings.java:345)
... 16 more

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

I think I got it figured out. I was trying to set
index.analysis.analyzer.default.type and I think I should have been setting
the index.analysis.tokenizer.default.type. The docs could definitely expand
a bit more on some of these settings.

Thanks again,
Ben

On Tue, May 21, 2013 at 5:48 PM, Ben McCann benjamin.j.mccann@gmail.comwrote:

Is there something special I need to do install
the UaxUrlEmailAnalyzerProvider? I'm getting an exception when I try to
set it as the default analyzer on an index.

Thanks,
Ben

Exception in thread "main" com.google.inject.ProvisionException: Guice
provision errors:

  1. Error injecting constructor,
    org.elasticsearch.ElasticSearchIllegalArgumentException: failed to find
    analyzer type [uax_url_email] or tokenizer for [default]
    at
    controllers.batch.PopulateElasticSearch.(PopulateElasticSearch.java:21)
    while locating controllers.batch.PopulateElasticSearch

1 error
at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:987)
at
com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1013)
at
controllers.batch.PopulateElasticSearch.main(PopulateElasticSearch.java:45)
Caused by: org.elasticsearch.ElasticSearchIllegalArgumentException: failed
to find analyzer type [uax_url_email] or tokenizer for [default]
at
org.elasticsearch.index.analysis.AnalysisModule.configure(AnalysisModule.java:372)
at
org.elasticsearch.common.inject.AbstractModule.configure(AbstractModule.java:60)
at
org.elasticsearch.common.inject.spi.Elements$RecordingBinder.install(Elements.java:201)
at
org.elasticsearch.common.inject.spi.Elements.getElements(Elements.java:82)
at
org.elasticsearch.common.inject.InjectorShell$Builder.build(InjectorShell.java:130)
at
org.elasticsearch.common.inject.InjectorBuilder.build(InjectorBuilder.java:99)
at
org.elasticsearch.common.inject.InjectorImpl.createChildInjector(InjectorImpl.java:129)
at
org.elasticsearch.common.inject.ModulesBuilder.createChildInjector(ModulesBuilder.java:66)
at
org.elasticsearch.indices.InternalIndicesService.createIndex(InternalIndicesService.java:380)
at
org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$1.execute(MetaDataCreateIndexService.java:263)
at
org.elasticsearch.cluster.service.InternalClusterService$2.run(InternalClusterService.java:229)
at
org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:95)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
Caused by: org.elasticsearch.common.settings.NoClassSettingsException:
Failed to load class setting [type] with value [uax_url_email]
at
org.elasticsearch.common.settings.ImmutableSettings.loadClass(ImmutableSettings.java:347)
at
org.elasticsearch.common.settings.ImmutableSettings.getAsClass(ImmutableSettings.java:335)
at
org.elasticsearch.index.analysis.AnalysisModule.configure(AnalysisModule.java:356)
... 14 more
Caused by: java.lang.ClassNotFoundException:
org.elasticsearch.index.analysis.uaxurlemail.UaxUrlEmailAnalyzerProvider
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
at
org.elasticsearch.common.settings.ImmutableSettings.loadClass(ImmutableSettings.java:345)
... 16 more

--
You received this message because you are subscribed to a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/elasticsearch/AA2k83yoKqc/unsubscribe?hl=en-US
.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
about.me/benmccann

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.