Re: pluggable functions

2007-09-18 Thread Chris Hostetter
(NOTE: this discussion probably makes more sense on solr-dev. future replies should probably go there, or in SOLR-334.) : The parser is a quick hack I threw together, and any value source : factories should not be exposed to it. It seems like either : 1) a value source factory would expose th

Re: pluggable functions

2007-09-18 Thread Yonik Seeley
On 9/18/07, Jon Pierce <[EMAIL PROTECTED]> wrote: > Reflection could be used to look up and invoke the constructor with > appropriately-typed arguments. If we assume only "primitive" types > and ValueSources are used, I don't think it would be too hard to craft > a drop-in replacement that works w

Re: pluggable functions

2007-09-18 Thread Jon Pierce
to instantiate the function. Did > you have an alternate approach in mind? Are there any other things this > would need to do? > > Is anyone else working on this? > > Tom > > > > > On 9/18/07, Jon Pierce <[EMAIL PROTECTED]> wrote: > > > > I see Y

Re: pluggable functions

2007-09-18 Thread Tom Hill
ny other things this would need to do? Is anyone else working on this? Tom On 9/18/07, Jon Pierce <[EMAIL PROTECTED]> wrote: > > I see Yonik recently opened an issue in JIRA to track the addition of > pluggable functions (https://issues.apache.org/jira/browse/SOLR-356). > Any cha

pluggable functions

2007-09-18 Thread Jon Pierce
I see Yonik recently opened an issue in JIRA to track the addition of pluggable functions (https://issues.apache.org/jira/browse/SOLR-356). Any chance this will be implemented soon? It would save users like me from having to hack the Solr source or write custom request handlers for trivial