On Wed, Dec 16, 2009 at 12:39 PM, patrick o'leary wrote:
> Yeah.. can't release that part mate, all you need is
>
> package com.pjaol;
>
> import org.apache.lucene.queryParser.ParseException;
> import org.apache.solr.search.FunctionQParser;
> import org.apache.solr.search.ValueSourceParser;
> imp
Yeah.. can't release that part mate, all you need is
package com.pjaol;
import org.apache.lucene.queryParser.ParseException;
import org.apache.solr.search.FunctionQParser;
import org.apache.solr.search.ValueSourceParser;
import org.apache.solr.search.function.ValueSource;
public class CustomValu
it does not have the code for SocialValueSource..
On Wed, Dec 16, 2009 at 12:18 PM, patrick o'leary wrote:
> Rather than subject the list to code, it's pasted here
> http://www.pasteyourcode.com/13969
>
>
> On Tue, Dec 15, 2009 at 10:42 PM, Shalin Shekhar Mangar <
> shalinman...@gmail.com> wrote:
Rather than subject the list to code, it's pasted here
http://www.pasteyourcode.com/13969
On Tue, Dec 15, 2009 at 10:42 PM, Shalin Shekhar Mangar <
shalinman...@gmail.com> wrote:
> On Wed, Dec 16, 2009 at 11:58 AM, patrick o'leary wrote:
>
> > SEVERE: java.lang.AbstractMethodError
> >at org
On Wed, Dec 16, 2009 at 11:58 AM, patrick o'leary wrote:
> SEVERE: java.lang.AbstractMethodError
>at org.apache.solr.core.SolrCore.createInitInstance(SolrCore.java:439)
>at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1498)
>at org.apache.solr.core.SolrCore.initPlugins(Solr
SEVERE: java.lang.AbstractMethodError
at org.apache.solr.core.SolrCore.createInitInstance(SolrCore.java:439)
at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1498)
at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1492)
at org.apache.solr.core.SolrCore.initPlugins
On Wed, Dec 16, 2009 at 11:32 AM, patrick o'leary wrote:
> Check SolrCore.createInitInstance
> It cast's your CustomValueSourceParser as a NamedListInitializedPlugin
> which
> is an interface,
> thus the AbstractMethodError, as there isn't a concrete implementation of
> init.
>
> If it cast it as
Check SolrCore.createInitInstance
It cast's your CustomValueSourceParser as a NamedListInitializedPlugin which
is an interface,
thus the AbstractMethodError, as there isn't a concrete implementation of
init.
If it cast it as a ValueSourceParser in SolrCore then it would be fine.
On Tue, Dec 15, 2
On Wed, Dec 16, 2009 at 11:01 AM, patrick o'leary wrote:
>
> #2 There's an AbstractMethodError when you extend ValueSourceParser and
> don't override the init(NamedList args) method
> because SolrCore:~439 createInitInstance, cast's the plugin class as a
> NamedListInitializedPlugin, and call's
>
Hey Patrick,
On 12/15/09 9:31 PM, "patrick o'leary" wrote:
> #1 Change documentation of
> http://wiki.apache.org/solr/SolrPlugins#ValueSourceParser to say extends
> ValueSourceParser rather than implements.
I updated the Wiki based on your comment.
Cheers,
Chris
++
Howdy
Couple of things about the ValueSourceParser
#1 Change documentation of
http://wiki.apache.org/solr/SolrPlugins#ValueSourceParser to say extends
ValueSourceParser rather than implements.
#2 There's an AbstractMethodError when you extend ValueSourceParser and
don't override the init(NamedLi
11 matches
Mail list logo