: If you make your EventListener implements SolrCoreAware you can get
: hold of the core on inform. use that to get hold of the
: SolrIndexWriter
Implementing SolrCoreAware I can get hold of the core and easy get hold of A
SolrIndexSearcher and so a reader. But I can't see the way to get hold
: What is confusing me now is that I have to implement my logic in
you're certianly in a fuzzy grey area here ... none of this stuff was
designed for the kind of thing you're doing.
: But in processCommit, having access to the core I can get the IndexReader
: but I still don't know how to get t
: If you make your EventListener implements SolrCoreAware you can get
: hold of the core on inform. use that to get hold of the
: SolrIndexWriter
Implementing SolrCoreAware I can get hold of the core and easy get hold of A
SolrIndexSearcher and so a reader. But I can't see the way to get hold of
Jul 2009 10:14:16 +0530
> : From:
> :
> =?UTF-8?B?Tm9ibGUgUGF1bCDgtKjgtYvgtKzgtL/gtLPgtY3igI0gIOCkqOCli+CkrOCljeCk
> : s+CljQ==?=
> : Reply-To: solr-user@lucene.apache.org, noble.p...@gmail.com
> : To: solr-user@lucene.apache.org
> : Subject: Re: update some index doc
lr-user@lucene.apache.org
: Subject: Re: update some index documents after indexing process is done with
: DIH
:
: If you make your EventListener implements SolrCoreAware you can get
: hold of the core on inform. use that to get hold of the
: SolrIndexWriter
:
: On Wed, Jul 29, 2009 at 9:20 PM
If you make your EventListener implements SolrCoreAware you can get
hold of the core on inform. use that to get hold of the
SolrIndexWriter
On Wed, Jul 29, 2009 at 9:20 PM, Marc Sturlese wrote:
>
> From the newSearcher(..) of a CustomEventListener which extends of
> AbstractSolrEventListener can
>From the newSearcher(..) of a CustomEventListener which extends of
AbstractSolrEventListener can access to SolrIndexSearcher and all core
properties but can't get a SolrIndexWriter. Do you now how can I get from
there a SolrIndexWriter? This way I would be able to modify the documents (I
need to
On Tue, Jul 28, 2009 at 5:17 PM, Marc Sturlese wrote:
>
> That really sounds the best way to reach my goal. How could I invoque a
> listener from the newSearcher?Would be something like:
>
>
> solr 0 name="rows">10
> rocks 0 name="rows">10
> static newSearcher w
That really sounds the best way to reach my goal. How could I invoque a
listener from the newSearcher?Would be something like:
solr 0 10
rocks 0 10
static newSearcher warming query from
solrconfig.xml
And MyCustomListener would be the class
when a core is reloaded the event fired is firstSearcher. newSearcher
is fired when a commit happens
On Tue, Jul 28, 2009 at 4:19 PM, Marc Sturlese wrote:
>
> Ok, but if I handle it in a newSearcher listener it will be executed every
> time I reload a core, isn't it? The thing is that I want to u
Ok, but if I handle it in a newSearcher listener it will be executed every
time I reload a core, isn't it? The thing is that I want to use an
IndexReader to load in a HashMap some doc fields of the index and depending
of the values of some field docs modify other docs. Its very memory
consuming (I
It is best handled as a 'newSearcher' listener in solrconfig.xml.
onImportEnd is invoked before committing
On Tue, Jul 28, 2009 at 3:13 PM, Marc Sturlese wrote:
>
> Hey there,
> I would like to be able to do something like: After the indexing process is
> done with DIH I would like to open an inde
12 matches
Mail list logo