Comments (6)
Issue 56 has been merged into this issue.
Original comment by [email protected]
on 2 Dec 2010 at 5:52
from solr-php-client.
Reiterating comment from issue 56
This problem existed on PHP version >= 5.2.6 and < 5.2.10. In those versions
there was a problem where the http context options were not treated as
documented when curl wrappers were enabled in the compile.
See the comment here: http://www.php.net/manual/en/context.curl.php#85551
In svn trunk (see svn checkout page:
http://code.google.com/p/solr-php-client/source/checkout), the code now lets
you assign a transport implementation to use - it defaults to an HTTP url
wrapper implementation, but a straight cURL based implementation is provided as
well. Another alternative would be to implement your own transport.
Original comment by [email protected]
on 2 Dec 2010 at 6:00
from solr-php-client.
i was using php 5.3.3 when I saw the issue notes in issue 56
Original comment by [email protected]
on 2 Dec 2010 at 7:05
from solr-php-client.
Lukas,
Hopefully, it wasn't a regression in PHP. The issues seemed so similar I made
the logical assumption they were related, sorry if that is not the case.
Are you still seeing this problem? And if so, can you confirm or deny whether
changing the code to use an array for the header context option corrected it
like we see in 5.2.6.
My best current suggestion is still to switch to the newest code and try using
one of the Curl based transports:
// the Curl transport creates and reuses a single cURL session handle
// depending on your PHP version may leak memory over a large number of requests
$transportInstance = new Apache_Solr_HttpTransport_Curl();
// the CurlNoReuse transport creates and releases a cURL session handle for
each request
$transportInstance = new Apache_Solr_HttpTransport_CurlNoReuse();
// a transport instance can either be given to the constructor
$solr = new Apache_Solr_Service(..., $transportInstance);
// or, it can be set at any time
$solr->setHttpTransport($transportInstance);
Original comment by [email protected]
on 2 Dec 2010 at 7:32
from solr-php-client.
i have switched off curl wrappers. its experimental anyway. i dont have
anything but 5.3.3 compiled atm. i will point the author of sfSolrPlugin to
consider one of the above transports.
Original comment by [email protected]
on 2 Dec 2010 at 7:37
from solr-php-client.
Using a different http transport, substituting your own, or changing php
configuration are all workable for this situation. This isn't an issue for the
majority, so i'm going to mark it won't fix.
Original comment by [email protected]
on 20 May 2011 at 12:16
- Changed state: WontFix
from solr-php-client.
Related Issues (20)
- How to enable wildcard HOT 1
- Cannot use root-level URL Solr servers HOT 2
- Basic Auth HOT 5
- Added feature. Get Solr system information HOT 1
- SOLR - 1 writer server 1 search server work on realtime HOT 4
- Basic Auth r64 Does Not Support Distributed Searches HOT 2
- keep alive connection HOT 1
- Support for proxy
- Composer support HOT 1
- Update copyrights to reflect PTC ownership HOT 1
- incorrect implementation of "ping" HOT 10
- Facet Query problem HOT 1
- Patch for /branches/response_parsing/Apache/Solr/Service.php HOT 2
- Search handler resolution HOT 1
- getting problem in configuring the solr-php-cline HOT 1
- Solr 4.3.0 HOT 3
- Get Spell Check Suggestions in frontend.
- Solr Indexing errror:Fatal error: Uncaught exception 'Apache_Solr_HttpTransportException' with message ''400' Status: Bad Request' HOT 1
- Add support to set search servlet [other than "select"] HOT 1
- PERFORMANCE WARNING: Overlapping onDeckSearchers=2 &Error opening new searcher.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from solr-php-client.