summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--PHPINFO6
-rw-r--r--REFLECTION1045
-rw-r--r--php-pecl-solr2.spec224
4 files changed, 830 insertions, 447 deletions
diff --git a/.gitignore b/.gitignore
index 1ab5c4f..01f0400 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,7 @@
+clog
package-*.xml
*.tgz
+*.tar.bz2
*.tar.gz
*.tar.xz
*.tar.xz.asc
diff --git a/PHPINFO b/PHPINFO
index b16c5c2..b478e97 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -2,6 +2,6 @@
solr
Solr Support => enabled
-Version => 2.5.0
-Last Build Date => Jul 4 2019
-Last Build Time => 16:53:58
+Version => 2.7.0
+Last Build Date => Jan 12 2024
+Last Build Time => 00:00:00
diff --git a/REFLECTION b/REFLECTION
index fdcd7f7..43717ef 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #197 solr version 2.5.0 ] {
+Extension [ <persistent> extension #82 solr version 2.7.0 ] {
- Dependencies {
Dependency [ libxml (Required) ]
@@ -6,10 +6,10 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
- Constants [4] {
- Constant [ integer SOLR_MAJOR_VERSION ] { 2 }
- Constant [ integer SOLR_MINOR_VERSION ] { 5 }
- Constant [ integer SOLR_PATCH_VERSION ] { 0 }
- Constant [ string SOLR_EXTENSION_VERSION ] { 2.5.0 }
+ Constant [ int SOLR_MAJOR_VERSION ] { 2 }
+ Constant [ int SOLR_MINOR_VERSION ] { 7 }
+ Constant [ int SOLR_PATCH_VERSION ] { 0 }
+ Constant [ string SOLR_EXTENSION_VERSION ] { 2.7.0 }
}
- Functions {
@@ -42,7 +42,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
}
- Method [ <internal:solr, dtor> public method __destruct ] {
+ Method [ <internal:solr> public method __destruct ] {
- Parameters [0] {
}
@@ -54,6 +54,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
Parameter #0 [ <required> $property_name ]
Parameter #1 [ <required> $property_value ]
}
+ - Return [ void ]
}
Method [ <internal:solr, prototype ArrayAccess> public method offsetGet ] {
@@ -61,6 +62,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [1] {
Parameter #0 [ <required> $property_name ]
}
+ - Tentative return [ mixed ]
}
Method [ <internal:solr, prototype ArrayAccess> public method offsetExists ] {
@@ -68,6 +70,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [1] {
Parameter #0 [ <required> $property_name ]
}
+ - Return [ bool ]
}
Method [ <internal:solr, prototype ArrayAccess> public method offsetUnset ] {
@@ -75,6 +78,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [1] {
Parameter #0 [ <required> $property_name ]
}
+ - Return [ void ]
}
Method [ <internal:solr> public method getPropertyNames ] {
@@ -88,12 +92,12 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
Class [ <internal:solr> <iterateable> final class SolrDocument implements ArrayAccess, Iterator, Traversable, Serializable ] {
- Constants [6] {
- Constant [ public integer SORT_DEFAULT ] { 1 }
- Constant [ public integer SORT_ASC ] { 1 }
- Constant [ public integer SORT_DESC ] { 2 }
- Constant [ public integer SORT_FIELD_NAME ] { 1 }
- Constant [ public integer SORT_FIELD_VALUE_COUNT ] { 2 }
- Constant [ public integer SORT_FIELD_BOOST_VALUE ] { 4 }
+ Constant [ public int SORT_DEFAULT ] { 1 }
+ Constant [ public int SORT_ASC ] { 1 }
+ Constant [ public int SORT_DESC ] { 2 }
+ Constant [ public int SORT_FIELD_NAME ] { 1 }
+ Constant [ public int SORT_FIELD_VALUE_COUNT ] { 2 }
+ Constant [ public int SORT_FIELD_BOOST_VALUE ] { 4 }
}
- Static properties [0] {
@@ -103,23 +107,26 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
- Properties [1] {
- Property [ <default> private $_hashtable_index ]
+ Property [ private $_hashtable_index = 0 ]
}
- - Methods [33] {
+ - Methods [35] {
Method [ <internal:solr, ctor> public method __construct ] {
- Parameters [0] {
}
}
- Method [ <internal:solr, dtor> public method __destruct ] {
+ Method [ <internal:solr> public method __destruct ] {
- Parameters [0] {
}
}
Method [ <internal:solr> public method __clone ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:solr> public method __set ] {
@@ -157,6 +164,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
Parameter #0 [ <required> $fieldName ]
Parameter #1 [ <required> $fieldValue ]
}
+ - Return [ void ]
}
Method [ <internal:solr, prototype ArrayAccess> public method offsetGet ] {
@@ -164,6 +172,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [1] {
Parameter #0 [ <required> $fieldName ]
}
+ - Tentative return [ mixed ]
}
Method [ <internal:solr, prototype ArrayAccess> public method offsetExists ] {
@@ -171,6 +180,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [1] {
Parameter #0 [ <required> $fieldName ]
}
+ - Return [ bool ]
}
Method [ <internal:solr, prototype ArrayAccess> public method offsetUnset ] {
@@ -178,39 +188,48 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [1] {
Parameter #0 [ <required> $fieldName ]
}
+ - Return [ void ]
}
Method [ <internal:solr, prototype Iterator> public method current ] {
- Parameters [0] {
}
+ - Tentative return [ mixed ]
}
Method [ <internal:solr, prototype Iterator> public method key ] {
- Parameters [0] {
}
+ - Tentative return [ mixed ]
}
Method [ <internal:solr, prototype Iterator> public method next ] {
- Parameters [0] {
}
+ - Return [ void ]
}
Method [ <internal:solr, prototype Iterator> public method rewind ] {
- Parameters [0] {
}
+ - Return [ void ]
}
Method [ <internal:solr, prototype Iterator> public method valid ] {
- Parameters [0] {
}
+ - Return [ bool ]
}
Method [ <internal:solr, prototype Serializable> public method serialize ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:solr, prototype Serializable> public method unserialize ] {
@@ -220,6 +239,19 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
}
+ Method [ <internal:solr> public method __serialize ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:solr> public method __unserialize ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $data ]
+ }
+ }
+
Method [ <internal:solr> public method clear ] {
- Parameters [0] {
@@ -283,7 +315,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $sortOrderBy ]
- Parameter #1 [ <optional> $sortDirection ]
+ Parameter #1 [ <optional> $sortDirection = <default> ]
}
}
@@ -291,7 +323,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> SolrDocument &$sourceDoc ]
- Parameter #1 [ <optional> $overwrite ]
+ Parameter #1 [ <optional> $overwrite = <default> ]
}
}
@@ -333,9 +365,9 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
- Properties [3] {
- Property [ <default> public $name ]
- Property [ <default> public $boost ]
- Property [ <default> public $values ]
+ Property [ public $name = ' ' ]
+ Property [ public $boost = 0.0 ]
+ Property [ public $values = NULL ]
}
- Methods [2] {
@@ -345,7 +377,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
}
- Method [ <internal:solr, dtor> public method __destruct ] {
+ Method [ <internal:solr> public method __destruct ] {
- Parameters [0] {
}
@@ -356,20 +388,20 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
Class [ <internal:solr> final class SolrInputDocument ] {
- Constants [14] {
- Constant [ public integer SORT_DEFAULT ] { 1 }
- Constant [ public integer SORT_ASC ] { 1 }
- Constant [ public integer SORT_DESC ] { 2 }
- Constant [ public integer SORT_FIELD_NAME ] { 1 }
- Constant [ public integer SORT_FIELD_VALUE_COUNT ] { 2 }
- Constant [ public integer SORT_FIELD_BOOST_VALUE ] { 4 }
- Constant [ public integer UPDATE_MODIFIER_ADD ] { 1 }
- Constant [ public integer UPDATE_MODIFIER_SET ] { 2 }
- Constant [ public integer UPDATE_MODIFIER_INC ] { 3 }
- Constant [ public integer UPDATE_MODIFIER_REMOVE ] { 4 }
- Constant [ public integer UPDATE_MODIFIER_REMOVEREGEX ] { 5 }
- Constant [ public integer VERSION_ASSERT_NONE ] { 0 }
- Constant [ public integer VERSION_ASSERT_EXISTS ] { 1 }
- Constant [ public integer VERSION_ASSERT_NOT_EXISTS ] { -1 }
+ Constant [ public int SORT_DEFAULT ] { 1 }
+ Constant [ public int SORT_ASC ] { 1 }
+ Constant [ public int SORT_DESC ] { 2 }
+ Constant [ public int SORT_FIELD_NAME ] { 1 }
+ Constant [ public int SORT_FIELD_VALUE_COUNT ] { 2 }
+ Constant [ public int SORT_FIELD_BOOST_VALUE ] { 4 }
+ Constant [ public int UPDATE_MODIFIER_ADD ] { 1 }
+ Constant [ public int UPDATE_MODIFIER_SET ] { 2 }
+ Constant [ public int UPDATE_MODIFIER_INC ] { 3 }
+ Constant [ public int UPDATE_MODIFIER_REMOVE ] { 4 }
+ Constant [ public int UPDATE_MODIFIER_REMOVEREGEX ] { 5 }
+ Constant [ public int VERSION_ASSERT_NONE ] { 0 }
+ Constant [ public int VERSION_ASSERT_EXISTS ] { 1 }
+ Constant [ public int VERSION_ASSERT_NOT_EXISTS ] { -1 }
}
- Static properties [0] {
@@ -379,7 +411,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
- Properties [1] {
- Property [ <default> private $_hashtable_index ]
+ Property [ private $_hashtable_index = 0 ]
}
- Methods [28] {
@@ -389,13 +421,16 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
}
- Method [ <internal:solr, dtor> public method __destruct ] {
+ Method [ <internal:solr> public method __destruct ] {
- Parameters [0] {
}
}
Method [ <internal:solr> public method __clone ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:solr> public method __sleep ] {
@@ -405,6 +440,9 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
Method [ <internal:solr> public method __wakeup ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:solr> public method setBoost ] {
@@ -437,7 +475,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [3] {
Parameter #0 [ <required> $fieldName ]
Parameter #1 [ <required> $fieldValue ]
- Parameter #2 [ <optional> $fieldBoostValue ]
+ Parameter #2 [ <optional> $fieldBoostValue = <default> ]
}
}
@@ -508,7 +546,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $sortOrderBy ]
- Parameter #1 [ <optional> $sortDirection ]
+ Parameter #1 [ <optional> $sortDirection = <default> ]
}
}
@@ -516,7 +554,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> SolrInputDocument &$sourceDoc ]
- Parameter #1 [ <optional> $overwrite ]
+ Parameter #1 [ <optional> $overwrite = <default> ]
}
}
@@ -570,12 +608,12 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
Class [ <internal:solr> class SolrClient ] {
- Constants [12] {
- Constant [ public integer SEARCH_SERVLET_TYPE ] { 1 }
- Constant [ public integer UPDATE_SERVLET_TYPE ] { 2 }
- Constant [ public integer THREADS_SERVLET_TYPE ] { 4 }
- Constant [ public integer PING_SERVLET_TYPE ] { 8 }
- Constant [ public integer TERMS_SERVLET_TYPE ] { 16 }
- Constant [ public integer SYSTEM_SERVLET_TYPE ] { 32 }
+ Constant [ public int SEARCH_SERVLET_TYPE ] { 1 }
+ Constant [ public int UPDATE_SERVLET_TYPE ] { 2 }
+ Constant [ public int THREADS_SERVLET_TYPE ] { 4 }
+ Constant [ public int PING_SERVLET_TYPE ] { 8 }
+ Constant [ public int TERMS_SERVLET_TYPE ] { 16 }
+ Constant [ public int SYSTEM_SERVLET_TYPE ] { 32 }
Constant [ public string DEFAULT_SEARCH_SERVLET ] { select }
Constant [ public string DEFAULT_UPDATE_SERVLET ] { update }
Constant [ public string DEFAULT_THREADS_SERVLET ] { admin/threads }
@@ -591,7 +629,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
- Properties [1] {
- Property [ <default> private $_hashtable_index ]
+ Property [ private $_hashtable_index = 0 ]
}
- Methods [26] {
@@ -602,7 +640,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
}
- Method [ <internal:solr, dtor> public method __destruct ] {
+ Method [ <internal:solr> public method __destruct ] {
- Parameters [0] {
}
@@ -615,9 +653,15 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
Method [ <internal:solr> public method __wakeup ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:solr> public method __clone ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:solr> public method getOptions ] {
@@ -651,8 +695,8 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [3] {
Parameter #0 [ <required> SolrInputDocument &$doc ]
- Parameter #1 [ <optional> $overwrite ]
- Parameter #2 [ <optional> $commitWithin ]
+ Parameter #1 [ <optional> $overwrite = <default> ]
+ Parameter #2 [ <optional> $commitWithin = <default> ]
}
}
@@ -660,8 +704,8 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [3] {
Parameter #0 [ <required> array &$docs ]
- Parameter #1 [ <optional> $overwrite ]
- Parameter #2 [ <optional> $commitWithin ]
+ Parameter #1 [ <optional> $overwrite = <default> ]
+ Parameter #2 [ <optional> $commitWithin = <default> ]
}
}
@@ -731,18 +775,18 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
Method [ <internal:solr> public method commit ] {
- Parameters [3] {
- Parameter #0 [ <optional> $softCommit ]
- Parameter #1 [ <optional> $waitSearcher ]
- Parameter #2 [ <optional> $expungeDeletes ]
+ Parameter #0 [ <optional> $softCommit = <default> ]
+ Parameter #1 [ <optional> $waitSearcher = <default> ]
+ Parameter #2 [ <optional> $expungeDeletes = <default> ]
}
}
Method [ <internal:solr> public method optimize ] {
- Parameters [3] {
- Parameter #0 [ <optional> $maxSegments ]
- Parameter #1 [ <optional> $softCommit ]
- Parameter #2 [ <optional> $waitSearcher ]
+ Parameter #0 [ <optional> $maxSegments = <default> ]
+ Parameter #1 [ <optional> $softCommit = <default> ]
+ Parameter #2 [ <optional> $waitSearcher = <default> ]
}
}
@@ -772,7 +816,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
}
- Class [ <internal:solr> abstract class SolrParams implements Serializable ] {
+ Class [ <internal:solr> abstract class SolrParams implements Stringable, Serializable ] {
- Constants [0] {
}
@@ -784,10 +828,10 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
- Properties [1] {
- Property [ <default> protected $_hashtable_index ]
+ Property [ protected $_hashtable_index = 0 ]
}
- - Methods [13] {
+ - Methods [15] {
Method [ <internal:solr> public method setParam ] {
- Parameters [2] {
@@ -804,16 +848,17 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
}
- Method [ <internal:solr> public method __toString ] {
+ Method [ <internal:solr, prototype Stringable> public method __toString ] {
- Parameters [0] {
}
+ - Return [ string ]
}
Method [ <internal:solr> public method toString ] {
- Parameters [1] {
- Parameter #0 [ <optional> $url_encode ]
+ Parameter #0 [ <optional> $url_encode = <default> ]
}
}
@@ -837,9 +882,15 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
Method [ <internal:solr> public method __clone ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:solr, prototype Serializable> public method serialize ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:solr, prototype Serializable> public method unserialize ] {
@@ -849,6 +900,19 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
}
+ Method [ <internal:solr> public method __serialize ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:solr> public method __unserialize ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $data ]
+ }
+ }
+
Method [ <internal:solr> public method add ] {
- Parameters [2] {
@@ -874,7 +938,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
}
- Class [ <internal:solr> class SolrModifiableParams extends SolrParams implements Serializable ] {
+ Class [ <internal:solr> class SolrModifiableParams extends SolrParams implements Serializable, Stringable ] {
- Constants [0] {
}
@@ -886,17 +950,17 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
- Properties [1] {
- Property [ <default> protected $_hashtable_index ]
+ Property [ protected $_hashtable_index = 0 ]
}
- - Methods [15] {
+ - Methods [17] {
Method [ <internal:solr, ctor> public method __construct ] {
- Parameters [0] {
}
}
- Method [ <internal:solr, dtor> public method __destruct ] {
+ Method [ <internal:solr> public method __destruct ] {
- Parameters [0] {
}
@@ -918,16 +982,17 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
}
- Method [ <internal:solr, inherits SolrParams> public method __toString ] {
+ Method [ <internal:solr, inherits SolrParams, prototype Stringable> public method __toString ] {
- Parameters [0] {
}
+ - Return [ string ]
}
Method [ <internal:solr, inherits SolrParams> public method toString ] {
- Parameters [1] {
- Parameter #0 [ <optional> $url_encode ]
+ Parameter #0 [ <optional> $url_encode = <default> ]
}
}
@@ -951,9 +1016,15 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
Method [ <internal:solr, inherits SolrParams> public method __clone ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:solr, inherits SolrParams, prototype Serializable> public method serialize ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:solr, inherits SolrParams, prototype Serializable> public method unserialize ] {
@@ -963,6 +1034,19 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
}
+ Method [ <internal:solr, inherits SolrParams> public method __serialize ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:solr, inherits SolrParams> public method __unserialize ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $data ]
+ }
+ }
+
Method [ <internal:solr, inherits SolrParams> public method add ] {
- Parameters [2] {
@@ -988,15 +1072,15 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
}
- Class [ <internal:solr> class SolrQuery extends SolrModifiableParams implements Serializable ] {
+ Class [ <internal:solr> class SolrQuery extends SolrModifiableParams implements Stringable, Serializable ] {
- Constants [6] {
- Constant [ public integer ORDER_ASC ] { 0 }
- Constant [ public integer ORDER_DESC ] { 1 }
- Constant [ public integer FACET_SORT_INDEX ] { 0 }
- Constant [ public integer FACET_SORT_COUNT ] { 1 }
- Constant [ public integer TERMS_SORT_INDEX ] { 0 }
- Constant [ public integer TERMS_SORT_COUNT ] { 1 }
+ Constant [ public int ORDER_ASC ] { 0 }
+ Constant [ public int ORDER_DESC ] { 1 }
+ Constant [ public int FACET_SORT_INDEX ] { 0 }
+ Constant [ public int FACET_SORT_COUNT ] { 1 }
+ Constant [ public int TERMS_SORT_INDEX ] { 0 }
+ Constant [ public int TERMS_SORT_COUNT ] { 1 }
}
- Static properties [0] {
@@ -1006,18 +1090,18 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
- Properties [1] {
- Property [ <default> protected $_hashtable_index ]
+ Property [ protected $_hashtable_index = 0 ]
}
- - Methods [206] {
+ - Methods [210] {
Method [ <internal:solr, overwrites SolrModifiableParams, ctor> public method __construct ] {
- Parameters [1] {
- Parameter #0 [ <optional> $q ]
+ Parameter #0 [ <optional> $q = <default> ]
}
}
- Method [ <internal:solr, overwrites SolrModifiableParams, prototype SolrModifiableParams, dtor> public method __destruct ] {
+ Method [ <internal:solr, overwrites SolrModifiableParams, prototype SolrModifiableParams> public method __destruct ] {
- Parameters [0] {
}
@@ -1086,7 +1170,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $field ]
- Parameter #1 [ <optional> $order ]
+ Parameter #1 [ <optional> $order = <default> ]
}
}
@@ -1228,14 +1312,14 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
Method [ <internal:solr> public method getFacetPrefix ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field_override ]
+ Parameter #0 [ <optional> $field_override = <default> ]
}
}
@@ -1243,14 +1327,14 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
Method [ <internal:solr> public method getFacetSort ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field_override ]
+ Parameter #0 [ <optional> $field_override = <default> ]
}
}
@@ -1258,14 +1342,14 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
Method [ <internal:solr> public method getFacetLimit ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field_override ]
+ Parameter #0 [ <optional> $field_override = <default> ]
}
}
@@ -1273,14 +1357,14 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
Method [ <internal:solr> public method getFacetOffset ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field_override ]
+ Parameter #0 [ <optional> $field_override = <default> ]
}
}
@@ -1288,14 +1372,14 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
Method [ <internal:solr> public method getFacetMinCount ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field_override ]
+ Parameter #0 [ <optional> $field_override = <default> ]
}
}
@@ -1303,14 +1387,14 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
Method [ <internal:solr> public method getFacetMissing ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field_override ]
+ Parameter #0 [ <optional> $field_override = <default> ]
}
}
@@ -1318,14 +1402,14 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
Method [ <internal:solr> public method getFacetMethod ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field_override ]
+ Parameter #0 [ <optional> $field_override = <default> ]
}
}
@@ -1333,7 +1417,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
@@ -1361,14 +1445,14 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
Method [ <internal:solr> public method getFacetDateStart ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field_override ]
+ Parameter #0 [ <optional> $field_override = <default> ]
}
}
@@ -1376,14 +1460,14 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
Method [ <internal:solr> public method getFacetDateEnd ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field_override ]
+ Parameter #0 [ <optional> $field_override = <default> ]
}
}
@@ -1391,14 +1475,14 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
Method [ <internal:solr> public method getFacetDateGap ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field_override ]
+ Parameter #0 [ <optional> $field_override = <default> ]
}
}
@@ -1406,14 +1490,14 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
Method [ <internal:solr> public method getFacetDateHardEnd ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field_override ]
+ Parameter #0 [ <optional> $field_override = <default> ]
}
}
@@ -1421,7 +1505,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
@@ -1429,14 +1513,14 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
Method [ <internal:solr> public method getFacetDateOther ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field_override ]
+ Parameter #0 [ <optional> $field_override = <default> ]
}
}
@@ -1522,7 +1606,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $field ]
- Parameter #1 [ <optional> $order ]
+ Parameter #1 [ <optional> $order = <default> ]
}
}
@@ -1634,7 +1718,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $field ]
- Parameter #1 [ <optional> $order ]
+ Parameter #1 [ <optional> $order = <default> ]
}
}
@@ -1710,6 +1794,19 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
}
+ Method [ <internal:solr> public method setHighlightQuery ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $q ]
+ }
+ }
+
+ Method [ <internal:solr> public method getHighlightQuery ] {
+
+ - Parameters [0] {
+ }
+ }
+
Method [ <internal:solr> public method addHighlightField ] {
- Parameters [1] {
@@ -1734,14 +1831,14 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
Method [ <internal:solr> public method getHighlightSnippets ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field_override ]
+ Parameter #0 [ <optional> $field_override = <default> ]
}
}
@@ -1749,14 +1846,14 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
Method [ <internal:solr> public method getHighlightFragsize ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field_override ]
+ Parameter #0 [ <optional> $field_override = <default> ]
}
}
@@ -1764,14 +1861,14 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
Method [ <internal:solr> public method getHighlightMergeContiguous ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field_override ]
+ Parameter #0 [ <optional> $field_override = <default> ]
}
}
@@ -1805,14 +1902,14 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
Method [ <internal:solr> public method getHighlightAlternateField ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field_override ]
+ Parameter #0 [ <optional> $field_override = <default> ]
}
}
@@ -1820,14 +1917,14 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
Method [ <internal:solr> public method getHighlightMaxAlternateFieldLength ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field_override ]
+ Parameter #0 [ <optional> $field_override = <default> ]
}
}
@@ -1835,14 +1932,14 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
Method [ <internal:solr> public method getHighlightFormatter ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field_override ]
+ Parameter #0 [ <optional> $field_override = <default> ]
}
}
@@ -1850,14 +1947,14 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
Method [ <internal:solr> public method getHighlightSimplePre ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field_override ]
+ Parameter #0 [ <optional> $field_override = <default> ]
}
}
@@ -1865,14 +1962,14 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
Method [ <internal:solr> public method getHighlightSimplePost ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field_override ]
+ Parameter #0 [ <optional> $field_override = <default> ]
}
}
@@ -1880,14 +1977,14 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
Method [ <internal:solr> public method getHighlightFragmenter ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field_override ]
+ Parameter #0 [ <optional> $field_override = <default> ]
}
}
@@ -2339,16 +2436,17 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
}
- Method [ <internal:solr, inherits SolrParams> public method __toString ] {
+ Method [ <internal:solr, inherits SolrParams, prototype Stringable> public method __toString ] {
- Parameters [0] {
}
+ - Return [ string ]
}
Method [ <internal:solr, inherits SolrParams> public method toString ] {
- Parameters [1] {
- Parameter #0 [ <optional> $url_encode ]
+ Parameter #0 [ <optional> $url_encode = <default> ]
}
}
@@ -2372,9 +2470,15 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
Method [ <internal:solr, inherits SolrParams> public method __clone ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:solr, inherits SolrParams, prototype Serializable> public method serialize ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:solr, inherits SolrParams, prototype Serializable> public method unserialize ] {
@@ -2384,6 +2488,19 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
}
+ Method [ <internal:solr, inherits SolrParams> public method __serialize ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:solr, inherits SolrParams> public method __unserialize ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $data ]
+ }
+ }
+
Method [ <internal:solr, inherits SolrParams> public method add ] {
- Parameters [2] {
@@ -2409,7 +2526,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
}
- Class [ <internal:solr> class SolrDisMaxQuery extends SolrQuery implements Serializable ] {
+ Class [ <internal:solr> class SolrDisMaxQuery extends SolrQuery implements Serializable, Stringable ] {
- Constants [0] {
}
@@ -2421,14 +2538,14 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
- Properties [1] {
- Property [ <default> protected $_hashtable_index ]
+ Property [ protected $_hashtable_index = 0 ]
}
- - Methods [233] {
+ - Methods [237] {
Method [ <internal:solr, overwrites SolrQuery, ctor> public method __construct ] {
- Parameters [1] {
- Parameter #0 [ <optional> $q ]
+ Parameter #0 [ <optional> $q = <default> ]
}
}
@@ -2443,7 +2560,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $field ]
- Parameter #1 [ <optional> $boost ]
+ Parameter #1 [ <optional> $boost = <default> ]
}
}
@@ -2459,7 +2576,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [3] {
Parameter #0 [ <required> $field ]
Parameter #1 [ <required> $boost ]
- Parameter #2 [ <optional> $slop ]
+ Parameter #2 [ <optional> $slop = <default> ]
}
}
@@ -2503,7 +2620,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [3] {
Parameter #0 [ <required> $field ]
Parameter #1 [ <required> $value ]
- Parameter #2 [ <optional> $boost ]
+ Parameter #2 [ <optional> $boost = <default> ]
}
}
@@ -2559,7 +2676,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [3] {
Parameter #0 [ <required> $field ]
Parameter #1 [ <required> $boost ]
- Parameter #2 [ <optional> $slop ]
+ Parameter #2 [ <optional> $slop = <default> ]
}
}
@@ -2589,7 +2706,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [3] {
Parameter #0 [ <required> $field ]
Parameter #1 [ <required> $boost ]
- Parameter #2 [ <optional> $slop ]
+ Parameter #2 [ <optional> $slop = <default> ]
}
}
@@ -2628,7 +2745,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
}
- Method [ <internal:solr, inherits SolrQuery, prototype SolrModifiableParams, dtor> public method __destruct ] {
+ Method [ <internal:solr, inherits SolrQuery, prototype SolrModifiableParams> public method __destruct ] {
- Parameters [0] {
}
@@ -2697,7 +2814,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $field ]
- Parameter #1 [ <optional> $order ]
+ Parameter #1 [ <optional> $order = <default> ]
}
}
@@ -2839,14 +2956,14 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
Method [ <internal:solr, inherits SolrQuery> public method getFacetPrefix ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field_override ]
+ Parameter #0 [ <optional> $field_override = <default> ]
}
}
@@ -2854,14 +2971,14 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
Method [ <internal:solr, inherits SolrQuery> public method getFacetSort ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field_override ]
+ Parameter #0 [ <optional> $field_override = <default> ]
}
}
@@ -2869,14 +2986,14 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
Method [ <internal:solr, inherits SolrQuery> public method getFacetLimit ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field_override ]
+ Parameter #0 [ <optional> $field_override = <default> ]
}
}
@@ -2884,14 +3001,14 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
Method [ <internal:solr, inherits SolrQuery> public method getFacetOffset ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field_override ]
+ Parameter #0 [ <optional> $field_override = <default> ]
}
}
@@ -2899,14 +3016,14 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
Method [ <internal:solr, inherits SolrQuery> public method getFacetMinCount ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field_override ]
+ Parameter #0 [ <optional> $field_override = <default> ]
}
}
@@ -2914,14 +3031,14 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
Method [ <internal:solr, inherits SolrQuery> public method getFacetMissing ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field_override ]
+ Parameter #0 [ <optional> $field_override = <default> ]
}
}
@@ -2929,14 +3046,14 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
Method [ <internal:solr, inherits SolrQuery> public method getFacetMethod ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field_override ]
+ Parameter #0 [ <optional> $field_override = <default> ]
}
}
@@ -2944,7 +3061,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
@@ -2972,14 +3089,14 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
Method [ <internal:solr, inherits SolrQuery> public method getFacetDateStart ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field_override ]
+ Parameter #0 [ <optional> $field_override = <default> ]
}
}
@@ -2987,14 +3104,14 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
Method [ <internal:solr, inherits SolrQuery> public method getFacetDateEnd ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field_override ]
+ Parameter #0 [ <optional> $field_override = <default> ]
}
}
@@ -3002,14 +3119,14 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
Method [ <internal:solr, inherits SolrQuery> public method getFacetDateGap ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field_override ]
+ Parameter #0 [ <optional> $field_override = <default> ]
}
}
@@ -3017,14 +3134,14 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
Method [ <internal:solr, inherits SolrQuery> public method getFacetDateHardEnd ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field_override ]
+ Parameter #0 [ <optional> $field_override = <default> ]
}
}
@@ -3032,7 +3149,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
@@ -3040,14 +3157,14 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
Method [ <internal:solr, inherits SolrQuery> public method getFacetDateOther ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field_override ]
+ Parameter #0 [ <optional> $field_override = <default> ]
}
}
@@ -3133,7 +3250,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $field ]
- Parameter #1 [ <optional> $order ]
+ Parameter #1 [ <optional> $order = <default> ]
}
}
@@ -3245,7 +3362,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $field ]
- Parameter #1 [ <optional> $order ]
+ Parameter #1 [ <optional> $order = <default> ]
}
}
@@ -3321,6 +3438,19 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
}
+ Method [ <internal:solr, inherits SolrQuery> public method setHighlightQuery ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $q ]
+ }
+ }
+
+ Method [ <internal:solr, inherits SolrQuery> public method getHighlightQuery ] {
+
+ - Parameters [0] {
+ }
+ }
+
Method [ <internal:solr, inherits SolrQuery> public method addHighlightField ] {
- Parameters [1] {
@@ -3345,14 +3475,14 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
Method [ <internal:solr, inherits SolrQuery> public method getHighlightSnippets ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field_override ]
+ Parameter #0 [ <optional> $field_override = <default> ]
}
}
@@ -3360,14 +3490,14 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
Method [ <internal:solr, inherits SolrQuery> public method getHighlightFragsize ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field_override ]
+ Parameter #0 [ <optional> $field_override = <default> ]
}
}
@@ -3375,14 +3505,14 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
Method [ <internal:solr, inherits SolrQuery> public method getHighlightMergeContiguous ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field_override ]
+ Parameter #0 [ <optional> $field_override = <default> ]
}
}
@@ -3416,14 +3546,14 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
Method [ <internal:solr, inherits SolrQuery> public method getHighlightAlternateField ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field_override ]
+ Parameter #0 [ <optional> $field_override = <default> ]
}
}
@@ -3431,14 +3561,14 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
Method [ <internal:solr, inherits SolrQuery> public method getHighlightMaxAlternateFieldLength ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field_override ]
+ Parameter #0 [ <optional> $field_override = <default> ]
}
}
@@ -3446,14 +3576,14 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
Method [ <internal:solr, inherits SolrQuery> public method getHighlightFormatter ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field_override ]
+ Parameter #0 [ <optional> $field_override = <default> ]
}
}
@@ -3461,14 +3591,14 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
Method [ <internal:solr, inherits SolrQuery> public method getHighlightSimplePre ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field_override ]
+ Parameter #0 [ <optional> $field_override = <default> ]
}
}
@@ -3476,14 +3606,14 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
Method [ <internal:solr, inherits SolrQuery> public method getHighlightSimplePost ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field_override ]
+ Parameter #0 [ <optional> $field_override = <default> ]
}
}
@@ -3491,14 +3621,14 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $value ]
- Parameter #1 [ <optional> $field_override ]
+ Parameter #1 [ <optional> $field_override = <default> ]
}
}
Method [ <internal:solr, inherits SolrQuery> public method getHighlightFragmenter ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field_override ]
+ Parameter #0 [ <optional> $field_override = <default> ]
}
}
@@ -3950,16 +4080,17 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
}
- Method [ <internal:solr, inherits SolrParams> public method __toString ] {
+ Method [ <internal:solr, inherits SolrParams, prototype Stringable> public method __toString ] {
- Parameters [0] {
}
+ - Return [ string ]
}
Method [ <internal:solr, inherits SolrParams> public method toString ] {
- Parameters [1] {
- Parameter #0 [ <optional> $url_encode ]
+ Parameter #0 [ <optional> $url_encode = <default> ]
}
}
@@ -3983,9 +4114,15 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
Method [ <internal:solr, inherits SolrParams> public method __clone ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:solr, inherits SolrParams, prototype Serializable> public method serialize ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:solr, inherits SolrParams, prototype Serializable> public method unserialize ] {
@@ -3995,6 +4132,19 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
}
+ Method [ <internal:solr, inherits SolrParams> public method __serialize ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:solr, inherits SolrParams> public method __unserialize ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> array $data ]
+ }
+ }
+
Method [ <internal:solr, inherits SolrParams> public method add ] {
- Parameters [2] {
@@ -4068,7 +4218,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
- Properties [1] {
- Property [ <default> private $_hashtable_index ]
+ Property [ private $_hashtable_index = 0 ]
}
- Methods [5] {
@@ -4078,7 +4228,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
}
- Method [ <internal:solr, dtor> public method __destruct ] {
+ Method [ <internal:solr> public method __destruct ] {
- Parameters [0] {
}
@@ -4104,7 +4254,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
}
- Class [ <internal:solr> class SolrCollapseFunction ] {
+ Class [ <internal:solr> class SolrCollapseFunction implements Stringable ] {
- Constants [3] {
Constant [ public string NULLPOLICY_IGNORE ] { ignore }
@@ -4119,18 +4269,18 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
- Properties [1] {
- Property [ <default> protected $_hashtable_index ]
+ Property [ protected $_hashtable_index = 0 ]
}
- Methods [17] {
Method [ <internal:solr, ctor> public method __construct ] {
- Parameters [1] {
- Parameter #0 [ <optional> $field ]
+ Parameter #0 [ <optional> $field = <default> ]
}
}
- Method [ <internal:solr, dtor> public method __destruct ] {
+ Method [ <internal:solr> public method __destruct ] {
- Parameters [0] {
}
@@ -4214,10 +4364,11 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
}
- Method [ <internal:solr> public method __toString ] {
+ Method [ <internal:solr, prototype Stringable> public method __toString ] {
- Parameters [0] {
}
+ - Return [ string ]
}
Method [ <internal:solr> public method __sleep ] {
@@ -4237,8 +4388,8 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
Class [ <internal:solr> abstract class SolrResponse ] {
- Constants [2] {
- Constant [ public integer PARSE_SOLR_OBJ ] { 0 }
- Constant [ public integer PARSE_SOLR_DOC ] { 1 }
+ Constant [ public int PARSE_SOLR_OBJ ] { 0 }
+ Constant [ public int PARSE_SOLR_DOC ] { 1 }
}
- Static properties [0] {
@@ -4248,17 +4399,17 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
- Properties [11] {
- Property [ <default> protected $http_status ]
- Property [ <default> protected $parser_mode ]
- Property [ <default> protected $success ]
- Property [ <default> protected $response_writer ]
- Property [ <default> protected $http_status_message ]
- Property [ <default> protected $http_request_url ]
- Property [ <default> protected $http_raw_request_headers ]
- Property [ <default> protected $http_raw_request ]
- Property [ <default> protected $http_raw_response_headers ]
- Property [ <default> protected $http_raw_response ]
- Property [ <default> protected $http_digested_response ]
+ Property [ protected $http_status = 0 ]
+ Property [ protected $parser_mode = 0 ]
+ Property [ protected $success = false ]
+ Property [ protected $response_writer = ' ' ]
+ Property [ protected $http_status_message = ' ' ]
+ Property [ protected $http_request_url = ' ' ]
+ Property [ protected $http_raw_request_headers = ' ' ]
+ Property [ protected $http_raw_request = ' ' ]
+ Property [ protected $http_raw_response_headers = ' ' ]
+ Property [ protected $http_raw_response = ' ' ]
+ Property [ protected $http_digested_response = ' ' ]
}
- Methods [12] {
@@ -4319,7 +4470,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
Method [ <internal:solr> public method setParseMode ] {
- Parameters [1] {
- Parameter #0 [ <optional> $parser_mode ]
+ Parameter #0 [ <optional> $parser_mode = <default> ]
}
}
@@ -4340,8 +4491,8 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
Class [ <internal:solr> final class SolrQueryResponse extends SolrResponse ] {
- Constants [2] {
- Constant [ public integer PARSE_SOLR_OBJ ] { 0 }
- Constant [ public integer PARSE_SOLR_DOC ] { 1 }
+ Constant [ public int PARSE_SOLR_OBJ ] { 0 }
+ Constant [ public int PARSE_SOLR_DOC ] { 1 }
}
- Static properties [0] {
@@ -4351,17 +4502,17 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
- Properties [11] {
- Property [ <default> protected $http_status ]
- Property [ <default> protected $parser_mode ]
- Property [ <default> protected $success ]
- Property [ <default> protected $response_writer ]
- Property [ <default> protected $http_status_message ]
- Property [ <default> protected $http_request_url ]
- Property [ <default> protected $http_raw_request_headers ]
- Property [ <default> protected $http_raw_request ]
- Property [ <default> protected $http_raw_response_headers ]
- Property [ <default> protected $http_raw_response ]
- Property [ <default> protected $http_digested_response ]
+ Property [ protected $http_status = 0 ]
+ Property [ protected $parser_mode = 0 ]
+ Property [ protected $success = false ]
+ Property [ protected $response_writer = ' ' ]
+ Property [ protected $http_status_message = ' ' ]
+ Property [ protected $http_request_url = ' ' ]
+ Property [ protected $http_raw_request_headers = ' ' ]
+ Property [ protected $http_raw_request = ' ' ]
+ Property [ protected $http_raw_response_headers = ' ' ]
+ Property [ protected $http_raw_response = ' ' ]
+ Property [ protected $http_digested_response = ' ' ]
}
- Methods [14] {
@@ -4371,7 +4522,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
}
- Method [ <internal:solr, dtor> public method __destruct ] {
+ Method [ <internal:solr> public method __destruct ] {
- Parameters [0] {
}
@@ -4434,7 +4585,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
Method [ <internal:solr, inherits SolrResponse> public method setParseMode ] {
- Parameters [1] {
- Parameter #0 [ <optional> $parser_mode ]
+ Parameter #0 [ <optional> $parser_mode = <default> ]
}
}
@@ -4455,8 +4606,8 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
Class [ <internal:solr> final class SolrUpdateResponse extends SolrResponse ] {
- Constants [2] {
- Constant [ public integer PARSE_SOLR_OBJ ] { 0 }
- Constant [ public integer PARSE_SOLR_DOC ] { 1 }
+ Constant [ public int PARSE_SOLR_OBJ ] { 0 }
+ Constant [ public int PARSE_SOLR_DOC ] { 1 }
}
- Static properties [0] {
@@ -4466,17 +4617,17 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
- Properties [11] {
- Property [ <default> protected $http_status ]
- Property [ <default> protected $parser_mode ]
- Property [ <default> protected $success ]
- Property [ <default> protected $response_writer ]
- Property [ <default> protected $http_status_message ]
- Property [ <default> protected $http_request_url ]
- Property [ <default> protected $http_raw_request_headers ]
- Property [ <default> protected $http_raw_request ]
- Property [ <default> protected $http_raw_response_headers ]
- Property [ <default> protected $http_raw_response ]
- Property [ <default> protected $http_digested_response ]
+ Property [ protected $http_status = 0 ]
+ Property [ protected $parser_mode = 0 ]
+ Property [ protected $success = false ]
+ Property [ protected $response_writer = ' ' ]
+ Property [ protected $http_status_message = ' ' ]
+ Property [ protected $http_request_url = ' ' ]
+ Property [ protected $http_raw_request_headers = ' ' ]
+ Property [ protected $http_raw_request = ' ' ]
+ Property [ protected $http_raw_response_headers = ' ' ]
+ Property [ protected $http_raw_response = ' ' ]
+ Property [ protected $http_digested_response = ' ' ]
}
- Methods [14] {
@@ -4486,7 +4637,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
}
- Method [ <internal:solr, dtor> public method __destruct ] {
+ Method [ <internal:solr> public method __destruct ] {
- Parameters [0] {
}
@@ -4549,7 +4700,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
Method [ <internal:solr, inherits SolrResponse> public method setParseMode ] {
- Parameters [1] {
- Parameter #0 [ <optional> $parser_mode ]
+ Parameter #0 [ <optional> $parser_mode = <default> ]
}
}
@@ -4570,8 +4721,8 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
Class [ <internal:solr> final class SolrPingResponse extends SolrResponse ] {
- Constants [2] {
- Constant [ public integer PARSE_SOLR_OBJ ] { 0 }
- Constant [ public integer PARSE_SOLR_DOC ] { 1 }
+ Constant [ public int PARSE_SOLR_OBJ ] { 0 }
+ Constant [ public int PARSE_SOLR_DOC ] { 1 }
}
- Static properties [0] {
@@ -4581,17 +4732,17 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
- Properties [11] {
- Property [ <default> protected $http_status ]
- Property [ <default> protected $parser_mode ]
- Property [ <default> protected $success ]
- Property [ <default> protected $response_writer ]
- Property [ <default> protected $http_status_message ]
- Property [ <default> protected $http_request_url ]
- Property [ <default> protected $http_raw_request_headers ]
- Property [ <default> protected $http_raw_request ]
- Property [ <default> protected $http_raw_response_headers ]
- Property [ <default> protected $http_raw_response ]
- Property [ <default> protected $http_digested_response ]
+ Property [ protected $http_status = 0 ]
+ Property [ protected $parser_mode = 0 ]
+ Property [ protected $success = false ]
+ Property [ protected $response_writer = ' ' ]
+ Property [ protected $http_status_message = ' ' ]
+ Property [ protected $http_request_url = ' ' ]
+ Property [ protected $http_raw_request_headers = ' ' ]
+ Property [ protected $http_raw_request = ' ' ]
+ Property [ protected $http_raw_response_headers = ' ' ]
+ Property [ protected $http_raw_response = ' ' ]
+ Property [ protected $http_digested_response = ' ' ]
}
- Methods [14] {
@@ -4601,7 +4752,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
}
- Method [ <internal:solr, dtor> public method __destruct ] {
+ Method [ <internal:solr> public method __destruct ] {
- Parameters [0] {
}
@@ -4670,7 +4821,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
Method [ <internal:solr, inherits SolrResponse> public method setParseMode ] {
- Parameters [1] {
- Parameter #0 [ <optional> $parser_mode ]
+ Parameter #0 [ <optional> $parser_mode = <default> ]
}
}
@@ -4685,8 +4836,8 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
Class [ <internal:solr> final class SolrGenericResponse extends SolrResponse ] {
- Constants [2] {
- Constant [ public integer PARSE_SOLR_OBJ ] { 0 }
- Constant [ public integer PARSE_SOLR_DOC ] { 1 }
+ Constant [ public int PARSE_SOLR_OBJ ] { 0 }
+ Constant [ public int PARSE_SOLR_DOC ] { 1 }
}
- Static properties [0] {
@@ -4696,17 +4847,17 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
- Properties [11] {
- Property [ <default> protected $http_status ]
- Property [ <default> protected $parser_mode ]
- Property [ <default> protected $success ]
- Property [ <default> protected $response_writer ]
- Property [ <default> protected $http_status_message ]
- Property [ <default> protected $http_request_url ]
- Property [ <default> protected $http_raw_request_headers ]
- Property [ <default> protected $http_raw_request ]
- Property [ <default> protected $http_raw_response_headers ]
- Property [ <default> protected $http_raw_response ]
- Property [ <default> protected $http_digested_response ]
+ Property [ protected $http_status = 0 ]
+ Property [ protected $parser_mode = 0 ]
+ Property [ protected $success = false ]
+ Property [ protected $response_writer = ' ' ]
+ Property [ protected $http_status_message = ' ' ]
+ Property [ protected $http_request_url = ' ' ]
+ Property [ protected $http_raw_request_headers = ' ' ]
+ Property [ protected $http_raw_request = ' ' ]
+ Property [ protected $http_raw_response_headers = ' ' ]
+ Property [ protected $http_raw_response = ' ' ]
+ Property [ protected $http_digested_response = ' ' ]
}
- Methods [14] {
@@ -4716,7 +4867,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
}
- Method [ <internal:solr, dtor> public method __destruct ] {
+ Method [ <internal:solr> public method __destruct ] {
- Parameters [0] {
}
@@ -4779,7 +4930,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
Method [ <internal:solr, inherits SolrResponse> public method setParseMode ] {
- Parameters [1] {
- Parameter #0 [ <optional> $parser_mode ]
+ Parameter #0 [ <optional> $parser_mode = <default> ]
}
}
@@ -4824,7 +4975,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
- Parameters [2] {
Parameter #0 [ <required> $xmlresponse ]
- Parameter #1 [ <optional> $parse_mode ]
+ Parameter #1 [ <optional> $parse_mode = <default> ]
}
}
@@ -4855,7 +5006,7 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
}
- Class [ <internal:solr> class SolrException extends Exception implements Throwable ] {
+ Class [ <internal:solr> class SolrException extends Exception implements Throwable, Stringable ] {
- Constants [0] {
}
@@ -4867,13 +5018,13 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
- Properties [7] {
- Property [ <default> protected $message ]
- Property [ <default> protected $code ]
- Property [ <default> protected $file ]
- Property [ <default> protected $line ]
- Property [ <default> protected $sourceline ]
- Property [ <default> protected $sourcefile ]
- Property [ <default> protected $zif_name ]
+ Property [ protected $message = '' ]
+ Property [ protected $code = 0 ]
+ Property [ protected string $file = '' ]
+ Property [ protected int $line = 0 ]
+ Property [ protected $sourceline = 118 ]
+ Property [ protected $sourcefile = '/builddir/build/BUILD/php-pecl-solr2-2.7.0/solr-2.7.0/src/php7/solr_functions_helpers.c' ]
+ Property [ protected $zif_name = 'solr_exception_register_class_properties' ]
}
- Methods [11] {
@@ -4886,42 +5037,77 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {
- Parameters [3] {
- Parameter #0 [ <optional> $message ]
- Parameter #1 [ <optional> $code ]
- Parameter #2 [ <optional> $previous ]
+ Parameter #0 [ <optional> string $message = "" ]
+ Parameter #1 [ <optional> int $code = 0 ]
+ Parameter #2 [ <optional> ?Throwable $previous = null ]
}
}
Method [ <internal:Core, inherits Exception> public method __wakeup ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ void ]
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] {
+
+ - Parameters [0] {
+ }
+ - Return [ ?Throwable ]
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
}
- Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] {
+ Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
}
}
}
- Class [ <internal:solr> class SolrIllegalOperationException extends SolrException implements Throwable ] {
+ Class [ <internal:solr> class SolrIllegalOperationException extends SolrException implements Stringable, Throwable ] {
- Constants [0] {
}
@@ -4933,13 +5119,13 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
- Properties [7] {
- Property [ <default> protected $message ]
- Property [ <default> protected $code ]
- Property [ <default> protected $file ]
- Property [ <default> protected $line ]
- Property [ <default> protected $sourceline ]
- Property [ <default> protected $sourcefile ]
- Property [ <default> protected $zif_name ]
+ Property [ protected $message = '' ]
+ Property [ protected $code = 0 ]
+ Property [ protected string $file = '' ]
+ Property [ protected int $line = 0 ]
+ Property [ protected $sourceline = 118 ]
+ Property [ protected $sourcefile = '/builddir/build/BUILD/php-pecl-solr2-2.7.0/solr-2.7.0/src/php7/solr_functions_helpers.c' ]
+ Property [ protected $zif_name = 'solr_exception_register_class_properties' ]
}
- Methods [11] {
@@ -4952,42 +5138,77 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {
- Parameters [3] {
- Parameter #0 [ <optional> $message ]
- Parameter #1 [ <optional> $code ]
- Parameter #2 [ <optional> $previous ]
+ Parameter #0 [ <optional> string $message = "" ]
+ Parameter #1 [ <optional> int $code = 0 ]
+ Parameter #2 [ <optional> ?Throwable $previous = null ]
}
}
Method [ <internal:Core, inherits Exception> public method __wakeup ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ void ]
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] {
+
+ - Parameters [0] {
+ }
+ - Return [ ?Throwable ]
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
}
- Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] {
+ Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
}
}
}
- Class [ <internal:solr> class SolrIllegalArgumentException extends SolrException implements Throwable ] {
+ Class [ <internal:solr> class SolrIllegalArgumentException extends SolrException implements Stringable, Throwable ] {
- Constants [0] {
}
@@ -4999,13 +5220,13 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
- Properties [7] {
- Property [ <default> protected $message ]
- Property [ <default> protected $code ]
- Property [ <default> protected $file ]
- Property [ <default> protected $line ]
- Property [ <default> protected $sourceline ]
- Property [ <default> protected $sourcefile ]
- Property [ <default> protected $zif_name ]
+ Property [ protected $message = '' ]
+ Property [ protected $code = 0 ]
+ Property [ protected string $file = '' ]
+ Property [ protected int $line = 0 ]
+ Property [ protected $sourceline = 118 ]
+ Property [ protected $sourcefile = '/builddir/build/BUILD/php-pecl-solr2-2.7.0/solr-2.7.0/src/php7/solr_functions_helpers.c' ]
+ Property [ protected $zif_name = 'solr_exception_register_class_properties' ]
}
- Methods [11] {
@@ -5018,42 +5239,77 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {
- Parameters [3] {
- Parameter #0 [ <optional> $message ]
- Parameter #1 [ <optional> $code ]
- Parameter #2 [ <optional> $previous ]
+ Parameter #0 [ <optional> string $message = "" ]
+ Parameter #1 [ <optional> int $code = 0 ]
+ Parameter #2 [ <optional> ?Throwable $previous = null ]
}
}
Method [ <internal:Core, inherits Exception> public method __wakeup ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ void ]
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] {
+
+ - Parameters [0] {
+ }
+ - Return [ ?Throwable ]
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
}
- Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] {
+ Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
}
}
}
- Class [ <internal:solr> class SolrClientException extends SolrException implements Throwable ] {
+ Class [ <internal:solr> class SolrClientException extends SolrException implements Stringable, Throwable ] {
- Constants [0] {
}
@@ -5065,13 +5321,13 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
- Properties [7] {
- Property [ <default> protected $message ]
- Property [ <default> protected $code ]
- Property [ <default> protected $file ]
- Property [ <default> protected $line ]
- Property [ <default> protected $sourceline ]
- Property [ <default> protected $sourcefile ]
- Property [ <default> protected $zif_name ]
+ Property [ protected $message = '' ]
+ Property [ protected $code = 0 ]
+ Property [ protected string $file = '' ]
+ Property [ protected int $line = 0 ]
+ Property [ protected $sourceline = 118 ]
+ Property [ protected $sourcefile = '/builddir/build/BUILD/php-pecl-solr2-2.7.0/solr-2.7.0/src/php7/solr_functions_helpers.c' ]
+ Property [ protected $zif_name = 'solr_exception_register_class_properties' ]
}
- Methods [11] {
@@ -5084,42 +5340,77 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {
- Parameters [3] {
- Parameter #0 [ <optional> $message ]
- Parameter #1 [ <optional> $code ]
- Parameter #2 [ <optional> $previous ]
+ Parameter #0 [ <optional> string $message = "" ]
+ Parameter #1 [ <optional> int $code = 0 ]
+ Parameter #2 [ <optional> ?Throwable $previous = null ]
}
}
Method [ <internal:Core, inherits Exception> public method __wakeup ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ void ]
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] {
+
+ - Parameters [0] {
+ }
+ - Return [ ?Throwable ]
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
}
- Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] {
+ Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
}
}
}
- Class [ <internal:solr> class SolrServerException extends SolrException implements Throwable ] {
+ Class [ <internal:solr> class SolrServerException extends SolrException implements Stringable, Throwable ] {
- Constants [0] {
}
@@ -5131,13 +5422,13 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
- Properties [7] {
- Property [ <default> protected $message ]
- Property [ <default> protected $code ]
- Property [ <default> protected $file ]
- Property [ <default> protected $line ]
- Property [ <default> protected $sourceline ]
- Property [ <default> protected $sourcefile ]
- Property [ <default> protected $zif_name ]
+ Property [ protected $message = '' ]
+ Property [ protected $code = 0 ]
+ Property [ protected string $file = '' ]
+ Property [ protected int $line = 0 ]
+ Property [ protected $sourceline = 118 ]
+ Property [ protected $sourcefile = '/builddir/build/BUILD/php-pecl-solr2-2.7.0/solr-2.7.0/src/php7/solr_functions_helpers.c' ]
+ Property [ protected $zif_name = 'solr_exception_register_class_properties' ]
}
- Methods [11] {
@@ -5150,42 +5441,77 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {
- Parameters [3] {
- Parameter #0 [ <optional> $message ]
- Parameter #1 [ <optional> $code ]
- Parameter #2 [ <optional> $previous ]
+ Parameter #0 [ <optional> string $message = "" ]
+ Parameter #1 [ <optional> int $code = 0 ]
+ Parameter #2 [ <optional> ?Throwable $previous = null ]
}
}
Method [ <internal:Core, inherits Exception> public method __wakeup ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ void ]
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] {
+
+ - Parameters [0] {
+ }
+ - Return [ ?Throwable ]
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
}
- Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] {
+ Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
}
}
}
- Class [ <internal:solr> class SolrMissingMandatoryParameterException extends SolrException implements Throwable ] {
+ Class [ <internal:solr> class SolrMissingMandatoryParameterException extends SolrException implements Stringable, Throwable ] {
- Constants [0] {
}
@@ -5197,13 +5523,13 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
}
- Properties [7] {
- Property [ <default> protected $message ]
- Property [ <default> protected $code ]
- Property [ <default> protected $file ]
- Property [ <default> protected $line ]
- Property [ <default> protected $sourceline ]
- Property [ <default> protected $sourcefile ]
- Property [ <default> protected $zif_name ]
+ Property [ protected $message = '' ]
+ Property [ protected $code = 0 ]
+ Property [ protected string $file = '' ]
+ Property [ protected int $line = 0 ]
+ Property [ protected $sourceline = 118 ]
+ Property [ protected $sourcefile = '/builddir/build/BUILD/php-pecl-solr2-2.7.0/solr-2.7.0/src/php7/solr_functions_helpers.c' ]
+ Property [ protected $zif_name = 'solr_exception_register_class_properties' ]
}
- Methods [11] {
@@ -5216,37 +5542,72 @@ Extension [ <persistent> extension #197 solr version 2.5.0 ] {
Method [ <internal:Core, inherits Exception, ctor> public method __construct ] {
- Parameters [3] {
- Parameter #0 [ <optional> $message ]
- Parameter #1 [ <optional> $code ]
- Parameter #2 [ <optional> $previous ]
+ Parameter #0 [ <optional> string $message = "" ]
+ Parameter #1 [ <optional> int $code = 0 ]
+ Parameter #2 [ <optional> ?Throwable $previous = null ]
}
}
Method [ <internal:Core, inherits Exception> public method __wakeup ] {
+
+ - Parameters [0] {
+ }
+ - Tentative return [ void ]
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] {
+
+ - Parameters [0] {
+ }
+ - Return [ int ]
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] {
+
+ - Parameters [0] {
+ }
+ - Return [ ?Throwable ]
}
Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
}
- Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] {
+ Method [ <internal:Core, inherits Exception, prototype Stringable> public method __toString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
}
}
}
diff --git a/php-pecl-solr2.spec b/php-pecl-solr2.spec
index b8566d9..8270554 100644
--- a/php-pecl-solr2.spec
+++ b/php-pecl-solr2.spec
@@ -3,41 +3,44 @@
#
# Fedora spec file for php-pecl-solr2
#
-# Copyright (c) 2011-2019 Remi Collet
+# Copyright (c) 2011-2024 Remi Collet
# Copyright (c) 2010 Johan Cwiklinski
-# License: CC-BY-SA
+# License: CC-BY-SA-4.0
# http://creativecommons.org/licenses/by-sa/4.0/
#
# Please, preserve the changelog entries
#
-%if 0%{?scl:1}
-%scl_package php-pecl-solr2
-%global sub_prefix %{scl_prefix}
-%endif
+%{?scl:%scl_package php-pecl-solr2}
-%global pecl_name solr
-#global prever b
-%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
+%global pecl_name solr
+#global prever b
+%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
# After 20-curl, 40-json
-%global ini_name 50-%{pecl_name}.ini
-# For full test (using localhost server) use --with tests
-# retrieve: docker pull omars/solr53
-# create: docker run -d -p 8983:8983 --name solr5 -t omars/solr53
-# cleanup: docker stop solr5 && docker rm solr5
-%global with_tests 0%{?_with_tests:1}
+%global ini_name 50-%{pecl_name}.ini
+%global sources %{pecl_name}-%{version}%{?prever}
+%global _configure ../%{sources}/configure
+
+# For full test (using localhost server) use --with fulltests
+# retrieve: podman pull docker.io/omars/solr53
+# create: podman run -d -p 8983:8983 --name solr5 -t omars/solr53
+# cleanup: podman kill solr5 && podman stop solr5 && podman rm solr5
+%bcond_without tests
+%bcond_with fulltests
Summary: Object oriented API to Apache Solr
Summary(fr): API orientée objet pour Apache Solr
-Name: %{?sub_prefix}php-pecl-solr2
-Version: 2.5.0
-Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
-License: PHP
+Name: %{?scl_prefix}php-pecl-solr2
+Version: 2.7.0
+Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+License: PHP-3.01
Group: Development/Languages
-URL: http://pecl.php.net/package/solr
+URL: https://pecl.php.net/package/solr
-Source0: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz
+Source0: https://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz
-BuildRequires: %{?scl_prefix}php-devel > 7
+BuildRequires: make
+BuildRequires: %{?dtsprefix}gcc
+BuildRequires: %{?scl_prefix}php-devel >= 7.4
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: %{?scl_prefix}php-curl
BuildRequires: %{?scl_prefix}php-json
@@ -49,7 +52,6 @@ Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api}
Requires: %{?scl_prefix}php(api) = %{php_core_api}
Requires: %{?scl_prefix}php-curl%{?_isa}
Requires: %{?scl_prefix}php-json%{?_isa}
-%{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}}
Provides: %{?scl_prefix}php-%{pecl_name} = %{version}
Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version}
@@ -57,46 +59,9 @@ Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version}
Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{release}
Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release}
-%if "%{?scl_prefix}" != "%{?sub_prefix}"
-Provides: %{?scl_prefix}php-pecl-%{pecl_name}2 = %{version}-%{release}
-Provides: %{?scl_prefix}php-pecl-%{pecl_name}2%{?_isa} = %{version}-%{release}
-%endif
-Obsoletes: %{?sub_prefix}php-pecl-%{pecl_name} < 2
-Provides: %{?sub_prefix}php-pecl-%{pecl_name} = %{version}-%{release}
-Provides: %{?sub_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release}
-
-%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
-%if "%{php_version}" > "7.1"
-Obsoletes: php71u-pecl-%{pecl_name} <= %{version}
-Obsoletes: php71w-pecl-%{pecl_name} <= %{version}
-Obsoletes: php71u-pecl-%{pecl_name}2 <= %{version}
-Obsoletes: php71w-pecl-%{pecl_name}2 <= %{version}
-%endif
-%if "%{php_version}" > "7.2"
-Obsoletes: php72u-pecl-%{pecl_name} <= %{version}
-Obsoletes: php72w-pecl-%{pecl_name} <= %{version}
-Obsoletes: php72u-pecl-%{pecl_name}2 <= %{version}
-Obsoletes: php72w-pecl-%{pecl_name}2 <= %{version}
-%endif
-%if "%{php_version}" > "7.3"
-Obsoletes: php73-pecl-%{pecl_name} <= %{version}
-Obsoletes: php73w-pecl-%{pecl_name} <= %{version}
-Obsoletes: php73-pecl-%{pecl_name}2 <= %{version}
-Obsoletes: php73w-pecl-%{pecl_name}2 <= %{version}
-%endif
-%if "%{php_version}" > "7.4"
-Obsoletes: php74-pecl-%{pecl_name} <= %{version}
-Obsoletes: php74w-pecl-%{pecl_name} <= %{version}
-Obsoletes: php74-pecl-%{pecl_name}2 <= %{version}
-Obsoletes: php74w-pecl-%{pecl_name}2 <= %{version}
-%endif
-%endif
-
-%if 0%{?fedora} < 20 && 0%{?rhel} < 7
-# Filter shared private
-%{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so$}
-%{?filter_setup}
-%endif
+Obsoletes: %{?scl_prefix}php-pecl-%{pecl_name} < 2
+Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{release}
+Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release}
%description
@@ -130,11 +95,9 @@ sed -e 's/role="test"/role="src"/' \
%{?_licensedir:-e '/LICENSE/s/role="doc"/role="src"/' } \
-i package.xml
-mv %{pecl_name}-%{version}%{?prever} NTS
-
-cd NTS
-# Check version
-DIR=src/php$(%{__php} -r 'echo PHP_MAJOR_VERSION;')
+cd %{sources}
+: Check version
+DIR=src/php7
extver=$(sed -n '/#define PHP_SOLR_VERSION /{s/.* "//;s/".*$//;p}' $DIR/php_solr_version.h)
if test "x${extver}" != "x%{version}%{?prever}"; then
: Error: Upstream version is ${extver}, expecting %{version}%{?prever}.
@@ -149,23 +112,29 @@ cat > %{ini_name} << 'EOF'
extension=%{pecl_name}.so
EOF
+mkdir NTS
%if %{with_zts}
-cp -r NTS ZTS
+mkdir ZTS
%endif
%build
%{?dtsenable}
-cd NTS
-%{_bindir}/phpize
-%configure --with-php-config=%{_bindir}/php-config
+cd %{sources}
+%{__phpize}
+
+cd ../NTS
+%configure \
+ --with-libdir=%{_lib} \
+ --with-php-config=%{__phpconfig}
make %{?_smp_mflags}
%if %{with_zts}
cd ../ZTS
-%{_bindir}/zts-phpize
-%configure --with-php-config=%{_bindir}/zts-php-config
+%configure \
+ --with-libdir=%{_lib} \
+ --with-php-config=%{__ztsphpconfig}
make %{?_smp_mflags}
%endif
@@ -189,7 +158,7 @@ install -D -m 644 %{ini_name} %{buildroot}%{php_ztsinidir}/%{ini_name}
# Documentation
for i in $(grep 'role="doc"' package.xml | sed -e 's/^.*name="//;s/".*$//')
-do install -Dpm 644 NTS/$i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i
+do install -Dpm 644 %{sources}/$i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i
done
@@ -214,52 +183,49 @@ fi
%check
-%if %{with_tests}
-sed -e '/SOLR_SERVER_CONFIGURED/s/false/true/' \
- -e '/SOLR_SERVER_HOSTNAME/s/solr.test/localhost/' \
- -i ?TS/tests/test.config.inc
+cd %{sources}
+%if %{with fulltests}
+export SOLR_SERVER_CONFIGURED=1
%else
-sed -e '/SOLR_SERVER_CONFIGURED/s/true/false/' \
- -i ?TS/tests/test.config.inc
+export SOLR_SERVER_CONFIGURED=0
%endif
+
+OPT="-n"
+[ -f %{php_extdir}/curl.so ] && OPT="$OPT -d extension=curl.so"
+[ -f %{php_extdir}/json.so ] && OPT="$OPT -d extension=json.so"
+
: Minimal load test for NTS installed extension
-%{__php} \
- -n \
- -d extension=curl.so \
- -d extension=json.so \
+%{__php} $OPT \
-d extension=%{buildroot}%{php_extdir}/%{pecl_name}.so \
- -m | grep %{pecl_name}
+ -m | grep '^%{pecl_name}$'
+%if %{with tests}
: Upstream test suite for NTS extension
-cd NTS
-TEST_PHP_ARGS="-n -d extension=curl.so -d extension=json.so -d extension=%{buildroot}%{php_extdir}/%{pecl_name}.so" \
-REPORT_EXIT_STATUS=1 \
-NO_INTERACTION=1 \
TEST_PHP_EXECUTABLE=%{__php} \
-%{__php} -n run-tests.php --show-diff
+TEST_PHP_ARGS="$OPT -d extension=%{buildroot}%{php_extdir}/%{pecl_name}.so" \
+REPORT_EXIT_STATUS=1 \
+%{__php} -n run-tests.php -q --show-diff
+%endif
%if %{with_zts}
: Minimal load test for ZTS installed extension
-%{__ztsphp} \
- -n \
- -d extension=curl.so \
- -d extension=json.so \
+%{__ztsphp} $OPT \
-d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so \
- -m | grep %{pecl_name}
+ -m | grep '^%{pecl_name}$'
+%if %{with tests}
: Upstream test suite for ZTS extension
-cd ../ZTS
-TEST_PHP_ARGS="-n -d extension=curl.so -d extension=json.so -d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so" \
-REPORT_EXIT_STATUS=1 \
-NO_INTERACTION=1 \
TEST_PHP_EXECUTABLE=%{__ztsphp} \
-%{__ztsphp} -n run-tests.php --show-diff
+TEST_PHP_ARGS="$OPT -d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so" \
+REPORT_EXIT_STATUS=1 \
+%{__ztsphp} -n run-tests.php -q --show-diff
+%endif
%endif
%files
-%{?_licensedir:%license NTS/LICENSE}
+%{?_licensedir:%license %{sources}/LICENSE}
%doc %{pecl_docdir}/%{pecl_name}
%{pecl_xmldir}/%{name}.xml
@@ -273,6 +239,60 @@ TEST_PHP_EXECUTABLE=%{__ztsphp} \
%changelog
+* Fri Jan 12 2024 Remi Collet <remi@remirepo.net> - 2.7.0-1
+- update to 2.7.0
+
+* Thu Jan 11 2024 Remi Collet <remi@remirepo.net> - 2.7.0-0.3
+- another final test build for upcoming 2.7.0
+
+* Thu Jan 11 2024 Remi Collet <remi@remirepo.net> - 2.7.0-0.2
+- test build for https://github.com/php/pecl-search_engine-solr/pull/69
+
+* Thu Jan 11 2024 Remi Collet <remi@remirepo.net> - 2.7.0-0.1
+- final test build for upcoming 2.7.0
+
+* Thu Jan 11 2024 Remi Collet <remi@remirepo.net> - 2.7.0-0
+- test build for upcoming 2.7.0
+
+* Wed Aug 30 2023 Remi Collet <remi@remirepo.net> - 2.6.0-3
+- rebuild for PHP 8.3.0RC1
+
+* Wed Jul 19 2023 Remi Collet <remi@remirepo.net> - 2.6.0-2
+- build out of sources tree
+
+* Wed Nov 9 2022 Remi Collet <remi@remirepo.net> - 2.6.0-1
+- update to 2.6.0
+- drop patch merged upstream
+
+* Wed Nov 9 2022 Remi Collet <remi@remirepo.net> - 2.6.0-0
+- test build for upcoming 2.6.0
+- refresh fix from PHP 8.2 from
+ https://github.com/php/pecl-search_engine-solr/pull/39
+
+* Fri Sep 9 2022 Remi Collet <remi@remirepo.net> - 2.5.1-5
+- add fix from PHP 8.2 from
+ https://github.com/php/pecl-search_engine-solr/pull/39
+
+* Thu Mar 17 2022 Remi Collet <remi@remirepo.net> - 2.5.1-4
+- add upstream to fix deprecation on return type
+- fix compatiblity with older PHP verison from
+ https://github.com/php/pecl-search_engine-solr/pull/32
+
+* Thu Mar 17 2022 Remi Collet <remi@remirepo.net> - 2.5.1-3
+- build for PHP 8.1 ignoring deprecation
+
+* Wed Sep 30 2020 Remi Collet <remi@remirepo.net> - 2.5.1-2
+- rebuild for PHP 8.0.0RC1
+
+* Wed Sep 9 2020 Remi Collet <remi@remirepo.net> - 2.5.1-1
+- update to 2.5.1
+
+* Wed Sep 9 2020 Remi Collet <remi@remirepo.net> - 2.5.1-0
+- test build for upcoming 2.5.1
+
+* Tue Sep 03 2019 Remi Collet <remi@remirepo.net> - 2.5.0-3
+- rebuild for 7.4.0RC1
+
* Tue Jul 23 2019 Remi Collet <remi@remirepo.net> - 2.5.0-2
- rebuild for 7.4.0beta1