Lines Matching refs:now

140 * Changed `Elastica\Exception\JSONParseException` inheritance, it now extends `\JsonException` instead of `\RuntimeException` [#1949](https://github.com/ruflin/Elastica/pull/1949)
264 * The `Wildcard` Query's constructor now requires the `name` and `value` properties.
265 * The `Terms` Query's constructor now requires the `field` and `terms` properties.
279 * Changed `Terms::setTerms()` signature: it now accepts a list of strings only [#1765](https://github.com/ruflin/Elastica/pull/1765)
280 * Changed `Terms::setTermsLookup()` signature: `index`, `path` and `id` are now required arguments [#1765](https://github.com/ruflin/Elastica/pull/1765)
288 * Scroll is now throwing an exception when calling `current()` on an invalid iteration: always call `valid()` before
324 * The `\Elastica\Query\GeoPolygon::count()` method now returns the count of points passed to the filter [#1696](https://github.com/ruflin/Elastica/pull/1696)
346 * The `\Elastica\Query::$_suggest` property has been renamed to `$hasSuggest` and is now private, it should not be used from extending classes [#1679](https://github.com/ruflin/Elastica/pull/1679)
365 * hits.total is now an object in the search response [hits.total](https://www.elastic.co/guide/en/elasticsearch/reference/master/breaking-changes-7.0.html#_literal_hits_total_literal_is_now_an_object_in_the_search_response)
369 * Elastica\Client `$_config` field is now a `ClientConfiguration` instead of an array
499 - Removed CrossIndex Class as from now use Reindex. [#1411](https://github.com/ruflin/Elastica/pull/1411)
520 - in order to delete an index you should not delete by its alias now you should delete using the [concrete index name](https://github.com/elastic/elasticsearch/blob/6.0/core/src/test/java/org/elasticsearch/aliases/IndexAliasesIT.java#L445) [#1348](https://github.com/ruflin/Elastica/pull/1348)
553 - In PHP 7.2 count() now raises a warning when an invalid parameter is passed. Only arrays and objects implementing the Countable interface should be passed. [#1378](https://github.com/ruflin/Elastica/pull/1378)
603 The getters now return the right bool value for whichever string representation is used like 'true', '1', 'on', 'yes'. [#1251](https://github.com/ruflin/Elastica/pull/1251)
624 - Deprecated `\Elastica\Exception\ElasticsearchException` which is irrelevant since Elasticsearch now exposes the errors as a structured array instead of a single string.
626 - Deprecated both `prefix_len` & `min_word_len` fields in `Elastica\Suggest\CandidateGenerator\DirectGenerator` as these now return errors when using the phrase suggester to querying terms.
651 - Date math in index names is now escaped in URI
672 - Updated Elastica\Test\Suggest\CompletionTest now payload and output are removed
749 - Updated some Script function to use groovy as now default scripting is painless
768 - Query builder is now compatible with Elasticsearch 2.X
776 - Elastica\Client constructor now accepts a transport of fully qualified name. [#1169](https://github.com/ruflin/Elastica/pull/1169)
820 - Properties on \Elastica\ResultSet _totalHits, _maxScore, _took and _timedOut that were originally set on object construction are now accessed by the getters on the ResultSet. [#1065](https://github.com/ruflin/Elastica/pull/1065)
831 - Elastica\Client constructor now accepts a LoggerInterface and will log both successful and failed requests. [#1069](https://github.com/ruflin/Elastica/pull/1069)
850 - `Elastica\Query\MoreLikeThis->toArray()` now supports providing a non-indexed document as an input to perform the comparison.
889 - Elastica\Query\MultiMatch::setFuzziness now supports being set to `AUTO` with the const `MultiMatch::FUZZINESS_AUTO`
890 - Elastica\Type\Mapping::send now accepts query string parameters to send along with the mapping request
906 - Elastica\AbstractUpdateAction::setPercolate now throw DeprecatedException, user Percolator instead
907 - Elastica\AbstractUpdateAction::getPercolate now throw DeprecatedException, user Percolator instead
908 - Elastica\AbstractUpdateAction::hasPercolate now throw DeprecatedException, user Percolator instead
909 - Elastica\Type::delete now throw DeprecatedException, it is no longer possible to delete the mapping for a type. Instead you should delete the index and recreate it with the new mappings
911 - Elastica\Document, methods: setScript, getScript, hasScript now throw DeprecatedException.
912 - MoreLikeThis, methods: setLikeText, setIds, setPercentTermsToMatch now throw DeprecatedException.
913 - Elastica\Aggregation\DateHistogram, methods: setPreZone, setPostZone, setPreZoneAdjustLargeInterval, setPreOffset, setPostOffset now throw DeprecatedException.
926 All is based on docker containers now
928 - Elastica\Reponse::getError() now returns and array instead of a string
933 - DeleteByQuery now requires the delete-by-query plugin isntalled
941 - Elastica\Reponse::getErrorMessage was added as getError is now an object
944 - Connection option to convert JSON bigint results to strings can now be set [#717](https://github.com/ruflin/Elastica/issues/717)
1005 - Elastica\QueryBuilder now uses Elastica\QueryBuilder\Version\Latest as default version to avoid empty version classes. [#897](https://github.com/ruflin/Elastica/pull/897)
1007 - Local dev environment was refactored to fully work in docker environment. Running tests is now only one command: `make tests` [#901](https://github.com/ruflin/Elastica/pull/901)
1026 - `CallbackStrategy` now will accept any `callable` as callback, not only instance of `Closure`. [#871](https://github.com/ruflin/Elastica/pull/871)
1027 - `StrategyFactory` now will try to find predefined strategy before looking to global namespace. [#877](https://github.com/ruflin/Elastica/pull/877)
1030 - Methods of classes in `QueryBuilder\DSL` namespace now have exact same signatures as corresponding constructors. [#878](https://github.com/ruflin/Elastica/pull/878)
1031 - Constructor of `Aggregation\Filter` now accepts filter as second parameter [#878](https://github.com/ruflin/Elastica/pull/878)
1032 - Constructor of `Filter\AbstractMulti` (`BoolAnd`, `BooldOr`) now accepts array of filters as parameter [#878](https://github.com/ruflin/Elastica/pull/878)
1033 - Constructor of `Query\Match` now accepts arguments [#878](https://github.com/ruflin/Elastica/pull/878)
1061 - `Elastica\ScanAndScroll::$_lastScrollId` removed: `key()` now always returns the next scroll id [#842](https://github.com/ruflin/Elastica/issues/842/)
1133 - Exception\ElasticsearchException now can be catched like all other exceptions as Exception\ExceptionInterface [#762](https://github.com/ruflin/Elastica/issues/762/)
1158 - Filter\HasChild::setType, Filter\HasParent::setType now support Type instance as argument
1159 - Filter\Indices::setIndices, Filter\Indices::addIndex now support Index instance as argument
1381 - Enable goecluster-facet again as now compatible with elasticsearch 1.0 on travis
1477 - Document::setDocAsUpsert() now returns the Document
1576 - Nested filter supports now the setFilter method
1607 - Can now create a query by passing an array to Type::search()
1613 - Revamped upsert so that Scripts are now first class citizens. (BC break)
1648 - Elastica\Client::_configureParams() changed to _prepareConnectionParams(), which now takes the config array as an argument
1683 - All Exceptions now implement Elastica\Exception\ExceptionInterface
1686 - Query\Fuzzy to comply with DSL spec. Multi-field queries now throw an exception. Implemented: Query\Fuzzy::setField, Query\Fuzzy::setFieldOption.
1704 - The transport instances now has support for parameters that can be injected by specifying an array as a transport when creating the Elastica client
1737 - All tests now inherit from Elastica\Test\Base
1742 - Elastica_Type::updateDocument() now takes Elastica_Document instead of Elastica_Script (BC break). Script can be set to document to perform script update.
1745 - Elastica_Client config param "servers" to "connections" renamed. "headers" and "curl" are now a config param inside "connections"
1783 - Elastica_Query::setScriptFields now takes Elastica_ScriptFields or associative array as argument, the old implementation was bogus.
1847 - Rename Elastica_Type::getType() to Elastica_Type::getName(), getType() is now deprecated
1978 - Refactor client constructor. Elastica_Client::__construct(array $config) now takes a config array instead of host and port
2000 - Count has now optional query parametere
2003 - Renaming of functions in Elastica_Query_Terms and Ela-stica_Query_Filter to fit new naming convention. setTerms, addTerm have different API now!
2011 - setRawArguments in Elastica_Query is now setParam
2032 - getResponse in Elastica_Response renamed to getData. getResponse now deprecated