Re: svn: /phpdoc/en/trunk/reference/solr/ examples.xml solrclient/construct.xml

From: Date: Wed, 28 Oct 2009 03:26:16 +0000
Subject: Re: svn: /phpdoc/en/trunk/reference/solr/ examples.xml solrclient/construct.xml
References: 1  Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-5228@lists.php.net to get a copy of this message
On Oct 27, 2009, at 7:54 PM, Israel Ekpo wrote:
iekpo                                    Wed, 28 Oct 2009 02:54:42 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=290013 Log: Adding examples on how to connect to Solr servers behind SSL-enabled containers Examples also illustrate the new options for the SolrClient constructor.
    - secure          (Boolean value indicating whether or not to connect in secure mode)
    - timeout         (This is maximum time in seconds allowed for the http data transfer operation. Default is 30 seconds)
    - ssl_cert        (File name to a PEM-formatted file containing the private key + private certificate (concatenated in that order) )
    - ssl_key         (File name to a PEM-formatted private key file only)
    - ssl_keypassword (Password for private key)
    - ssl_cainfo      (Name of file holding one or more CA certificates to verify peer with)
    - ssl_capath      (Name of directory holding multiple CA certificates to verify peer with )
Changed paths: U phpdoc/en/trunk/reference/solr/examples.xml U phpdoc/en/trunk/reference/solr/solrclient/construct.xml Modified: phpdoc/en/trunk/reference/solr/examples.xml =================================================================== --- phpdoc/en/trunk/reference/solr/examples.xml 2009-10-28 02:34:32 UTC (rev 290012) +++ phpdoc/en/trunk/reference/solr/examples.xml 2009-10-28 02:54:42 UTC (rev 290013) @@ -3,9 +3,61 @@ <chapter xml:id="solr.examples" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> &reftitle.examples; - <para> - Examples of how to use the Apache Solr extension in PHP - </para> +
+    <para>
+        Examples of how to use the Apache Solr extension in PHP
+    </para>
+    <example>
+        <title>Contents of the BootStrap file</title>
+        <programlisting role="php">
+<![CDATA[ <snip>
Hello Israel, Nice examples, but please be careful with whitespace. The XML should be indented by one space, and here are a few reasons why: - http://wiki.php.net/doc/articles/whitespace Regards, Philip

« previous php.doc.cvs (#5228) next »