Project

General

Profile

Bug #7299

SolrConnection fails if persistent property is not set to True

Added by Dave Vieglais over 8 years ago. Updated almost 8 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
d1_libclient_python
Target version:
-
Start date:
2015-08-18
Due date:
% Done:

0%

Story Points:
Sprint:

Description

The constructor for SolrConnection accepts a "persistent" property that indicates if the instance should attempt to keep client connections open rather than closing after each request.

Setting this to False causes the connection attempt to immediately fail with error "ResponseNotReady".

Overall, the solr connection should probably be refactored to use the python "requests" package, which offers a far more stable HTTP client.

History

#1 Updated by Roger Dahl almost 8 years ago

  • Assignee changed from Mark Flynn to Roger Dahl

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)