{
"analysis": {
"filter": {
"artikel": {
"type": "pattern_capture",
"patterns": [
"(art\. |artikel |artikelen |op( de|) voet van )(.+?)( BW| van
het Burgerlijk Wetboek| Rv| van het Wetboek van Burgerlijke
Rechtsvordering)"
]
}
},
"analyzer": {
"artikel": {
"tokenizer": "pattern"
}
}
}
}
After opening the index again, I got a error in the logs:
Caused by: java.lang.ClassNotFoundException:
org.elasticsearch.index.analysis.patterncapture.PatternCaptureTokenFilterFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
at
org.elasticsearch.common.settings.ImmutableSettings.loadClass(ImmutableSettings.java:346)
... 17 more
{
"analysis": {
"filter": {
"artikel": {
"type": "pattern_capture",
"patterns": [
"(art\. |artikel |artikelen |op( de|) voet van )(.+?)( BW| van
het Burgerlijk Wetboek| Rv| van het Wetboek van Burgerlijke
Rechtsvordering)"
]
}
},
"analyzer": {
"artikel": {
"tokenizer": "pattern"
}
}
}
}
After opening the index again, I got a error in the logs:
org.elasticsearch.indices.IndexCreationException: [recht] failed to create
index
at
org.elasticsearch.indices.InternalIndicesService.createIndex(Internal
IndicesService.java:382)
at
org.elasticsearch.indices.cluster.IndicesClusterStateService.applyNewIndices(IndicesClusterStateService.java:296)
at
org.elasticsearch.indices.cluster.IndicesClusterStateService.clusterChanged(IndicesClusterStateService.java:162)
at
org.elasticsearch.cluster.service.InternalClusterService$2.run(InternalClusterService.java:321)
at
org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecu
tor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:95)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1146)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:615)
at java.lang.Thread.run(Thread.java:679)
Caused by: org.elasticsearch.ElasticSearchIllegalArgumentException: failed
to find token filter type [pattern_capture] for [artikel]
at
org.elasticsearch.index.analysis.AnalysisModule.configure(AnalysisModule.java:249)
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)
... 7 more
Caused by: org.elasticsearch.common.settings.NoClassSettingsException:
Failed to load class setting [type] with value [pattern_capture]
at
org.elasticsearch.common.settings.ImmutableSettings.loadClass(ImmutableSettings.java:348)
at
org.elasticsearch.common.settings.ImmutableSettings.getAsClass(ImmutableSettings.java:336)
at
org.elasticsearch.index.analysis.AnalysisModule.configure(AnalysisModule.java:239)
... 15 more
Caused by: java.lang.ClassNotFoundException:
org.elasticsearch.index.analysis.patterncapture.PatternCaptureTokenFilterFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
at
org.elasticsearch.common.settings.ImmutableSettings.loadClass(ImmutableSettings.java:346)
... 17 more
{
"analysis": {
"filter": {
"artikel": {
"type": "pattern_capture",
"patterns": [
"(art\. |artikel |artikelen |op( de|) voet van )(.+?)( BW| van
het Burgerlijk Wetboek| Rv| van het Wetboek van Burgerlijke
Rechtsvordering)"
]
}
},
"analyzer": {
"artikel": {
"tokenizer": "pattern"
}
}
}
}
After opening the index again, I got a error in the logs:
org.elasticsearch.indices.IndexCreationException: [recht] failed to
create index
at
org.elasticsearch.indices.InternalIndicesService.createIndex(Internal
IndicesService.java:382)
at
org.elasticsearch.indices.cluster.IndicesClusterStateService.applyNewIndices(IndicesClusterStateService.java:296)
at
org.elasticsearch.indices.cluster.IndicesClusterStateService.clusterChanged(IndicesClusterStateService.java:162)
at
org.elasticsearch.cluster.service.InternalClusterService$2.run(InternalClusterService.java:321)
at
org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecu
tor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:95)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1146)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:615)
at java.lang.Thread.run(Thread.java:679)
Caused by: org.elasticsearch.ElasticSearchIllegalArgumentException: failed
to find token filter type [pattern_capture] for [artikel]
at
org.elasticsearch.index.analysis.AnalysisModule.configure(AnalysisModule.java:249)
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)
... 7 more
Caused by: org.elasticsearch.common.settings.NoClassSettingsException:
Failed to load class setting [type] with value [pattern_capture]
at
org.elasticsearch.common.settings.ImmutableSettings.loadClass(ImmutableSettings.java:348)
at
org.elasticsearch.common.settings.ImmutableSettings.getAsClass(ImmutableSettings.java:336)
at
org.elasticsearch.index.analysis.AnalysisModule.configure(AnalysisModule.java:239)
... 15 more
Caused by: java.lang.ClassNotFoundException: org.elasticsearch.index.
analysis.patterncapture.PatternCaptureTokenFilterFactory
at java.net.URLClassLoader$1.run(**URLClassLoader.java:217)
at java.security.**AccessController.doPrivileged(**Native Method)
at java.net.URLClassLoader.**findClass(URLClassLoader.java:**205)
at java.lang.ClassLoader.**loadClass(ClassLoader.java:**321)
at sun.misc.Launcher$AppClassLoader.loadClass(
Launcher.java:294)
at java.lang.ClassLoader.**loadClass(ClassLoader.java:**266)
at org.elasticsearch.common.settings.ImmutableSettings.
loadClass(ImmutableSettings.**java:346)
... 17 more
{
"analysis": {
"filter": {
"artikel": {
"type": "pattern_capture",
"patterns": [
"(art\. |artikel |artikelen |op( de|) voet van )(.+?)( BW|
van het Burgerlijk Wetboek| Rv| van het Wetboek van Burgerlijke
Rechtsvordering)"
]
}
},
"analyzer": {
"artikel": {
"tokenizer": "pattern"
}
}
}
}
After opening the index again, I got a error in the logs:
org.elasticsearch.indices.IndexCreationException: [recht] failed to
create index
at
org.elasticsearch.indices.InternalIndicesService.createIndex(Internal
IndicesService.java:382)
at
org.elasticsearch.indices.cluster.IndicesClusterStateService.applyNewIndices(IndicesClusterStateService.java:296)
at
org.elasticsearch.indices.cluster.IndicesClusterStateService.clusterChanged(IndicesClusterStateService.java:162)
at
org.elasticsearch.cluster.service.InternalClusterService$2.run(InternalClusterService.java:321)
at
org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecu
tor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:95)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1146)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:615)
at java.lang.Thread.run(Thread.java:679)
Caused by: org.elasticsearch.ElasticSearchIllegalArgumentException:
failed to find token filter type [pattern_capture] for [artikel]
at
org.elasticsearch.index.analysis.AnalysisModule.configure(AnalysisModule.java:249)
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)
... 7 more
Caused by: org.elasticsearch.common.settings.NoClassSettingsException:
Failed to load class setting [type] with value [pattern_capture]
at
org.elasticsearch.common.settings.ImmutableSettings.loadClass(ImmutableSettings.java:348)
at
org.elasticsearch.common.settings.ImmutableSettings.getAsClass(ImmutableSettings.java:336)
at
org.elasticsearch.index.analysis.AnalysisModule.configure(AnalysisModule.java:239)
... 15 more
Caused by: java.lang.*ClassNotFoundException: org.elasticsearch.index.
*analysis.patterncapture.PatternCaptureTokenFilterFactory
at java.net.URLClassLoader$1.run(**URLClassLoader.java:217)
at java.security.**AccessController.doPrivileged(**Native
Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:
205)
at java.lang.ClassLoader.**loadClass(ClassLoader.java:**321)
at sun.misc.Launcher$AppClassLoader.loadClass(
Launcher.java:294)
at java.lang.ClassLoader.**loadClass(ClassLoader.java:**266)
at org.elasticsearch.common.settings.ImmutableSettings.
loadClass(ImmutableSettings.**java:346)
... 17 more
I use ES 0.90.1
Please advice.
Thanks, Marcel
--
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 elasticsearc...@googlegroups.com <javascript:>.
For more options, visit https://groups.google.com/groups/opt_out.
*taansprakelijk zijn uit hoofde van bestuurdersaansprakelijkheid ex artikel
2:248 BW en hoofdelijke veroordeling van [geintimeerde sub 1.] c.s. tot
betaling van..... de verplichtingen uit artikel 2:10 BW en dat de
bestuurders *
I only want to capture "artikel 2:248 BW" and "artikel 2:10 BW"
Using the json below doesn't give this back. When I test the analyzer with
Inquisitor I get all the individual words and not the phrases I need.
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.