Thanks for updating your solution
On Tue, Feb 8, 2011 at 8:20 AM, shan2812 wrote:
>
> Hi,
>
> At last the migration to Solr-1.4.1 does solve this issue :-)..
>
> Cheers
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Http-Connection-is-hanging-while-deleteByQuery-tp2367
Hi,
At last the migration to Solr-1.4.1 does solve this issue :-)..
Cheers
--
View this message in context:
http://lucene.472066.n3.nabble.com/Http-Connection-is-hanging-while-deleteByQuery-tp2367405p2451214.html
Sent from the Solr - User mailing list archive at Nabble.com.
Hi Ravi Kiran,
I am using Solr version 1.4, and the solution suggested by you seems to be
there in solrconfig.xml already.
But after reading your message again now, I checked the release
notes(CHANGES.TXT) of Solr 1.4.1 and I found these two entries..
* SOLR-1711: SolrJ - StreamingUpdateSolrSe
Hello Shan,
I was able to delete without hanging by making the
following changes to the solrconfig.xml in the mainIndex section and
reloading the core. BTW Iam using 1.4.1...Hope you get your deletes working
as well. Let us know if it works for you or if you find any other solution
This is the log trace..
2011-01-31 10:07:18,837 ERROR (main)[SearchBusinessControllerImpl] Solr
connecting to url: http://10.145.10.154:8081/solr
2011-01-31 10:07:18,873 DEBUG (main)[DefaultHttpParams] Set parameter
http.useragent = Jakarta Commons-HttpClient/3.1
2011-01-31 10:07:18,880 DEBUG (ma
Hello Ravi Kiran,
I am not quite sure if it has anything to do with the number of records.
Anyways there are around 400K docs in Solr, and my deleteByQuery() tries to
delete about 400 docs..
The thing is, it does seem to delete the records, but the control never
seems to come back to the caller.
Hello Shan,
Even my SOLR instance is getting hung on deleteById or
deleteByQuery. Iam using Solr 1.4.1 and have about 900k docs in my core.
solr used to work till about 750k docs (not exactly sure though), from then
onwards it is hanging for a long time and ultimately throws a
Sock
Though it may not be needed, just to ad..
this is how I delete by query
UpdateResponse updateResponse = solr.deleteByQuery(new
SolrQuery("my_query"));
--
View this message in context:
http://lucene.472066.n3.nabble.com/Http-Connection-is-hanging-while-deleteByQuery-tp2367405p2367410.html
Sent