lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rohan rai <hiroha...@gmail.com>
Subject Re: DIH and EmbeddedSolr
Date Sat, 10 Oct 2009 14:14:10 GMT
This is pretty unstable...anyone has any clue...Sometimes it even creates
index, sometimes it does not ??

But everytime time I do get this exception

Regards
Rohan
On Sat, Oct 10, 2009 at 6:07 PM, rohan rai <hirohanin@gmail.com> wrote:

> ModifiableSolrParams p = new ModifiableSolrParams();
>                 p.add("qt", "/dataimport");
>                 p.add("command", "full-import");
>                 server.query(p, METHOD.POST);
>
> I do this
>
> But it starts giving me this exception
>
> SEVERE: Full Import failed
> java.util.concurrent.RejectedExecutionException
>     at
> java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:1760)
>     at
> java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:767)
>     at
> java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:216)
>     at
> java.util.concurrent.ScheduledThreadPoolExecutor.schedule(ScheduledThreadPoolExecutor.java:366)
>     at
> org.apache.solr.update.DirectUpdateHandler2$CommitTracker.scheduleCommitWithin(DirectUpdateHandler2.java:466)
>     at
> org.apache.solr.update.DirectUpdateHandler2.deleteByQuery(DirectUpdateHandler2.java:322)
>     at
> org.apache.solr.update.processor.RunUpdateProcessor.processDelete(RunUpdateProcessorFactory.java:69)
>     at
> org.apache.solr.handler.dataimport.SolrWriter.doDeleteAll(SolrWriter.java:192)
>     at
> org.apache.solr.handler.dataimport.DataImporter.doFullImport(DataImporter.java:332)
>     at
> org.apache.solr.handler.dataimport.DataImporter.runCmd(DataImporter.java:386)
>     at
> org.apache.solr.handler.dataimport.DataImporter$1.run(DataImporter.java:377)
>
>
>
>
>
> 2009/10/10 Noble Paul നോബിള്‍ नोब्ळ् <noble.paul@corp.aol.com>
>
>> you may need to extend a SolrRequest and set appropriate path
>> ("/dataimport") and other params
>> then you may invoke the request method.
>>
>> On Sat, Oct 10, 2009 at 11:07 AM, rohan rai <hirohanin@gmail.com> wrote:
>> > The configuration is not an issue...
>> > But how doindex i invoke it...
>> >
>> > I only have known a url way to invoke it and thus import the data into
>> > index...
>> > like http://localhost:8983/solr/db/dataimport?command=full-import t
>> > But with embedded I havent been able to figure it out
>> >
>> > Regards
>> > Rohan
>> > 2009/10/10 Noble Paul നോബിള്‍ नोब्ळ् <noble.paul@corp.aol.com>
>> >>
>> >> I guess it should be possible... what are the problems you encounter?
>> >>
>> >> On Sat, Oct 10, 2009 at 10:56 AM, rohan rai <hirohanin@gmail.com>
>> wrote:
>> >> > Have been unable to use DIH for Embedded Solr
>> >> >
>> >> > Is there a way??
>> >> >
>> >> > Regards
>> >> > Rohan
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> -----------------------------------------------------
>> >> Noble Paul | Principal Engineer| AOL | http://aol.com
>> >
>> >
>>
>>
>>
>> --
>> -----------------------------------------------------
>> Noble Paul | Principal Engineer| AOL | http://aol.com
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message