I'm really interested in ElasticSearch but I'm having some trouble.
Specifically:
I'm trying to write some tests that drive the API (mostly for my own
discovery and understanding), but can't find the javadocs online, in the
download, or when I build the distribution.
I get runtime exceptions when I use the Groovy API per the guide [1].
I can build a local distribution (running "gradlew"), but running any
gradle target fails [2].
My setup is: Mac OS X 10.5.8, ElasticSearch 0.16.2, gradle 0.8, groovy 1.7,
Java 1.6.0_24_blah-blah.
I'll keep snooping around and tinkering, and thanks in advance for any help
you can provide!
groovy.lang.MissingMethodException: No signature of method: static
org.elasticsearch.common.xcontent.XContentFactory.contentBinaryBuilder() is
applicable for argument types:
(org.elasticsearch.common.xcontent.XContentType$1) values: [JSON]
at
groovy.lang.MetaClassImpl.invokeStaticMissingMethod(MetaClassImpl.java:1360)
at groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:1346)
at
org.codehaus.groovy.runtime.callsite.StaticMetaClassSite.call(StaticMetaClassSite.java:35)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
at
org.elasticsearch.groovy.common.xcontent.GXContentBuilder.buildAsBytes(GXContentBuilder.groovy:63)
at
org.elasticsearch.groovy.common.xcontent.GXContentBuilder$buildAsBytes$0.callCurrent(Unknown
Source)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:44)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:143)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:155)
at
org.elasticsearch.groovy.common.xcontent.GXContentBuilder.buildAsBytes(GXContentBuilder.groovy:59)
at
org.elasticsearch.groovy.common.xcontent.GXContentBuilder$buildAsBytes.call(Unknown
Source)
...
What went wrong:
A problem occurred evaluating root project 'elasticsearch-root'.
Cause: Could not find method apply() for arguments [{plugin=base}] on root
project 'elasticsearch-root'.
Are you sure you are using the correct version? I think you got things mixed up, teh groovy code you are running is not 0.16.2. Why not use directly the 0.16.2 distribution?
On Sunday, June 5, 2011 at 12:45 AM, Rich Cariens wrote:
Ahoy ahoy,
I'm really interested in Elasticsearch but I'm having some trouble. Specifically:
I'm trying to write some tests that drive the API (mostly for my own discovery and understanding), but can't find the javadocs online, in the download, or when I build the distribution.
I get runtime exceptions when I use the Groovy API per the guide [1].
I can build a local distribution (running "gradlew"), but running any gradle target fails [2].
My setup is: Mac OS X 10.5.8, Elasticsearch 0.16.2, gradle 0.8, groovy 1.7, Java 1.6.0_24_blah-blah.
I'll keep snooping around and tinkering, and thanks in advance for any help you can provide!
groovy.lang.MissingMethodException: No signature of method: static org.elasticsearch.common.xcontent.XContentFactory.contentBinaryBuilder() is applicable for argument types: (org.elasticsearch.common.xcontent.XContentType$1) values: [JSON]
at groovy.lang.MetaClassImpl.invokeStaticMissingMethod(MetaClassImpl.java:1360)
at groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:1346)
at org.codehaus.groovy.runtime.callsite.StaticMetaClassSite.call(StaticMetaClassSite.java:35)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
at org.elasticsearch.groovy.common.xcontent.GXContentBuilder.buildAsBytes(GXContentBuilder.groovy:63)
at org.elasticsearch.groovy.common.xcontent.GXContentBuilder$buildAsBytes$0.callCurrent(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:44)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:143)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:155)
at org.elasticsearch.groovy.common.xcontent.GXContentBuilder.buildAsBytes(GXContentBuilder.groovy:59)
at org.elasticsearch.groovy.common.xcontent.GXContentBuilder$buildAsBytes.call(Unknown Source)
...
What went wrong:
A problem occurred evaluating root project 'elasticsearch-root'.
Cause: Could not find method apply() for arguments [{plugin=base}] on root project 'elasticsearch-root'.
Are you sure you are using the correct version? I think you got things
mixed up, teh groovy code you are running is not 0.16.2. Why not use
directly the 0.16.2 distribution?
On Sunday, June 5, 2011 at 12:45 AM, Rich Cariens wrote:
Ahoy ahoy,
I'm really interested in Elasticsearch but I'm having some trouble.
Specifically:
I'm trying to write some tests that drive the API (mostly for my own
discovery and understanding), but can't find the javadocs online, in the
download, or when I build the distribution.
I get runtime exceptions when I use the Groovy API per the guide [1].
I can build a local distribution (running "gradlew"), but running any
gradle target fails [2].
My setup is: Mac OS X 10.5.8, Elasticsearch 0.16.2, gradle 0.8, groovy 1.7,
Java 1.6.0_24_blah-blah.
I'll keep snooping around and tinkering, and thanks in advance for any help
you can provide!
groovy.lang.MissingMethodException: No signature of method: static
org.elasticsearch.common.xcontent.XContentFactory.contentBinaryBuilder() is
applicable for argument types:
(org.elasticsearch.common.xcontent.XContentType$1) values: [JSON]
at
groovy.lang.MetaClassImpl.invokeStaticMissingMethod(MetaClassImpl.java:1360)
at groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:1346)
at
org.codehaus.groovy.runtime.callsite.StaticMetaClassSite.call(StaticMetaClassSite.java:35)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
at
org.elasticsearch.groovy.common.xcontent.GXContentBuilder.buildAsBytes(GXContentBuilder.groovy:63)
at
org.elasticsearch.groovy.common.xcontent.GXContentBuilder$buildAsBytes$0.callCurrent(Unknown
Source)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:44)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:143)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:155)
at
org.elasticsearch.groovy.common.xcontent.GXContentBuilder.buildAsBytes(GXContentBuilder.groovy:59)
at
org.elasticsearch.groovy.common.xcontent.GXContentBuilder$buildAsBytes.call(Unknown
Source)
...
What went wrong:
A problem occurred evaluating root project 'elasticsearch-root'.
Cause: Could not find method apply() for arguments [{plugin=base}] on root
project 'elasticsearch-root'.
Are you sure you are using the correct version? I think you got things mixed up, teh groovy code you are running is not 0.16.2. Why not use directly the 0.16.2 distribution?
On Sunday, June 5, 2011 at 12:45 AM, Rich Cariens wrote:
Ahoy ahoy,
I'm really interested in Elasticsearch but I'm having some trouble. Specifically:
I'm trying to write some tests that drive the API (mostly for my own discovery and understanding), but can't find the javadocs online, in the download, or when I build the distribution.
I get runtime exceptions when I use the Groovy API per the guide [1].
I can build a local distribution (running "gradlew"), but running any gradle target fails [2].
My setup is: Mac OS X 10.5.8, Elasticsearch 0.16.2, gradle 0.8, groovy 1.7, Java 1.6.0_24_blah-blah.
I'll keep snooping around and tinkering, and thanks in advance for any help you can provide!
groovy.lang.MissingMethodException: No signature of method: static org.elasticsearch.common.xcontent.XContentFactory.contentBinaryBuilder() is applicable for argument types: (org.elasticsearch.common.xcontent.XContentType$1) values: [JSON]
at groovy.lang.MetaClassImpl.invokeStaticMissingMethod(MetaClassImpl.java:1360)
at groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:1346)
at org.codehaus.groovy.runtime.callsite.StaticMetaClassSite.call(StaticMetaClassSite.java:35)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
at org.elasticsearch.groovy.common.xcontent.GXContentBuilder.buildAsBytes(GXContentBuilder.groovy:63)
at org.elasticsearch.groovy.common.xcontent.GXContentBuilder$buildAsBytes$0.callCurrent(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:44)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:143)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:155)
at org.elasticsearch.groovy.common.xcontent.GXContentBuilder.buildAsBytes(GXContentBuilder.groovy:59)
at org.elasticsearch.groovy.common.xcontent.GXContentBuilder$buildAsBytes.call(Unknown Source)
...
What went wrong:
A problem occurred evaluating root project 'elasticsearch-root'.
Cause: Could not find method apply() for arguments [{plugin=base}] on root project 'elasticsearch-root'.
Are you sure you are using the correct version? I think you got things
mixed up, teh groovy code you are running is not 0.16.2. Why not use
directly the 0.16.2 distribution?
On Sunday, June 5, 2011 at 12:45 AM, Rich Cariens wrote:
Ahoy ahoy,
I'm really interested in Elasticsearch but I'm having some trouble.
Specifically:
I'm trying to write some tests that drive the API (mostly for my own
discovery and understanding), but can't find the javadocs online, in the
download, or when I build the distribution.
I get runtime exceptions when I use the Groovy API per the guide [1].
I can build a local distribution (running "gradlew"), but running any
gradle target fails [2].
My setup is: Mac OS X 10.5.8, Elasticsearch 0.16.2, gradle 0.8, groovy 1.7,
Java 1.6.0_24_blah-blah.
I'll keep snooping around and tinkering, and thanks in advance for any help
you can provide!
groovy.lang.MissingMethodException: No signature of method: static
org.elasticsearch.common.xcontent.XContentFactory.contentBinaryBuilder() is
applicable for argument types:
(org.elasticsearch.common.xcontent.XContentType$1) values: [JSON]
at
groovy.lang.MetaClassImpl.invokeStaticMissingMethod(MetaClassImpl.java:1360)
at groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:1346)
at
org.codehaus.groovy.runtime.callsite.StaticMetaClassSite.call(StaticMetaClassSite.java:35)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
at
org.elasticsearch.groovy.common.xcontent.GXContentBuilder.buildAsBytes(GXContentBuilder.groovy:63)
at
org.elasticsearch.groovy.common.xcontent.GXContentBuilder$buildAsBytes$0.callCurrent(Unknown
Source)
at
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:44)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:143)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:155)
at
org.elasticsearch.groovy.common.xcontent.GXContentBuilder.buildAsBytes(GXContentBuilder.groovy:59)
at
org.elasticsearch.groovy.common.xcontent.GXContentBuilder$buildAsBytes.call(Unknown
Source)
...
What went wrong:
A problem occurred evaluating root project 'elasticsearch-root'.
Cause: Could not find method apply() for arguments [{plugin=base}] on root
project 'elasticsearch-root'.
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.