Hi.
I have a doubt about this.
Exactly where are we suppose to write this function.
I mean as we are returning AbstractFloatSearchScript I wrote this
function as a part of factory class.
Does this means class returned by my factory is nested class?
I didn't write Script.class at all.
My factory class is at https://gist.github.com/1073346.
Is there any mistake, because I am getting this error continously
git://gist.github.com/1073348.git.
Can anybody help me to where to include this function?
It can be an inner class, or another class defined, it does not matter. Can you post your config based on the same code you provided?
On Monday, July 11, 2011 at 6:53 AM, nachiket bhagwat wrote:
Hi.
I have a doubt about this.
Exactly where are we suppose to write this function.
I mean as we are returning AbstractFloatSearchScript I wrote this
function as a part of factory class.
Does this means class returned by my factory is nested class?
I didn't write Script.class at all.
My factory class is at https://gist.github.com/1073346.
Is there any mistake, because I am getting this error continously
git://gist.github.com/1073348.git (http://gist.github.com/1073348.git).
Can anybody help me to where to include this function?
My Config file.
script.native.foo.type:
in.vedantu.search.scripts.SampleScriptFactory.
Actually I am able to access params in newScript function of
SampleScriptFactory.
But if I don't create SampleScript.java, then I get error I mentioned
earlier.
If I create SampleSctipt.java then I can't access params.
It can be an inner class, or another class defined, it does not matter. Can you post your config based on the same code you provided?
On Monday, July 11, 2011 at 6:53 AM, nachiket bhagwat wrote:
Hi.
I have a doubt about this.
Exactly where are we suppose to write this function.
I mean as we are returning AbstractFloatSearchScript I wrote this
function as a part of factory class.
Does this means class returned by my factory is nested class?
I didn't write Script.class at all.
My factory class is athttps://gist.github.com/1073346.
Is there any mistake, because I am getting this error continously
git://gist.github.com/1073348.git (http://gist.github.com/1073348.git).
Can anybody help me to where to include this function?
My Config file.script.native.foo.type:
in.vedantu.search.scripts.SampleScriptFactory.
Actually I am able to access params in newScript function of
SampleScriptFactory.
But if I don't create SampleScript.java, then I get error I mentioned
earlier.
If I create SampleSctipt.java then I can't access params.
It can be an inner class, or another class defined, it does not matter. Can you post your config based on the same code you provided?
On Monday, July 11, 2011 at 6:53 AM, nachiket bhagwat wrote:
Hi.
I have a doubt about this.
Exactly where are we suppose to write this function.
I mean as we are returning AbstractFloatSearchScript I wrote this
function as a part of factory class.
Does this means class returned by my factory is nested class?
I didn't writeScript.class at all.
My factory class is athttps://gist.github.com/1073346.
Is there any mistake, because I am getting this error continously
git://gist.github.com/1073348.git (http://gist.github.com/1073348.git).
Can anybody help me to where to include this function?
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.