try using the QuerySender listener
http://wiki.apache.org/solr/SolrConfigXml#head-44db2a0bc0654e712bd6824ec0e76abca9605f88

<listener event="firstSearcher" class="solr.QuerySenderListener">
      <arr name="queries">
        <lst>
              <str name="qt>/dataimport</str>
               <str name="command">full-import</str>
        </lst>
      </arr>
    </listener>


2009/6/24 Noble Paul നോബിള്‍  नोब्ळ् <noble.p...@corp.aol.com>:
> yes , you will need to fire a command
>
> On Tue, Jun 23, 2009 at 9:51 PM, ice <icech...@gmail.com> wrote:
>>
>>
>> We use the DataImportHandler for indexes from a RDBMS. Is there any way to
>> make sure that the import is run when the SOLR webapp/core starts up? Do we
>> need to send a command to SOLR to make this happen?
>> --
>> View this message in context: 
>> http://www.nabble.com/Initialize-SOLR-DataImportHandler-tp24167359p24167359.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
>>
>
>
>
> --
> -----------------------------------------------------
> Noble Paul | Principal Engineer| AOL | http://aol.com
>



-- 
-----------------------------------------------------
Noble Paul | Principal Engineer| AOL | http://aol.com

Reply via email to