GithubHelp home page GithubHelp logo

classicvalues / pecl-search_engine-solr Goto Github PK

View Code? Open in Web Editor NEW

This project forked from php/pecl-search_engine-solr

1.0 1.0 0.0 1.76 MB

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.

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

License: Other

PHP 17.21% C 81.06% Makefile 0.53% Shell 0.12% JavaScript 0.44% M4 0.59% Dockerfile 0.02% HTML 0.03%

pecl-search_engine-solr's Introduction

PHP extension for communicating with Apache Solr Server 4.0+

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.

This version of the extension requires Apache Solr Server at least version 4.0.

Please refer to https://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: https://qa.php.net/write-test.php

make test

How to Report Bugs

Please report bugs to https://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

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

Thank you for using PHP

pecl-search_engine-solr's People

Contributors

0mars avatar adoy avatar andypost avatar bluem avatar felipensp avatar glensc avatar jan-e avatar kallez avatar lstrojny avatar petk avatar pierrejoye avatar prateeksachan avatar remicollet avatar scara avatar tony2001 avatar tysonandre avatar weltling avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.