pecl-search_engine-solr

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.

  • Owner: php/pecl-search_engine-solr
  • Platform:
  • License:: Other
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

pecl-search_engine-solr

Build Status
Coverage Status

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.

http://pecl.php.net/package/solr

Please refer to http://www.php.net/manual/en/book.solr.php and README.* for more information

Installation

This library requires curl and libxml2 development packages and php extensions

For Debian/Ubuntu/Mint

    sudo apt-get install php5-curl libcurl4-gnutls-dev libxml2 libxml2-dev

For RHEL/Fedora/CentOS/Scientific linux

    sudo yum install libxml2-devel curl-devel php-curl

Please make sure to install them before proceeding to the compilation process

    phpize
    ./configure
    make
    make test
    sudo make install

more details on README.INSTALLATION

Contributions

All forms of contributions are welcome! Whether contributing to tests, or the source.

Running Tests

Types of tests

  1. Tests that do not require a Solr Server (some of them use fixture files)
  2. Requires a running server with cores present and populated with data.

There is a configuration file for the test suite, located at tests/test.config.inc
It contains the fixture file definitions and other configurations for the Solr Server to be used for testing.

To run the type 2 tests, you'll need docker to run the test server using the following command:

docker run -p 8983:8983 --name solr5 -t omars/solr53

PHPQA Guide: http://qa.php.net/write-test.php

make test

How to Report Bugs

Please report bugs to http://bugs.php.net

If you experience a crash due to a segmentation fault, please follow the instructions on the link below
to get a gdb backtrace and then submit the trace in your bug report as well

http://bugs.php.net/bugs-generating-backtrace.php

Thank you for using PHP

Main metrics

Overview
Name With Ownerphp/pecl-search_engine-solr
Primary LanguageC
Program languagePHP (Language Count: 8)
Platform
License:Other
所有者活动
Created At2014-02-10 03:04:19
Pushed At2025-04-23 12:03:53
Last Commit At2025-04-22 18:05:59
Release Count29
Last Release Name2.8.1 (Posted on )
First Release Namerelease_0_9_0 (Posted on 2009-10-05 04:30:52)
用户参与
Stargazers Count62
Watchers Count17
Fork Count40
Commits Count0.9k
Has Issues Enabled
Issues Count21
Issue Open Count7
Pull Requests Count36
Pull Requests Open Count2
Pull Requests Close Count28
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private