Re: TransformerFactory does not support SolrCoreAware

2017-12-07 Thread Mikhail Khludnev
I haven't look at SOLR-8311. But for those who need any plugin class to be SolrCoreAware, you can mark it as "implements QueryResponseWriter" this allow to workaround SolrCoreAware restrictions for any class. On Thu, Dec 7, 2017 at 11:56 PM, Markus Jelsma wrote: > cc list:

RE: TransformerFactory does not support SolrCoreAware

2017-12-07 Thread Markus Jelsma
Subject: Re: TransformerFactory does not support SolrCoreAware > > Do you know the workaround?  > > On Thu, Dec 7, 2017 at 4:56 PM, Markus Jelsma <mailto:markus.jel...@openindex.io>> wrote: > Created SOLR-11735 for tracking. > https://issues.apache.org/jira/browse/SOLR-11735 &

RE: TransformerFactory does not support SolrCoreAware

2017-12-07 Thread Markus Jelsma
Created SOLR-11735 for tracking. https://issues.apache.org/jira/browse/SOLR-11735 -Original message- > From:Markus Jelsma > Sent: Thursday 7th December 2017 14:49 > To: Solr-user > Subject: TransformerFactory does not support SolrCoreAware > > Hi, > &g

TransformerFactory does not support SolrCoreAware

2017-12-07 Thread Markus Jelsma
Hi, I'd love to have this supported, but SOLR-8311 states there are issues, and i lack the understanding of the mentioned issues. So, can i add it? Many thanks, Markus

Re: SolrCoreAware

2013-11-15 Thread Steven Bower
And the close hook will basically only be fired once during shutdown? On Fri, Nov 15, 2013 at 1:07 PM, Chris Hostetter wrote: > > : So for a given instance of a handler it will only be called once during > the > : lifetime of that handler? > > correct (unless there is a bug somewhere) > > : Also

Re: SolrCoreAware

2013-11-15 Thread Chris Hostetter
: So for a given instance of a handler it will only be called once during the : lifetime of that handler? correct (unless there is a bug somewhere) : Also, when the core is passed in as part of inform() is it guaranteed to be : ready to go? (ie I can start feeding content at this point?) Right,

Re: SolrCoreAware

2013-11-15 Thread Steven Bower
ocess. > > : Also is there a way to hook the shutdown of the core? > > any object (SolrCoreAware or otherwise) can ask the SolrCore to add a > CloseHook at anytime... > > > https://lucene.apache.org/solr/4_5_1/solr-core/org/apache/solr/core/SolrCore.html#addCloseHook%28org.apache.solr.core.CloseHook%29 > > > -Hoss >

Re: SolrCoreAware

2013-11-15 Thread Chris Hostetter
n the lifetime of the solr process. : Also is there a way to hook the shutdown of the core? any object (SolrCoreAware or otherwise) can ask the SolrCore to add a CloseHook at anytime... https://lucene.apache.org/solr/4_5_1/solr-core/org/apache/solr/core/SolrCore.html#addClos

Re: SolrCoreAware

2013-11-15 Thread Shalin Shekhar Mangar
first time the handler is >> requested if it's a lazy-loading handler. >> >> Alan Woodward >> www.flax.co.uk >> >> >> On 15 Nov 2013, at 15:40, Steven Bower wrote: >> >> > Under what circumstances will a handler that implements SolrCoreAware >> have >> > its inform() method called? >> > >> > thanks, >> > >> > steve >> >> -- Regards, Shalin Shekhar Mangar.

Re: SolrCoreAware

2013-11-15 Thread Steven Bower
t; > > Under what circumstances will a handler that implements SolrCoreAware > have > > its inform() method called? > > > > thanks, > > > > steve > >

Re: SolrCoreAware

2013-11-15 Thread Alan Woodward
t; Under what circumstances will a handler that implements SolrCoreAware have > its inform() method called? > > thanks, > > steve

SolrCoreAware

2013-11-15 Thread Steven Bower
Under what circumstances will a handler that implements SolrCoreAware have its inform() method called? thanks, steve

Re: SolrCoreAware

2010-06-16 Thread Chris Hostetter
: Can someone please explain what the inform method should accomplish? Thanks whatever you want it to acomplish ... it's just a hook that (some types of) plugins can use to finish their initialize themselves after init() has been called on the SolrCore and all of the other plugins. (it's a two

SolrCoreAware

2010-06-15 Thread Blargy
Can someone please explain what the inform method should accomplish? Thanks -- View this message in context: http://lucene.472066.n3.nabble.com/SolrCoreAware-tp899064p899064.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: method inform of SolrCoreAware callled 2 times

2009-07-21 Thread Marc Sturlese
>> I have implemented a custom component wich extends SearchComponent and >> implements SolrCoreAware. >> I have decalred it in solrconfig.xml as: >>   >> >> And added it in my Searchhandler as: >>     >>       mycomp >>     >> >

Re: method inform of SolrCoreAware callled 2 times

2009-07-20 Thread Noble Paul നോബിള്‍ नोब्ळ्
it is not normal to get the inform() called twice for a single object. which version of solr are you using? On Mon, Jul 20, 2009 at 7:17 PM, Marc Sturlese wrote: > > Hey there, > I have implemented a custom component wich extends SearchComponent and > implements SolrCoreAware. >

method inform of SolrCoreAware callled 2 times

2009-07-20 Thread Marc Sturlese
Hey there, I have implemented a custom component wich extends SearchComponent and implements SolrCoreAware. I have decalred it in solrconfig.xml as: And added it in my Searchhandler as: mycomp I am using multicore with two cores. I have noticed (doing some logging) that the

Re: SolrCoreAware analyzer

2009-02-27 Thread Bojan Šmid
field type. This analyzer would > need > : to use SolrResourceLoader and SolrConfig, so I want to make it > : SolrCoreAware. > > 1) Solr's support for using Analyzer instances is mainly just to make it > easy for people who already have existing ANalyzer impls that they want

Re: SolrCoreAware analyzer

2009-02-26 Thread Chris Hostetter
: I am writing a custom analyzer for my field type. This analyzer would need : to use SolrResourceLoader and SolrConfig, so I want to make it : SolrCoreAware. 1) Solr's support for using Analyzer instances is mainly just to make it easy for people who already have existing ANalyzer impls

SolrCoreAware analyzer

2009-02-26 Thread Bojan Šmid
Hello, I am writing a custom analyzer for my field type. This analyzer would need to use SolrResourceLoader and SolrConfig, so I want to make it SolrCoreAware. However, it seems that Analyzer classes aren't supposed to be used in this way (as described in http://wiki.apache.org/solr/SolrPl