Login  |  Packages  |  Support  |  Bugs
Top Level :: Search Engine :: solr :: 2.0.0b

solr 2.0.0b

Package Information
Summary The Apache Solr PHP extension is an extremely fast, light-weight, feature-rich library that allows PHP applications to communicate easily and efficiently with Apache Solr server instances using an object-oriented API.
Maintainers Omar Shaban < omars at php dot net > (lead) [details]
License PHP License
Description It effectively simplifies the process of interacting with Apache Solr using PHP5 and it already comes with built-in readiness for the latest features.

The extension has features such as built-in, serializable query string builder objects which effectively simplifies the manipulation of name-value pair request parameters across repeated requests.
The response from the Solr server is also automatically parsed into native php objects whose properties can be accessed as array keys or object properties without any additional configuration on the client-side.

Its advanced HTTP client reuses the same connection across multiple requests and provides built-in support for connecting to Solr servers secured behind HTTP Authentication or HTTP proxy servers. It is also able to connect to SSL-enabled containers.

Please consult the documentation for more details on features. Included in the source code are phpdoc stubs that enable autocomplete of Solr classes and methods in IDE during development in userland.

Please consider staring the package on github, and get a free release ;)

Homepage http://lucene.apache.org/solr/
Release notes
Version 2.0.0b
- Support Solr version 4.0+
- Added support for retreiving Solr Server system information through SolrClient
- Support for softCommit
- Suppport for expungeDeletes
- maxSegments for commit is deprecated
- Added escape character / as per Solr 4 it is reserved for REGEX
- Disabled warnings for connection errors, SolrClientException is thrown
- SolrClientException messages for connection errors are more meaningful indicating error messages and codes
- API changes for:
SolrClient::commit($maxSegments = 0, $softCommit = false, $waitSearcher = true, $expungeDeletes = false)
SolrClient::optimize($maxSegments = 1, $softCommit = false, $waitSearcher = true)
SolrClient::addDocument(SolrInputDocument &$doc, $overwrite = true, $commitWithin = 0)
SolrClient::addDocuments(array &$docs, $overwrite = true, $commitWithin = 0)
- Several Bug Fixes
Warning: PECL Solr >= 2 is not compatible with Solr Server < 4.0

[ Latest Tarball ] [ Changelog ] [ View Statistics ]
[ Browse Source ] [ Package Bugs ] [ View Documentation ]
[ Report new bug ]

Dependencies for release 2.0.0b
Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun Jan 27 13:05:01 2019 UTC
Bandwidth and hardware provided by: pair Networks