diff --git a/changes.txt b/changes.txt index b35d8ece67..a79aabebb2 100644 --- a/changes.txt +++ b/changes.txt @@ -149,7 +149,7 @@ CHANGES - Prepare Elastica Release v1.3.0.0 2014-07-25 -- Update to elasticsearch version 1.3.0 http://www.elasticsearch.org/downloads/1-3-0/ +- Update to elasticsearch version 1.3.0 https://www.elastic.co/downloads/past-releases/1-3-0 2014-07-14 - Add setQuery() method to Elastica\Query\ConstantScore #653 @@ -161,14 +161,14 @@ CHANGES - Fix FunstionScore Query random_score without seed bug. #647 2014-07-02 -- Add setPostFilter method to Elastica\Query (http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/_filtering_queries_and_aggregations.html#_post_filter) #645 +- Add setPostFilter method to Elastica\Query (http://www.elastic.co/guide/en/elasticsearch/guide/current/_post_filter.html) #645 2014-06-30 -- Add Reverse Nested aggregation (http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-bucket-reverse-nested-aggregation.html). #642 +- Add Reverse Nested aggregation (http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-reverse-nested-aggregation.html). #642 2014-06-14 - Release v1.2.1.0 -- Removed the requirement to set arguments filter and/or query in Filtered, according to the documentation: http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-filtered-query.html #616 +- Removed the requirement to set arguments filter and/or query in Filtered, according to the documentation: http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-filtered-query.html #616 2014-06-13 - Stop ClientTest->testDeleteIdsIdxStringTypeString from failing 1/3 of the time #634 @@ -182,7 +182,7 @@ CHANGES - Update travis to elasticsearch 1.2.1, disable Thrift plugin as not compatible and fix incompatible tests 2014-06-04 -- Implement Boosting Query (http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-boosting-query.html) #625 +- Implement Boosting Query (http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-boosting-query.html) #625 2014-06-02 - add retry_on_conflict support to bulk #623 @@ -195,7 +195,7 @@ CHANGES 2014-05-25 - Added Guzzle transport as an alternative to the default Http transport #618 -- Added Elastica\ScanAndScroll Iterator (http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/scan-scroll.html) #617 +- Added Elastica\ScanAndScroll Iterator (http://www.elastic.co/guide/en/elasticsearch/guide/current/scan-scroll.html) #617 2014-05-13 - Add JSON compat library; Elasticsearch JSON flags and nicer error handling #614 @@ -237,7 +237,7 @@ CHANGES 2014-04-19 - Release v1.1.1.0 -- Update to elasticsearch 1.1.1 http://www.elasticsearch.org/downloads/1-1-1/ +- Update to elasticsearch 1.1.1 https://www.elastic.co/downloads/past-releases/1-1-1 - Remove CustomFiltersScore and CustomScore query as removed in elasticsearch 1.1.0 https://github.com/elasticsearch/elasticsearch/pull/5076/files - Update Node Info to use plugins instead of plugin (https://github.com/elasticsearch/elasticsearch/pull/5072) - Fix mapping issue for aliases #588 @@ -252,7 +252,7 @@ CHANGES - Support for Terms filter lookup options #579 2014-03-29 -- Update to elasticsearch 1.1.0 http://www.elasticsearch.org/downloads/1-1-0/ +- Update to elasticsearch 1.1.0 https://www.elastic.co/downloads/past-releases/1-1-0 2014-03-26 - Fixed Query\Match Fuzziness parameter type #576 @@ -324,7 +324,7 @@ CHANGES 2014-02-12 - Release v1.0.0.0 -- Updated to elasticsearch 1.0: http://www.elasticsearch.org/blog/1-0-0-released/ +- Updated to elasticsearch 1.0: https://www.elastic.co/blog/1-0-0-released/ 2014-02-11 - Add aggregations @@ -412,7 +412,7 @@ CHANGES - \Elastica\Search::addSuggest() has been renamed to \Elastica\Search::setSuggest() - \Elastica\Query::addSuggest() has been renamed to \Elastica\Query::setSuggest() - Add \Elastica\Suggest\Phrase, \Elastica\Suggest\CandidateGenerator\AbstractCandidateGenerator, and \Elastica\Suggest\CandidateGenerator\DirectGenerator - (see http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-suggesters-phrase.html) + (see http://www.elastic.co/guide/en/elasticsearch/reference/current/search-suggesters-phrase.html) 2013-12-04 - Remove boost from FunctionScore::addFunction because this is not supported by elasticsearch @@ -447,10 +447,10 @@ CHANGES 2013-10-29 - Elastica_Type::exists() added - See http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-types-exists.html#indices-types-exists + See http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-types-exists.html#indices-types-exists 2013-10-27 -- Adapted possible values (not only in) for minimum_should_match param based on elasticsearch documetnation http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-minimum-should-match.html +- Adapted possible values (not only in) for minimum_should_match param based on elasticsearch documetnation http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-minimum-should-match.html 2013-10-27 - Release v0.90.5.0 @@ -467,7 +467,7 @@ CHANGES 2013-09-20 - Update to geocluster-facet 0.0.8 - Add support for term suggest API - See http://www.elasticsearch.org/guide/reference/api/search/term-suggest/ + See http://www.elastic.co/guide/en/elasticsearch/reference/current/search-suggesters-term.html 2013-09-18 - Fix \Elastica\Filter\HasChild usage of \Elastica\Query as to not collide with \Elastica\Filter\Query namespace @@ -715,7 +715,7 @@ CHANGES 2012-03-04 - Node info call update. The receive os info and more, param is needed. By default, only basics are returned -- Release v0.19.0.0 which is compatible with ES 0.19.0 http://www.elasticsearch.org/blog/2012/03/01/0.19.0-released.html +- Release v0.19.0.0 which is compatible with ES 0.19.0 https://www.elastic.co/downloads/past-releases/0-19-0 2012-02-21 - Allow percolate queries in bulk requests @@ -889,7 +889,7 @@ CHANGES 2011-04-29 - Added getParam to Elastica_Result that more values can be retrieved from the hit array -- Elastica_Filter_Ids added http://www.elasticsearch.org/guide/reference/query-dsl/ids-filter.html +- Elastica_Filter_Ids added http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-ids-filter.html - getMergePolicyMergeFactor and getRefreshInterval to Elastica_Type_Settings added. If no value is set, default values are returned 2011-04-28 @@ -927,7 +927,7 @@ CHANGES 2011-03-24 - Renaming of Elastica_Status_Index to Elastica_Index_Status => API Change! -- IndexSettings added for improved bulk updating http://www.elasticsearch.org/blog/2011/03/23/update-settings.html +- IndexSettings added for improved bulk updating http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-update-settings.html 2011-03-21 - Node object added diff --git a/lib/Elastica/AbstractUpdateAction.php b/lib/Elastica/AbstractUpdateAction.php index 158c973ac6..3e2f38c19c 100644 --- a/lib/Elastica/AbstractUpdateAction.php +++ b/lib/Elastica/AbstractUpdateAction.php @@ -133,7 +133,7 @@ public function getIndex() * * @param int $version Document version * @return $this - * @link http://www.elasticsearch.org/blog/2011/02/08/versioning.html + * @link https://www.elastic.co/blog/versioning */ public function setVersion($version) { @@ -164,7 +164,6 @@ public function hasVersion() * * @param int $versionType Document version type * @return $this - * @link http://www.elasticsearch.org/guide/reference/api/index_.html */ public function setVersionType($versionType) { @@ -194,7 +193,7 @@ public function hasVersionType() * * @param string|int $parent Parent document id * @return $this - * @link http://www.elasticsearch.org/guide/reference/mapping/parent-field.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-parent-field.html */ public function setParent($parent) { diff --git a/lib/Elastica/Aggregation/Avg.php b/lib/Elastica/Aggregation/Avg.php index c7c3a5b363..f7149618aa 100644 --- a/lib/Elastica/Aggregation/Avg.php +++ b/lib/Elastica/Aggregation/Avg.php @@ -5,7 +5,7 @@ /** * Class Avg * @package Elastica\Aggregation - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-aggregations-metrics-avg-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-avg-aggregation.html */ class Avg extends AbstractSimpleAggregation { diff --git a/lib/Elastica/Aggregation/Cardinality.php b/lib/Elastica/Aggregation/Cardinality.php index 24711c1863..c978a28488 100644 --- a/lib/Elastica/Aggregation/Cardinality.php +++ b/lib/Elastica/Aggregation/Cardinality.php @@ -5,7 +5,7 @@ /** * Class Cardinality * @package Elastica\Aggregation - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-metrics-cardinality-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-cardinality-aggregation.html */ class Cardinality extends AbstractSimpleAggregation { diff --git a/lib/Elastica/Aggregation/DateHistogram.php b/lib/Elastica/Aggregation/DateHistogram.php index 7f2ed2a61e..de24d16bf3 100644 --- a/lib/Elastica/Aggregation/DateHistogram.php +++ b/lib/Elastica/Aggregation/DateHistogram.php @@ -5,7 +5,7 @@ /** * Class DateHistogram * @package Elastica\Aggregation - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-aggregations-bucket-datehistogram-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-datehistogram-aggregation.html */ class DateHistogram extends Histogram { @@ -71,7 +71,7 @@ public function setPostOffset($offset) /** * Set the format for returned bucket key_as_string values - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-aggregations-bucket-daterange-aggregation.html#date-format-pattern + * @link http://www.elastic.co/guide/en/elasticsearch/reference/master/search-aggregations-bucket-daterange-aggregation.html#date-format-pattern * @param string $format see link for formatting options * @return $this */ diff --git a/lib/Elastica/Aggregation/DateRange.php b/lib/Elastica/Aggregation/DateRange.php index 48417835da..a91dc48402 100644 --- a/lib/Elastica/Aggregation/DateRange.php +++ b/lib/Elastica/Aggregation/DateRange.php @@ -5,7 +5,7 @@ /** * Class DateRange * @package Elastica\Aggregation - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-aggregations-bucket-daterange-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-daterange-aggregation.html */ class DateRange extends Range { diff --git a/lib/Elastica/Aggregation/ExtendedStats.php b/lib/Elastica/Aggregation/ExtendedStats.php index 2808e99d1c..435eda0b44 100644 --- a/lib/Elastica/Aggregation/ExtendedStats.php +++ b/lib/Elastica/Aggregation/ExtendedStats.php @@ -5,7 +5,7 @@ /** * Class ExtendedStats * @package Elastica\Aggregation - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-aggregations-metrics-extendedstats-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-extendedstats-aggregation.html */ class ExtendedStats extends AbstractSimpleAggregation { diff --git a/lib/Elastica/Aggregation/Filter.php b/lib/Elastica/Aggregation/Filter.php index 84c1940035..07de400955 100644 --- a/lib/Elastica/Aggregation/Filter.php +++ b/lib/Elastica/Aggregation/Filter.php @@ -7,7 +7,7 @@ /** * Class Filter * @package Elastica\Aggregation - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-aggregations-bucket-filter-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-filter-aggregation.html */ class Filter extends AbstractAggregation { diff --git a/lib/Elastica/Aggregation/Filters.php b/lib/Elastica/Aggregation/Filters.php index f1dd7bbe3e..497371c312 100644 --- a/lib/Elastica/Aggregation/Filters.php +++ b/lib/Elastica/Aggregation/Filters.php @@ -7,7 +7,7 @@ /** * Class Filters * @package Elastica\Aggregation - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-bucket-filters-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-filters-aggregation.html */ class Filters extends AbstractAggregation { diff --git a/lib/Elastica/Aggregation/GeoDistance.php b/lib/Elastica/Aggregation/GeoDistance.php index eaf1e23d17..9bdde1f386 100644 --- a/lib/Elastica/Aggregation/GeoDistance.php +++ b/lib/Elastica/Aggregation/GeoDistance.php @@ -7,7 +7,7 @@ /** * Class GeoDistance * @package Elastica\Aggregation - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-aggregations-bucket-geodistance-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-geodistance-aggregation.html */ class GeoDistance extends AbstractAggregation { diff --git a/lib/Elastica/Aggregation/GeohashGrid.php b/lib/Elastica/Aggregation/GeohashGrid.php index 963111a4a6..0a8ba671ab 100644 --- a/lib/Elastica/Aggregation/GeohashGrid.php +++ b/lib/Elastica/Aggregation/GeohashGrid.php @@ -5,7 +5,7 @@ /** * Class GeohashGrid * @package Elastica\Aggregation - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-aggregations-bucket-geohashgrid-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-geohashgrid-aggregation.html */ class GeohashGrid extends AbstractAggregation { diff --git a/lib/Elastica/Aggregation/GlobalAggregation.php b/lib/Elastica/Aggregation/GlobalAggregation.php index 1affb204ec..aa2137ddf2 100644 --- a/lib/Elastica/Aggregation/GlobalAggregation.php +++ b/lib/Elastica/Aggregation/GlobalAggregation.php @@ -5,7 +5,7 @@ /** * Class GlobalAggregation * @package Elastica\Aggregation - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-aggregations-bucket-global-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-global-aggregation.html */ class GlobalAggregation extends AbstractAggregation { diff --git a/lib/Elastica/Aggregation/Histogram.php b/lib/Elastica/Aggregation/Histogram.php index a0be5c9ee4..37e8f2c013 100644 --- a/lib/Elastica/Aggregation/Histogram.php +++ b/lib/Elastica/Aggregation/Histogram.php @@ -5,7 +5,7 @@ /** * Class Histogram * @package Elastica\Aggregation - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-aggregations-bucket-histogram-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-histogram-aggregation.html */ class Histogram extends AbstractSimpleAggregation { diff --git a/lib/Elastica/Aggregation/IpRange.php b/lib/Elastica/Aggregation/IpRange.php index 58c83dbb48..55bc75418f 100644 --- a/lib/Elastica/Aggregation/IpRange.php +++ b/lib/Elastica/Aggregation/IpRange.php @@ -7,7 +7,7 @@ /** * Class IpRange * @package Elastica\Aggregation - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-aggregations-bucket-iprange-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-iprange-aggregation.html */ class IpRange extends AbstractAggregation { diff --git a/lib/Elastica/Aggregation/Max.php b/lib/Elastica/Aggregation/Max.php index 2ff528149f..a0fcf5884e 100644 --- a/lib/Elastica/Aggregation/Max.php +++ b/lib/Elastica/Aggregation/Max.php @@ -5,7 +5,7 @@ /** * Class Max * @package Elastica\Aggregation - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-aggregations-metrics-max-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-max-aggregation.html */ class Max extends AbstractSimpleAggregation { diff --git a/lib/Elastica/Aggregation/Min.php b/lib/Elastica/Aggregation/Min.php index 02be6c568e..cc26a9581e 100644 --- a/lib/Elastica/Aggregation/Min.php +++ b/lib/Elastica/Aggregation/Min.php @@ -5,7 +5,7 @@ /** * Class Min * @package Elastica\Aggregation - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-aggregations-metrics-min-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-min-aggregation.html */ class Min extends AbstractSimpleAggregation { diff --git a/lib/Elastica/Aggregation/Missing.php b/lib/Elastica/Aggregation/Missing.php index 2a2aeff9a7..260981aa4b 100644 --- a/lib/Elastica/Aggregation/Missing.php +++ b/lib/Elastica/Aggregation/Missing.php @@ -5,7 +5,7 @@ /** * Class Missing * @package Elastica\Aggregation - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-aggregations-bucket-missing-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-missing-aggregation.html */ class Missing extends AbstractAggregation { diff --git a/lib/Elastica/Aggregation/Nested.php b/lib/Elastica/Aggregation/Nested.php index 5af1cdc770..96afa163c0 100644 --- a/lib/Elastica/Aggregation/Nested.php +++ b/lib/Elastica/Aggregation/Nested.php @@ -5,7 +5,7 @@ /** * Class Nested * @package Elastica\Aggregation - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-aggregations-bucket-nested-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-nested-aggregation.html */ class Nested extends AbstractAggregation { diff --git a/lib/Elastica/Aggregation/Percentiles.php b/lib/Elastica/Aggregation/Percentiles.php index bca904738c..954365a2f7 100644 --- a/lib/Elastica/Aggregation/Percentiles.php +++ b/lib/Elastica/Aggregation/Percentiles.php @@ -4,7 +4,7 @@ /** * Class Percentiles * @package Elastica\Aggregation - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-metrics-percentile-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-percentile-aggregation.html */ class Percentiles extends AbstractSimpleAggregation { diff --git a/lib/Elastica/Aggregation/Range.php b/lib/Elastica/Aggregation/Range.php index 9f89449971..5e759c7118 100644 --- a/lib/Elastica/Aggregation/Range.php +++ b/lib/Elastica/Aggregation/Range.php @@ -6,7 +6,7 @@ /** * Class Range * @package Elastica\Aggregation - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-aggregations-bucket-range-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-range-aggregation.html */ class Range extends AbstractSimpleAggregation { diff --git a/lib/Elastica/Aggregation/ReverseNested.php b/lib/Elastica/Aggregation/ReverseNested.php index 510153a074..fe26c6278b 100644 --- a/lib/Elastica/Aggregation/ReverseNested.php +++ b/lib/Elastica/Aggregation/ReverseNested.php @@ -6,7 +6,7 @@ * Reversed Nested Aggregation * * @package Elastica\Aggregation - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-bucket-reverse-nested-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-reverse-nested-aggregation.html */ class ReverseNested extends AbstractAggregation { diff --git a/lib/Elastica/Aggregation/ScriptedMetric.php b/lib/Elastica/Aggregation/ScriptedMetric.php index 4c42c50d23..207f7e5a5e 100644 --- a/lib/Elastica/Aggregation/ScriptedMetric.php +++ b/lib/Elastica/Aggregation/ScriptedMetric.php @@ -5,7 +5,7 @@ /** * Class ScriptedMetric * @package Elastica\Aggregation - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-metrics-scripted-metric-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-scripted-metric-aggregation.html */ class ScriptedMetric extends AbstractAggregation { diff --git a/lib/Elastica/Aggregation/Stats.php b/lib/Elastica/Aggregation/Stats.php index fa699d105e..bf71c6261e 100644 --- a/lib/Elastica/Aggregation/Stats.php +++ b/lib/Elastica/Aggregation/Stats.php @@ -5,7 +5,7 @@ /** * Class Stats * @package Elastica\Aggregation - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-aggregations-metrics-stats-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-stats-aggregation.html */ class Stats extends AbstractSimpleAggregation { diff --git a/lib/Elastica/Aggregation/Sum.php b/lib/Elastica/Aggregation/Sum.php index 3d2fec8ca6..873b957081 100644 --- a/lib/Elastica/Aggregation/Sum.php +++ b/lib/Elastica/Aggregation/Sum.php @@ -5,7 +5,7 @@ /** * Class Sum * @package Elastica\Aggregation - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-aggregations-metrics-sum-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-sum-aggregation.html */ class Sum extends AbstractSimpleAggregation { diff --git a/lib/Elastica/Aggregation/Terms.php b/lib/Elastica/Aggregation/Terms.php index 9fc7ab46bc..fbf15258bb 100644 --- a/lib/Elastica/Aggregation/Terms.php +++ b/lib/Elastica/Aggregation/Terms.php @@ -5,7 +5,7 @@ /** * Class Terms * @package Elastica\Aggregation - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-aggregations-bucket-terms-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-terms-aggregation.html */ class Terms extends AbstractSimpleAggregation { diff --git a/lib/Elastica/Aggregation/TopHits.php b/lib/Elastica/Aggregation/TopHits.php index f78e01c33b..1c87d6efac 100644 --- a/lib/Elastica/Aggregation/TopHits.php +++ b/lib/Elastica/Aggregation/TopHits.php @@ -7,7 +7,7 @@ /** * Class TopHits * @package Elastica\Aggregation - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-metrics-top-hits-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-top-hits-aggregation.html */ class TopHits extends AbstractAggregation { diff --git a/lib/Elastica/Aggregation/ValueCount.php b/lib/Elastica/Aggregation/ValueCount.php index ef3498d6ca..d24d72553c 100644 --- a/lib/Elastica/Aggregation/ValueCount.php +++ b/lib/Elastica/Aggregation/ValueCount.php @@ -5,7 +5,7 @@ /** * Class ValueCount * @package Elastica\Aggregation - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-aggregations-metrics-valuecount-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-valuecount-aggregation.html */ class ValueCount extends AbstractAggregation { diff --git a/lib/Elastica/Bulk/Action/UpdateDocument.php b/lib/Elastica/Bulk/Action/UpdateDocument.php index 7246e05cff..bab6343e12 100644 --- a/lib/Elastica/Bulk/Action/UpdateDocument.php +++ b/lib/Elastica/Bulk/Action/UpdateDocument.php @@ -5,10 +5,6 @@ use Elastica\Document; use Elastica\Script; -/** - * @package Elastica\Bulk\Action - * @link http://www.elasticsearch.org/guide/reference/api/bulk/ - */ class UpdateDocument extends IndexDocument { /** diff --git a/lib/Elastica/Client.php b/lib/Elastica/Client.php index 21a3e9ae74..c5e56885cf 100644 --- a/lib/Elastica/Client.php +++ b/lib/Elastica/Client.php @@ -262,7 +262,7 @@ public function removeHeader($header) * documents can belong to any type and index * * @throws \Elastica\Exception\InvalidException If docs is empty - * @link http://www.elasticsearch.org/guide/reference/api/bulk.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html * * @param array|\Elastica\Document[] $docs Array of Elastica\Document * @return \Elastica\Bulk\ResponseSet Response object @@ -288,7 +288,7 @@ public function updateDocuments(array $docs) * documents can belong to any type and index * * @throws \Elastica\Exception\InvalidException If docs is empty - * @link http://www.elasticsearch.org/guide/reference/api/bulk.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html * * @param array|\Elastica\Document[] $docs Array of Elastica\Document * @return \Elastica\Bulk\ResponseSet Response object @@ -315,7 +315,7 @@ public function addDocuments(array $docs) * @param string $type type of index to update * @param array $options array of query params to use for query. For possible options check es api * @return \Elastica\Response - * @link http://www.elasticsearch.org/guide/reference/api/update.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/docs-update.html */ public function updateDocument($id, $data, $index, $type, array $options = array()) { @@ -515,7 +515,7 @@ public function setConnections(array $connections) * Deletes documents with the given ids, index, type from the index * * @throws \Elastica\Exception\InvalidException - * @link http://www.elasticsearch.org/guide/reference/api/bulk.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html * * @param array $ids Document ids * @param string|\Elastica\Index $index Index name @@ -561,7 +561,7 @@ public function deleteIds(array $ids, $index, $type, $routing = false) * * @throws \Elastica\Exception\ResponseException * @throws \Elastica\Exception\InvalidException - * @link http://www.elasticsearch.org/guide/reference/api/bulk.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html * * @param array $params Parameter array * @return \Elastica\Bulk\ResponseSet Response object @@ -623,7 +623,7 @@ public function request($path, $method = Request::GET, $data = array(), array $q * * @param array $args OPTIONAL Optional arguments * @return \Elastica\Response Response object - * @link http://www.elasticsearch.org/guide/reference/api/admin-indices-optimize.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-optimize.html */ public function optimizeAll($args = array()) { @@ -634,7 +634,7 @@ public function optimizeAll($args = array()) * Refreshes all search indices * * @return \Elastica\Response Response object - * @link http://www.elasticsearch.org/guide/reference/api/admin-indices-refresh.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-refresh.html */ public function refreshAll() { diff --git a/lib/Elastica/Cluster.php b/lib/Elastica/Cluster.php index 29e57ab799..cb29042ae9 100644 --- a/lib/Elastica/Cluster.php +++ b/lib/Elastica/Cluster.php @@ -12,7 +12,7 @@ * @category Xodoa * @package Elastica * @author Nicolas Ruflin - * @link http://www.elasticsearch.org/guide/reference/api/ + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/cluster.html */ class Cluster { @@ -89,7 +89,7 @@ public function getIndexNames() * Returns the full state of the cluster * * @return array State array - * @link http://www.elasticsearch.org/guide/reference/api/admin-cluster-state.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-state.html */ public function getState() { @@ -141,7 +141,7 @@ public function getClient() * Returns the cluster information (not implemented yet) * * @throws \Elastica\Exception\NotImplementedException - * @link http://www.elasticsearch.org/guide/reference/api/admin-cluster-nodes-info.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-info.html * * @param array $args Additional arguments */ @@ -153,7 +153,7 @@ public function getInfo(array $args) /** * Return Cluster health * - * @link http://www.elasticsearch.org/guide/reference/api/admin-cluster-health.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-health.html * * @return \Elastica\Cluster\Health */ @@ -175,7 +175,7 @@ public function getSettings() /** * Shuts down the complete cluster * - * @link http://www.elasticsearch.org/guide/reference/api/admin-cluster-nodes-shutdown.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-shutdown.html * * @param string $delay OPTIONAL Seconds to shutdown cluster after (default = 1s) * @return \Elastica\Response diff --git a/lib/Elastica/Cluster/Health.php b/lib/Elastica/Cluster/Health.php index dc93a52a2b..70922faa61 100644 --- a/lib/Elastica/Cluster/Health.php +++ b/lib/Elastica/Cluster/Health.php @@ -11,7 +11,7 @@ * * @package Elastica * @author Ray Ward - * @link http://www.elasticsearch.org/guide/reference/api/admin-cluster-health.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-health.html */ class Health { diff --git a/lib/Elastica/Cluster/Health/Index.php b/lib/Elastica/Cluster/Health/Index.php index 0be8b075ec..23d2989387 100644 --- a/lib/Elastica/Cluster/Health/Index.php +++ b/lib/Elastica/Cluster/Health/Index.php @@ -7,7 +7,7 @@ * * @package Elastica * @author Ray Ward - * @link http://www.elasticsearch.org/guide/reference/api/admin-cluster-health.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-health.html */ class Index { diff --git a/lib/Elastica/Cluster/Health/Shard.php b/lib/Elastica/Cluster/Health/Shard.php index f50025f444..cec351b100 100644 --- a/lib/Elastica/Cluster/Health/Shard.php +++ b/lib/Elastica/Cluster/Health/Shard.php @@ -7,7 +7,7 @@ * * @package Elastica * @author Ray Ward - * @link http://www.elasticsearch.org/guide/reference/api/admin-cluster-health.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-health.html */ class Shard { diff --git a/lib/Elastica/Cluster/Settings.php b/lib/Elastica/Cluster/Settings.php index c12a442667..740dd62984 100644 --- a/lib/Elastica/Cluster/Settings.php +++ b/lib/Elastica/Cluster/Settings.php @@ -11,7 +11,7 @@ * @category Xodoa * @package Elastica * @author Nicolas Ruflin - * @link http://www.elasticsearch.org/guide/reference/api/admin-cluster-update-settings.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-update-settings.html */ class Settings { diff --git a/lib/Elastica/Document.php b/lib/Elastica/Document.php index 91590e7f78..cd4d767c1e 100644 --- a/lib/Elastica/Document.php +++ b/lib/Elastica/Document.php @@ -207,7 +207,7 @@ public function addFileContent($key, $content) * @param string $key Field key * @param float $latitude Latitude value * @param float $longitude Longitude value - * @link http://www.elasticsearch.org/guide/reference/mapping/geo-point-type.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-geo-point-type.html * @return $this */ public function addGeoPoint($key, $latitude, $longitude) diff --git a/lib/Elastica/Facet/DateHistogram.php b/lib/Elastica/Facet/DateHistogram.php index 97089b183f..4dea0d3bcb 100644 --- a/lib/Elastica/Facet/DateHistogram.php +++ b/lib/Elastica/Facet/DateHistogram.php @@ -8,7 +8,7 @@ * @category Xodoa * @package Elastica * @author Raul Martinez Jr - * @link http://www.elasticsearch.org/guide/reference/api/search/facets/date-histogram-facet.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-facets-date-histogram-facet.html * @link https://github.com/elasticsearch/elasticsearch/issues/591 */ class DateHistogram extends Histogram diff --git a/lib/Elastica/Facet/Filter.php b/lib/Elastica/Facet/Filter.php index 268c92cf01..a3f62a418c 100644 --- a/lib/Elastica/Facet/Filter.php +++ b/lib/Elastica/Facet/Filter.php @@ -10,7 +10,7 @@ * @category Xodoa * @package Elastica * @author Nicolas Ruflin - * @link http://www.elasticsearch.org/guide/reference/api/search/facets/filter-facet.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-facets-filter-facet.html */ class Filter extends AbstractFacet { diff --git a/lib/Elastica/Facet/GeoDistance.php b/lib/Elastica/Facet/GeoDistance.php index e0b723aa47..fe279a595c 100644 --- a/lib/Elastica/Facet/GeoDistance.php +++ b/lib/Elastica/Facet/GeoDistance.php @@ -8,7 +8,7 @@ * @category Xodoa * @package Elastica * @author Gerard A. Matthew - * @link http://www.elasticsearch.org/guide/reference/api/search/facets/geo-distance-facet.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-facets-geo-distance-facet.html */ class GeoDistance extends AbstractFacet { diff --git a/lib/Elastica/Facet/Histogram.php b/lib/Elastica/Facet/Histogram.php index d48ca2a969..039286a0fa 100644 --- a/lib/Elastica/Facet/Histogram.php +++ b/lib/Elastica/Facet/Histogram.php @@ -8,7 +8,7 @@ * @category Xodoa * @package Elastica * @author Raul Martinez Jr - * @link http://www.elasticsearch.org/guide/reference/api/search/facets/histogram-facet.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-facets-histogram-facet.html */ class Histogram extends AbstractFacet { diff --git a/lib/Elastica/Facet/Query.php b/lib/Elastica/Facet/Query.php index d33b3cadbb..9b25942bda 100644 --- a/lib/Elastica/Facet/Query.php +++ b/lib/Elastica/Facet/Query.php @@ -10,7 +10,7 @@ * @category Xodoa * @package Elastica * @author Nicolas Ruflin - * @link http://www.elasticsearch.org/guide/reference/api/search/facets/query-facet.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-facets-query-facet.html */ class Query extends AbstractFacet { diff --git a/lib/Elastica/Facet/Range.php b/lib/Elastica/Facet/Range.php index 16f5e443c4..45032f437f 100644 --- a/lib/Elastica/Facet/Range.php +++ b/lib/Elastica/Facet/Range.php @@ -10,7 +10,7 @@ * @category Xodoa * @package Elastica * @author Jasper van Wanrooy - * @link http://www.elasticsearch.org/guide/reference/api/search/facets/range-facet.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-facets-range-facet.html */ class Range extends AbstractFacet { diff --git a/lib/Elastica/Facet/Statistical.php b/lib/Elastica/Facet/Statistical.php index 77448a0670..8f2043d919 100644 --- a/lib/Elastica/Facet/Statistical.php +++ b/lib/Elastica/Facet/Statistical.php @@ -8,7 +8,7 @@ * @category Xodoa * @package Elastica * @author Robert Katzki - * @link http://www.elasticsearch.org/guide/reference/api/search/facets/statistical-facet.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-facets-statistical-facet.html */ class Statistical extends AbstractFacet { diff --git a/lib/Elastica/Facet/Terms.php b/lib/Elastica/Facet/Terms.php index fce11cfa2a..50f6ef90c1 100644 --- a/lib/Elastica/Facet/Terms.php +++ b/lib/Elastica/Facet/Terms.php @@ -12,7 +12,7 @@ * @package Elastica * @author Nicolas Ruflin * @author Jasper van Wanrooy - * @link http://www.elasticsearch.org/guide/reference/api/search/facets/terms-facet.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-facets-terms-facet.html */ class Terms extends AbstractFacet { diff --git a/lib/Elastica/Facet/TermsStats.php b/lib/Elastica/Facet/TermsStats.php index fa4607897a..9fd1687c74 100644 --- a/lib/Elastica/Facet/TermsStats.php +++ b/lib/Elastica/Facet/TermsStats.php @@ -10,7 +10,7 @@ * @category Xodoa * @package Elastica * @author Tom Michaelis - * @link http://www.elasticsearch.org/guide/reference/api/search/facets/terms-stats-facet.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-facets-terms-stats-facet.html */ class TermsStats extends AbstractFacet { diff --git a/lib/Elastica/Filter/AbstractFilter.php b/lib/Elastica/Filter/AbstractFilter.php index e67be712fd..85c1912338 100644 --- a/lib/Elastica/Filter/AbstractFilter.php +++ b/lib/Elastica/Filter/AbstractFilter.php @@ -11,7 +11,7 @@ * @category Xodoa * @package Elastica * @author Nicolas Ruflin - * @link http://www.elasticsearch.org/guide/reference/query-dsl/ + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-filters.html */ abstract class AbstractFilter extends Param { diff --git a/lib/Elastica/Filter/AbstractGeoDistance.php b/lib/Elastica/Filter/AbstractGeoDistance.php index 8849952804..09a30f5577 100644 --- a/lib/Elastica/Filter/AbstractGeoDistance.php +++ b/lib/Elastica/Filter/AbstractGeoDistance.php @@ -10,7 +10,7 @@ * @category Xodoa * @package Elastica * @author Nicolas Ruflin - * @link http://www.elasticsearch.org/guide/reference/query-dsl/geo-distance-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-geo-distance-filter.html */ abstract class AbstractGeoDistance extends AbstractFilter { diff --git a/lib/Elastica/Filter/AbstractGeoShape.php b/lib/Elastica/Filter/AbstractGeoShape.php index 4ffb7b1d78..066e4d172f 100644 --- a/lib/Elastica/Filter/AbstractGeoShape.php +++ b/lib/Elastica/Filter/AbstractGeoShape.php @@ -10,7 +10,7 @@ * @category Xodoa * @package Elastica * @author Bennie Krijger - * @link http://www.elasticsearch.org/guide/reference/query-dsl/geo-shape-filter/ + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-geo-shape-filter.html */ abstract class AbstractGeoShape extends AbstractFilter { diff --git a/lib/Elastica/Filter/Bool.php b/lib/Elastica/Filter/Bool.php index 6e8f01b6ce..8982462513 100644 --- a/lib/Elastica/Filter/Bool.php +++ b/lib/Elastica/Filter/Bool.php @@ -10,7 +10,7 @@ * @category Xodoa * @package Elastica * @author Nicolas Ruflin - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-bool-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-bool-filter.html */ class Bool extends AbstractFilter { diff --git a/lib/Elastica/Filter/BoolAnd.php b/lib/Elastica/Filter/BoolAnd.php index 2fd19f8ee4..8ec58bec22 100644 --- a/lib/Elastica/Filter/BoolAnd.php +++ b/lib/Elastica/Filter/BoolAnd.php @@ -8,7 +8,7 @@ * @category Xodoa * @package Elastica * @author Lee Parker, Nicolas Ruflin - * @link http://www.elasticsearch.org/guide/reference/query-dsl/and-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-and-filter.html */ class BoolAnd extends AbstractMulti { diff --git a/lib/Elastica/Filter/BoolNot.php b/lib/Elastica/Filter/BoolNot.php index 2fb7bd4287..c9994f6f55 100644 --- a/lib/Elastica/Filter/BoolNot.php +++ b/lib/Elastica/Filter/BoolNot.php @@ -8,7 +8,7 @@ * @category Xodoa * @package Elastica * @author Lee Parker, Nicolas Ruflin - * @link http://www.elasticsearch.org/guide/reference/query-dsl/not-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-not-filter.html */ class BoolNot extends AbstractFilter { diff --git a/lib/Elastica/Filter/BoolOr.php b/lib/Elastica/Filter/BoolOr.php index 6f63fc30bc..9813972f52 100644 --- a/lib/Elastica/Filter/BoolOr.php +++ b/lib/Elastica/Filter/BoolOr.php @@ -8,7 +8,7 @@ * @category Xodoa * @package Elastica * @author Nicolas Ruflin - * @link http://www.elasticsearch.org/guide/reference/query-dsl/or-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-or-filter.html */ class BoolOr extends AbstractMulti { diff --git a/lib/Elastica/Filter/Exists.php b/lib/Elastica/Filter/Exists.php index f2b6f78874..38ed2553a8 100644 --- a/lib/Elastica/Filter/Exists.php +++ b/lib/Elastica/Filter/Exists.php @@ -8,7 +8,7 @@ * @category Xodoa * @package Elastica * @author Oleg Cherniy - * @link http://www.elasticsearch.org/guide/reference/query-dsl/exists-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-exists-filter.html */ class Exists extends AbstractFilter { diff --git a/lib/Elastica/Filter/GeoBoundingBox.php b/lib/Elastica/Filter/GeoBoundingBox.php index 0f3893323b..fdfbc24f92 100644 --- a/lib/Elastica/Filter/GeoBoundingBox.php +++ b/lib/Elastica/Filter/GeoBoundingBox.php @@ -10,7 +10,7 @@ * @category Xodoa * @package Elastica * @author Fabian Vogler - * @link http://www.elasticsearch.org/guide/reference/query-dsl/geo-bounding-box-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-geo-bounding-box-filter.html */ class GeoBoundingBox extends AbstractFilter { diff --git a/lib/Elastica/Filter/GeoDistance.php b/lib/Elastica/Filter/GeoDistance.php index 9c32c22a8f..290e9922c0 100644 --- a/lib/Elastica/Filter/GeoDistance.php +++ b/lib/Elastica/Filter/GeoDistance.php @@ -8,7 +8,7 @@ * @category Xodoa * @package Elastica * @author Nicolas Ruflin - * @link http://www.elasticsearch.org/guide/reference/query-dsl/geo-distance-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-geo-distance-filter.html */ class GeoDistance extends AbstractGeoDistance { diff --git a/lib/Elastica/Filter/GeoDistanceRange.php b/lib/Elastica/Filter/GeoDistanceRange.php index 546350c75e..59a03adb21 100644 --- a/lib/Elastica/Filter/GeoDistanceRange.php +++ b/lib/Elastica/Filter/GeoDistanceRange.php @@ -10,7 +10,7 @@ * @category Xodoa * @package Elastica * @author munkie - * @link http://www.elasticsearch.org/guide/reference/query-dsl/geo-distance-range-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-geo-distance-range-filter.html */ class GeoDistanceRange extends AbstractGeoDistance { diff --git a/lib/Elastica/Filter/GeoPolygon.php b/lib/Elastica/Filter/GeoPolygon.php index 4e51ff22a2..850f28ab3b 100644 --- a/lib/Elastica/Filter/GeoPolygon.php +++ b/lib/Elastica/Filter/GeoPolygon.php @@ -8,7 +8,7 @@ * @category Xodoa * @package Elastica * @author Michael Maclean - * @link http://www.elasticsearch.org/guide/reference/query-dsl/geo-polygon-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-geo-polygon-filter.html */ class GeoPolygon extends AbstractFilter { diff --git a/lib/Elastica/Filter/GeoShapePreIndexed.php b/lib/Elastica/Filter/GeoShapePreIndexed.php index 1310972cea..0091b48114 100644 --- a/lib/Elastica/Filter/GeoShapePreIndexed.php +++ b/lib/Elastica/Filter/GeoShapePreIndexed.php @@ -10,7 +10,7 @@ * @category Xodoa * @package Elastica * @author Bennie Krijger - * @link http://www.elasticsearch.org/guide/reference/query-dsl/geo-shape-filter/ + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-geo-shape-filter.html */ class GeoShapePreIndexed extends AbstractGeoShape { diff --git a/lib/Elastica/Filter/GeoShapeProvided.php b/lib/Elastica/Filter/GeoShapeProvided.php index 3fa02327e7..770a70a85a 100644 --- a/lib/Elastica/Filter/GeoShapeProvided.php +++ b/lib/Elastica/Filter/GeoShapeProvided.php @@ -10,7 +10,7 @@ * @category Xodoa * @package Elastica * @author BennieKrijger - * @link http://www.elasticsearch.org/guide/reference/query-dsl/geo-shape-filter/ + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-geo-shape-filter.html */ class GeoShapeProvided extends AbstractGeoShape { diff --git a/lib/Elastica/Filter/GeohashCell.php b/lib/Elastica/Filter/GeohashCell.php index 9c8131dd51..86a21df064 100644 --- a/lib/Elastica/Filter/GeohashCell.php +++ b/lib/Elastica/Filter/GeohashCell.php @@ -5,7 +5,7 @@ /** * Class GeohashCell * @package Elastica - * @link http://www.elasticsearch.org/guide/reference/query-dsl/geohash-cell-filter/ + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-geohash-cell-filter.html */ class GeohashCell extends AbstractGeoDistance { diff --git a/lib/Elastica/Filter/HasChild.php b/lib/Elastica/Filter/HasChild.php index aa855664f0..3f89d95272 100644 --- a/lib/Elastica/Filter/HasChild.php +++ b/lib/Elastica/Filter/HasChild.php @@ -8,7 +8,7 @@ * @category Xodoa * @package Elastica * @author Fabian Vogler - * @link http://www.elasticsearch.org/guide/reference/query-dsl/has-child-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-has-child-filter.html */ class HasChild extends AbstractFilter { diff --git a/lib/Elastica/Filter/HasParent.php b/lib/Elastica/Filter/HasParent.php index 3cfac2e19e..aec73b7f76 100644 --- a/lib/Elastica/Filter/HasParent.php +++ b/lib/Elastica/Filter/HasParent.php @@ -7,7 +7,7 @@ * * @category Xodoa * @package Elastica - * @link http://www.elasticsearch.org/guide/reference/query-dsl/has-parent-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-has-parent-filter.html */ class HasParent extends AbstractFilter { diff --git a/lib/Elastica/Filter/Ids.php b/lib/Elastica/Filter/Ids.php index 1a71399e48..4cb9a908bc 100644 --- a/lib/Elastica/Filter/Ids.php +++ b/lib/Elastica/Filter/Ids.php @@ -10,7 +10,7 @@ * @category Xodoa * @package Elastica * @author Lee Parker, Nicolas Ruflin - * @link http://www.elasticsearch.org/guide/reference/query-dsl/ids-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-ids-filter.html */ class Ids extends AbstractFilter { diff --git a/lib/Elastica/Filter/Indices.php b/lib/Elastica/Filter/Indices.php index 7622ef64dd..f31dcceb96 100644 --- a/lib/Elastica/Filter/Indices.php +++ b/lib/Elastica/Filter/Indices.php @@ -7,7 +7,7 @@ /** * Class Indices * @package Elastica\Filter - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-indices-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-indices-filter.html */ class Indices extends AbstractFilter { diff --git a/lib/Elastica/Filter/Limit.php b/lib/Elastica/Filter/Limit.php index 88011352cf..44d7f20c62 100644 --- a/lib/Elastica/Filter/Limit.php +++ b/lib/Elastica/Filter/Limit.php @@ -8,7 +8,7 @@ * @category Xodoa * @package Elastica * @author Nicolas Ruflin - * @link http://www.elasticsearch.org/guide/reference/query-dsl/limit-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-limit-filter.html */ class Limit extends AbstractFilter { diff --git a/lib/Elastica/Filter/MatchAll.php b/lib/Elastica/Filter/MatchAll.php index a69b65a219..63e22f617e 100644 --- a/lib/Elastica/Filter/MatchAll.php +++ b/lib/Elastica/Filter/MatchAll.php @@ -8,7 +8,7 @@ * @category Xodoa * @package Elastica * @author Nicolas Ruflin - * @link http://www.elasticsearch.org/guide/reference/query-dsl/match-all-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-all-filter.html */ class MatchAll extends AbstractFilter { diff --git a/lib/Elastica/Filter/Missing.php b/lib/Elastica/Filter/Missing.php index 5234645ac7..8b15c6b766 100644 --- a/lib/Elastica/Filter/Missing.php +++ b/lib/Elastica/Filter/Missing.php @@ -8,7 +8,7 @@ * @category Xodoa * @package Elastica * @author Maciej Wiercinski - * @link http://www.elasticsearch.org/guide/reference/query-dsl/missing-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-missing-filter.html */ class Missing extends AbstractFilter { diff --git a/lib/Elastica/Filter/Nested.php b/lib/Elastica/Filter/Nested.php index f5cac71701..f5a32e3dc8 100644 --- a/lib/Elastica/Filter/Nested.php +++ b/lib/Elastica/Filter/Nested.php @@ -10,7 +10,7 @@ * @category Xodoa * @package Elastica * @author Nicolas Ruflin - * @link http://www.elasticsearch.org/guide/reference/query-dsl/nested-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-nested-filter.html */ class Nested extends AbstractFilter { diff --git a/lib/Elastica/Filter/NumericRange.php b/lib/Elastica/Filter/NumericRange.php index 5a6e255110..46ae885195 100644 --- a/lib/Elastica/Filter/NumericRange.php +++ b/lib/Elastica/Filter/NumericRange.php @@ -8,7 +8,7 @@ * @category Xodoa * @package Elastica * @author Nicolas Ruflin - * @link http://www.elasticsearch.org/guide/reference/query-dsl/numeric-range-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-range-filter.html */ class NumericRange extends Range { diff --git a/lib/Elastica/Filter/Prefix.php b/lib/Elastica/Filter/Prefix.php index edc808df98..4a28a70c9a 100644 --- a/lib/Elastica/Filter/Prefix.php +++ b/lib/Elastica/Filter/Prefix.php @@ -8,7 +8,7 @@ * @category Xodoa * @package Elastica * @author Jasper van Wanrooy - * @link http://www.elasticsearch.org/guide/reference/query-dsl/prefix-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-prefix-filter.html */ class Prefix extends AbstractFilter { diff --git a/lib/Elastica/Filter/Query.php b/lib/Elastica/Filter/Query.php index 5edb3bf81f..1860eb9334 100644 --- a/lib/Elastica/Filter/Query.php +++ b/lib/Elastica/Filter/Query.php @@ -11,7 +11,7 @@ * @category Xodoa * @package Elastica * @author Nicolas Ruflin - * @link http://www.elasticsearch.org/guide/reference/query-dsl/query-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-filter.html */ class Query extends AbstractFilter { diff --git a/lib/Elastica/Filter/Range.php b/lib/Elastica/Filter/Range.php index a59d4f0e13..31bf431595 100644 --- a/lib/Elastica/Filter/Range.php +++ b/lib/Elastica/Filter/Range.php @@ -8,7 +8,7 @@ * @category Xodoa * @package Elastica * @author Nicolas Ruflin - * @link http://www.elasticsearch.org/guide/reference/query-dsl/range-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-range-filter.html */ class Range extends AbstractFilter { diff --git a/lib/Elastica/Filter/Regexp.php b/lib/Elastica/Filter/Regexp.php index 2722a61be5..c699222768 100644 --- a/lib/Elastica/Filter/Regexp.php +++ b/lib/Elastica/Filter/Regexp.php @@ -8,7 +8,7 @@ * @category Xodoa * @package Elastica * @author Timothy Lamb - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-regexp-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-regexp-filter.html */ class Regexp extends AbstractFilter { diff --git a/lib/Elastica/Filter/Script.php b/lib/Elastica/Filter/Script.php index a39fcba583..f4bdf68093 100644 --- a/lib/Elastica/Filter/Script.php +++ b/lib/Elastica/Filter/Script.php @@ -11,7 +11,7 @@ * @category Xodoa * @package Elastica * @author Nicolas Ruflin - * @link http://www.elasticsearch.org/guide/reference/query-dsl/script-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-script-filter.html */ class Script extends AbstractFilter { diff --git a/lib/Elastica/Filter/Term.php b/lib/Elastica/Filter/Term.php index 5d52376e28..842e5be2fe 100644 --- a/lib/Elastica/Filter/Term.php +++ b/lib/Elastica/Filter/Term.php @@ -8,7 +8,7 @@ * @category Xodoa * @package Elastica * @author Nicolas Ruflin - * @link http://www.elasticsearch.org/guide/reference/query-dsl/term-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-term-filter.html */ class Term extends AbstractFilter { diff --git a/lib/Elastica/Filter/Terms.php b/lib/Elastica/Filter/Terms.php index a82e1827ca..a39e846317 100644 --- a/lib/Elastica/Filter/Terms.php +++ b/lib/Elastica/Filter/Terms.php @@ -10,7 +10,7 @@ * @category Xodoa * @package Elastica * @author Nicolas Ruflin - * @link http://www.elasticsearch.org/guide/reference/query-dsl/terms-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-terms-filter.html */ class Terms extends AbstractFilter { diff --git a/lib/Elastica/Filter/Type.php b/lib/Elastica/Filter/Type.php index 38278f8c97..0d3dbb575d 100644 --- a/lib/Elastica/Filter/Type.php +++ b/lib/Elastica/Filter/Type.php @@ -8,7 +8,7 @@ * @category Xodoa * @package Elastica * @author James Wilson - * @link http://www.elasticsearch.org/guide/reference/query-dsl/type-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-type-filter.html */ class Type extends AbstractFilter { diff --git a/lib/Elastica/Index.php b/lib/Elastica/Index.php index a0f0dbe509..59e1c1ab9e 100644 --- a/lib/Elastica/Index.php +++ b/lib/Elastica/Index.php @@ -121,7 +121,7 @@ public function getSettings() * * @param array|\Elastica\Document[] $docs Array of Elastica\Document * @return \Elastica\Bulk\ResponseSet - * @link http://www.elasticsearch.org/guide/reference/api/bulk.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html */ public function updateDocuments(array $docs) { @@ -137,7 +137,7 @@ public function updateDocuments(array $docs) * * @param array|\Elastica\Document[] $docs Array of Elastica\Document * @return \Elastica\Bulk\ResponseSet - * @link http://www.elasticsearch.org/guide/reference/api/bulk.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html */ public function addDocuments(array $docs) { @@ -165,7 +165,7 @@ public function delete() * * @param array|\Elastica\Document[] $docs Array of Elastica\Document * @return \Elastica\Bulk\ResponseSet - * @link http://www.elasticsearch.org/guide/reference/api/bulk.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html */ public function deleteDocuments(array $docs) { @@ -183,7 +183,7 @@ public function deleteDocuments(array $docs) * * @param array $args OPTIONAL Additional arguments * @return array Server response - * @link http://www.elasticsearch.org/guide/reference/api/admin-indices-optimize.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-optimize.html */ public function optimize($args = array()) { @@ -194,7 +194,7 @@ public function optimize($args = array()) * Refreshes the index * * @return \Elastica\Response Response object - * @link http://www.elasticsearch.org/guide/reference/api/admin-indices-refresh.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-refresh.html */ public function refresh() { @@ -206,7 +206,7 @@ public function refresh() * * @throws \Elastica\Exception\InvalidException * @throws \Elastica\Exception\ResponseException - * @link http://www.elasticsearch.org/guide/reference/api/admin-indices-create-index.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html * * @param array $args OPTIONAL Arguments to use * @param bool|array $options OPTIONAL @@ -312,7 +312,7 @@ public function count($query = '') * Opens an index * * @return \Elastica\Response Response object - * @link http://www.elasticsearch.org/guide/reference/api/admin-indices-open-close.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-open-close.html */ public function open() { @@ -323,7 +323,7 @@ public function open() * Closes the index * * @return \Elastica\Response Response object - * @link http://www.elasticsearch.org/guide/reference/api/admin-indices-open-close.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-open-close.html */ public function close() { @@ -356,7 +356,7 @@ public function getClient() * @param string $name Alias name * @param bool $replace OPTIONAL If set, an existing alias will be replaced * @return \Elastica\Response Response - * @link http://www.elasticsearch.org/guide/reference/api/admin-indices-aliases.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-aliases.html */ public function addAlias($name, $replace = false) { @@ -381,7 +381,7 @@ public function addAlias($name, $replace = false) * * @param string $name Alias name * @return \Elastica\Response Response - * @link http://www.elasticsearch.org/guide/reference/api/admin-indices-aliases.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-aliases.html */ public function removeAlias($name) { @@ -396,7 +396,7 @@ public function removeAlias($name) * Clears the cache of an index * * @return \Elastica\Response Response object - * @link http://www.elasticsearch.org/guide/reference/api/admin-indices-clearcache.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-clearcache.html */ public function clearCache() { @@ -409,7 +409,7 @@ public function clearCache() * Flushes the index to storage * * @return \Elastica\Response Response object - * @link http://www.elasticsearch.org/guide/reference/api/admin-indices-flush.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-flush.html */ public function flush($refresh = false) { @@ -419,12 +419,11 @@ public function flush($refresh = false) } /** - * Can be used to change settings during runtime. One example is to use - * if for bulk updating {@link http://www.elasticsearch.org/blog/2011/03/23/update-settings.html} + * Can be used to change settings during runtime. One example is to use it for bulk updating * * @param array $data Data array * @return \Elastica\Response Response object - * @link http://www.elasticsearch.org/guide/reference/api/admin-indices-update-settings.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-update-settings.html */ public function setSettings(array $data) { @@ -455,7 +454,7 @@ public function request($path, $method, $data = array(), array $query = array()) * @param string $text String to be analyzed * @param array $args OPTIONAL Additional arguments * @return array Server response - * @link http://www.elasticsearch.org/guide/reference/api/admin-indices-analyze.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-analyze.html */ public function analyze($text, $args = array()) { diff --git a/lib/Elastica/Index/Settings.php b/lib/Elastica/Index/Settings.php index 4eb0472d4c..70c0d26852 100644 --- a/lib/Elastica/Index/Settings.php +++ b/lib/Elastica/Index/Settings.php @@ -10,15 +10,15 @@ /** * Elastica index settings object * - * All settings listed in the update settings API (http://www.elasticsearch.org/guide/reference/api/admin-indices-update-settings.html) - * can be changed on a running indices. To make changes like the merge policy (http://www.elasticsearch.org/guide/reference/index-modules/merge.html) + * All settings listed in the update settings API (http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-update-settings.html) + * can be changed on a running indices. To make changes like the merge policy (http://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules-merge.html) * the index has to be closed first and reopened after the call * * @category Xodoa * @package Elastica * @author Nicolas Ruflin - * @link http://www.elasticsearch.org/guide/reference/api/admin-indices-update-settings.html - * @link http://www.elasticsearch.org/guide/reference/index-modules/merge.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-update-settings.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules-merge.html */ class Settings { @@ -63,7 +63,7 @@ public function __construct(BaseIndex $index) * * @param string $setting OPTIONAL Setting name to return * @return array|string|null Settings data - * @link http://www.elasticsearch.org/guide/reference/api/admin-indices-update-settings.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-update-settings.html */ public function get($setting = '') { @@ -255,7 +255,7 @@ public function getMergePolicyType() * * @param string $type Merge policy type * @return \Elastica\Response Response object - * @link http://www.elasticsearch.org/guide/reference/index-modules/merge.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules-merge.html */ public function setMergePolicyType($type) { @@ -274,7 +274,7 @@ public function setMergePolicyType($type) * @param string $key Merge policy key (for ex. expunge_deletes_allowed) * @param string $value * @return \Elastica\Response - * @link http://www.elasticsearch.org/guide/reference/index-modules/merge.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules-merge.html */ public function setMergePolicy($key, $value) { @@ -290,7 +290,7 @@ public function setMergePolicy($key, $value) * * @param string $key Merge policy key (for ex. expunge_deletes_allowed) * @return string Refresh interval - * @link http://www.elasticsearch.org/guide/reference/index-modules/merge.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules-merge.html */ public function getMergePolicy($key) { diff --git a/lib/Elastica/Index/Stats.php b/lib/Elastica/Index/Stats.php index 6195eee0c2..ab78ee194c 100644 --- a/lib/Elastica/Index/Stats.php +++ b/lib/Elastica/Index/Stats.php @@ -11,7 +11,7 @@ * @category Xodoa * @package Elastica * @author Nicolas Ruflin - * @link http://www.elasticsearch.org/guide/reference/api/admin-indices-stats.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-stats.html */ class Stats { diff --git a/lib/Elastica/Index/Status.php b/lib/Elastica/Index/Status.php index 8ead841e84..550fc727f1 100644 --- a/lib/Elastica/Index/Status.php +++ b/lib/Elastica/Index/Status.php @@ -11,7 +11,7 @@ * @category Xodoa * @package Elastica * @author Nicolas Ruflin - * @link http://www.elasticsearch.org/guide/reference/api/admin-indices-status.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-status.html */ class Status { diff --git a/lib/Elastica/JSON.php b/lib/Elastica/JSON.php index 576be89ead..1c51063edf 100644 --- a/lib/Elastica/JSON.php +++ b/lib/Elastica/JSON.php @@ -15,7 +15,7 @@ class JSON * Parse JSON string to an array * * @link http://php.net/manual/en/function.json-decode.php - * @link http://www.php.net/manual/en/function.json-last-error.php + * @link http://php.net/manual/en/function.json-last-error.php * * @param string $json JSON string to parse * @return array PHP array representation of JSON string diff --git a/lib/Elastica/Multi/Search.php b/lib/Elastica/Multi/Search.php index e7e46a3b67..427dddf359 100644 --- a/lib/Elastica/Multi/Search.php +++ b/lib/Elastica/Multi/Search.php @@ -13,7 +13,7 @@ * @category Xodoa * @package Elastica * @author munkie - * @link http://www.elasticsearch.org/guide/reference/api/multi-search.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html */ class Search { diff --git a/lib/Elastica/Node.php b/lib/Elastica/Node.php index 87ba837734..6f5da6273a 100644 --- a/lib/Elastica/Node.php +++ b/lib/Elastica/Node.php @@ -11,7 +11,6 @@ * @category Xodoa * @package Elastica * @author Nicolas Ruflin - * @link http://www.elasticsearch.org/guide/reference/api/admin-indices-status.html */ class Node { @@ -79,6 +78,7 @@ public function getClient() /** * Return stats object of the current node * + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html * @return \Elastica\Node\Stats Node stats */ public function getStats() @@ -93,6 +93,7 @@ public function getStats() /** * Return info object of the current node * + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-info.html * @return \Elastica\Node\Info Node info object */ public function getInfo() @@ -120,7 +121,7 @@ public function refresh() * * @param string $delay OPTIONAL Delay after which node is shut down (default = 1s) * @return \Elastica\Response - * @link http://www.elasticsearch.org/guide/reference/api/admin-cluster-nodes-shutdown.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-shutdown.html */ public function shutdown($delay = '1s') { diff --git a/lib/Elastica/Node/Info.php b/lib/Elastica/Node/Info.php index 43e13587ae..72a6fedb3a 100644 --- a/lib/Elastica/Node/Info.php +++ b/lib/Elastica/Node/Info.php @@ -11,7 +11,7 @@ * @category Xodoa * @package Elastica * @author Nicolas Ruflin - * @link http://www.elasticsearch.org/guide/reference/api/admin-indices-status.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-status.html */ class Info { @@ -113,7 +113,7 @@ public function getIp() /** * Return data regarding plugins installed on this node * @return array plugin data - * @link http://www.elasticsearch.org/guide/reference/api/admin-cluster-nodes-info/ + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-info.html */ public function getPlugins() { diff --git a/lib/Elastica/Node/Stats.php b/lib/Elastica/Node/Stats.php index 2c3416beb6..752da372f4 100644 --- a/lib/Elastica/Node/Stats.php +++ b/lib/Elastica/Node/Stats.php @@ -11,7 +11,7 @@ * @category Xodoa * @package Elastica * @author Nicolas Ruflin - * @link http://www.elasticsearch.org/guide/reference/api/admin-indices-status.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-status.html */ class Stats { diff --git a/lib/Elastica/Percolator.php b/lib/Elastica/Percolator.php index 10a0a8cbab..ffba01d109 100644 --- a/lib/Elastica/Percolator.php +++ b/lib/Elastica/Percolator.php @@ -8,7 +8,7 @@ * @category Xodoa * @package Elastica * @author Nicolas Ruflin - * @link http://www.elasticsearch.org/guide/reference/api/percolate/ + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-percolate.html */ class Percolator { diff --git a/lib/Elastica/Query.php b/lib/Elastica/Query.php index 37e3e93af1..5f90524c83 100644 --- a/lib/Elastica/Query.php +++ b/lib/Elastica/Query.php @@ -21,7 +21,7 @@ * @category Xodoa * @package Elastica * @author Nicolas Ruflin - * @link http://www.elasticsearch.org/guide/reference/api/search/ + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-body.html */ class Query extends Param { @@ -161,7 +161,7 @@ public function setFrom($from) * * @param array $sortArgs Sorting arguments * @return $this - * @link http://www.elasticsearch.org/guide/reference/api/search/sort.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-sort.html */ public function setSort(array $sortArgs) { @@ -173,7 +173,7 @@ public function setSort(array $sortArgs) * * @param mixed $sort Sort parameter * @return $this - * @link http://www.elasticsearch.org/guide/reference/api/search/sort.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-sort.html */ public function addSort($sort) { @@ -185,7 +185,7 @@ public function addSort($sort) * * @param array $highlightArgs Set all highlight arguments * @return $this - * @link http://www.elasticsearch.org/guide/reference/api/search/highlighting.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-highlighting.html */ public function setHighlight(array $highlightArgs) { @@ -197,7 +197,7 @@ public function setHighlight(array $highlightArgs) * * @param mixed $highlight Add highlight argument * @return $this - * @link http://www.elasticsearch.org/guide/reference/api/search/highlighting.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-highlighting.html */ public function addHighlight($highlight) { @@ -232,7 +232,7 @@ public function setLimit($limit = 10) * * @param bool $explain OPTIONAL Enabled or disable explain (default = true) * @return $this - * @link http://www.elasticsearch.org/guide/reference/api/search/explain.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-explain.html */ public function setExplain($explain = true) { @@ -244,7 +244,7 @@ public function setExplain($explain = true) * * @param bool $version OPTIONAL Enabled or disable version (default = true) * @return $this - * @link http://www.elasticsearch.org/guide/reference/api/search/version.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-version.html */ public function setVersion($version = true) { @@ -258,7 +258,7 @@ public function setVersion($version = true) * * @param array $fields Fields to be returned * @return $this - * @link http://www.elasticsearch.org/guide/reference/api/search/fields.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-fields.html */ public function setFields(array $fields) { @@ -270,7 +270,7 @@ public function setFields(array $fields) * * @param array|\Elastica\ScriptFields $scriptFields Script fields * @return $this - * @link http://www.elasticsearch.org/guide/reference/api/search/script-fields.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-script-fields.html */ public function setScriptFields($scriptFields) { @@ -300,7 +300,7 @@ public function addScriptField($name, Script $script) * * @param array $facets List of facet objects * @return $this - * @link http://www.elasticsearch.org/guide/reference/api/search/facets/ + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-facets.html */ public function setFacets(array $facets) { @@ -414,7 +414,7 @@ public function setRescore($rescore) * * @param array $fields Fields to be returned * @return $this - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/search-request-source-filtering.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-source-filtering.html */ public function setSource(array $fields) { @@ -424,9 +424,9 @@ public function setSource(array $fields) /** * Sets post_filter argument for the query. The filter is applied after the query has executed * - * @param array|\Elastica\Filter\AbstractFilter $filter + * @param array|\Elastica\Filter\AbstractFilter $filter * @return $this - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-request-post-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-post-filter.html */ public function setPostFilter($filter) { diff --git a/lib/Elastica/Query/Bool.php b/lib/Elastica/Query/Bool.php index c44928307e..033b779dbb 100644 --- a/lib/Elastica/Query/Bool.php +++ b/lib/Elastica/Query/Bool.php @@ -10,7 +10,7 @@ * @category Xodoa * @package Elastica * @author Nicolas Ruflin - * @link http://www.elasticsearch.org/guide/reference/query-dsl/bool-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-bool-query.html */ class Bool extends AbstractQuery { diff --git a/lib/Elastica/Query/Boosting.php b/lib/Elastica/Query/Boosting.php index 4d7f80f79a..c1852a8401 100644 --- a/lib/Elastica/Query/Boosting.php +++ b/lib/Elastica/Query/Boosting.php @@ -6,7 +6,7 @@ * Class Boosting * @package Elastica\Query * @author Balazs Nadasdi - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-boosting-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-boosting-query.html */ class Boosting extends AbstractQuery { diff --git a/lib/Elastica/Query/Builder.php b/lib/Elastica/Query/Builder.php index b7ff1eb6b7..dd9526cc3f 100644 --- a/lib/Elastica/Query/Builder.php +++ b/lib/Elastica/Query/Builder.php @@ -12,7 +12,7 @@ * @category Xodoa * @package Elastica * @author Chris Gedrim - * @link http://www.elasticsearch.org/ + * @link http://www.elastic.co/ **/ class Builder extends AbstractQuery { diff --git a/lib/Elastica/Query/Common.php b/lib/Elastica/Query/Common.php index 49b3fc8aeb..e1bcf84438 100644 --- a/lib/Elastica/Query/Common.php +++ b/lib/Elastica/Query/Common.php @@ -5,7 +5,7 @@ /** * Class Common * @package Elastica - * @link http://www.elasticsearch.org/guide/reference/query-dsl/common-terms-query/ + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-common-terms-query.html */ class Common extends AbstractQuery { @@ -90,7 +90,7 @@ public function setHighFrequencyOperator($operator) * Set the minimum_should_match parameter * @param int|string $minimum minimum number of low frequency terms which must be present * @return $this - * @link Possible values for minimum_should_match http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-minimum-should-match.html + * @link Possible values for minimum_should_match http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-minimum-should-match.html */ public function setMinimumShouldMatch($minimum) { diff --git a/lib/Elastica/Query/ConstantScore.php b/lib/Elastica/Query/ConstantScore.php index 93f9306487..ed345401a0 100644 --- a/lib/Elastica/Query/ConstantScore.php +++ b/lib/Elastica/Query/ConstantScore.php @@ -10,7 +10,7 @@ * @category Xodoa * @package Elastica * @author Nicolas Ruflin - * @link http://www.elasticsearch.org/guide/reference/query-dsl/constant-score-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-constant-score-query.html */ class ConstantScore extends AbstractQuery { diff --git a/lib/Elastica/Query/DisMax.php b/lib/Elastica/Query/DisMax.php index 4eea7e0f3b..72ea7f910b 100644 --- a/lib/Elastica/Query/DisMax.php +++ b/lib/Elastica/Query/DisMax.php @@ -10,7 +10,7 @@ * @category Xodoa * @package Elastica * @author Hung Tran - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-dis-max-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-dis-max-query.html */ class DisMax extends AbstractQuery { diff --git a/lib/Elastica/Query/Filtered.php b/lib/Elastica/Query/Filtered.php index 06a693038e..38783b8df2 100644 --- a/lib/Elastica/Query/Filtered.php +++ b/lib/Elastica/Query/Filtered.php @@ -11,7 +11,7 @@ * @category Xodoa * @package Elastica * @author Nicolas Ruflin - * @link http://www.elasticsearch.org/guide/reference/query-dsl/filtered-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-filtered-query.html */ class Filtered extends AbstractQuery { diff --git a/lib/Elastica/Query/FunctionScore.php b/lib/Elastica/Query/FunctionScore.php index 3f48faa46b..b325569650 100644 --- a/lib/Elastica/Query/FunctionScore.php +++ b/lib/Elastica/Query/FunctionScore.php @@ -8,7 +8,7 @@ /** * Class FunctionScore * @package Elastica\Query - * @link http://www.elasticsearch.org/guide/reference/query-dsl/function-score-query/ + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-function-score-query.html */ class FunctionScore extends AbstractQuery { diff --git a/lib/Elastica/Query/Fuzzy.php b/lib/Elastica/Query/Fuzzy.php index 4663ddba83..10cfc5fb29 100644 --- a/lib/Elastica/Query/Fuzzy.php +++ b/lib/Elastica/Query/Fuzzy.php @@ -10,7 +10,7 @@ * @category Xodoa * @package Elastica * @author Nicolas Ruflin - * @link http://www.elasticsearch.org/guide/reference/query-dsl/fuzzy-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-fuzzy-query.html */ class Fuzzy extends AbstractQuery { diff --git a/lib/Elastica/Query/FuzzyLikeThis.php b/lib/Elastica/Query/FuzzyLikeThis.php index bda29d21bf..605484e16e 100644 --- a/lib/Elastica/Query/FuzzyLikeThis.php +++ b/lib/Elastica/Query/FuzzyLikeThis.php @@ -8,7 +8,7 @@ * @category Xodoa * @package Elastica * @author Raul Martinez, Jr - * @link http://www.elasticsearch.org/guide/reference/query-dsl/flt-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-flt-query.html */ class FuzzyLikeThis extends AbstractQuery { diff --git a/lib/Elastica/Query/HasChild.php b/lib/Elastica/Query/HasChild.php index e398d368a1..2578f003f0 100644 --- a/lib/Elastica/Query/HasChild.php +++ b/lib/Elastica/Query/HasChild.php @@ -10,7 +10,7 @@ * @category Xodoa * @package Elastica * @author Fabian Vogler - * @link http://www.elasticsearch.org/guide/reference/query-dsl/has-child-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-has-child-query.html */ class HasChild extends AbstractQuery { diff --git a/lib/Elastica/Query/HasParent.php b/lib/Elastica/Query/HasParent.php index 8ea282f189..7b880f0247 100644 --- a/lib/Elastica/Query/HasParent.php +++ b/lib/Elastica/Query/HasParent.php @@ -9,7 +9,7 @@ * * @category Xodoa * @package Elastica - * @link http://www.elasticsearch.org/guide/reference/query-dsl/has-parent-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-has-parent-query.html */ class HasParent extends AbstractQuery { diff --git a/lib/Elastica/Query/Ids.php b/lib/Elastica/Query/Ids.php index 3f693c2a08..7f07a75d0b 100644 --- a/lib/Elastica/Query/Ids.php +++ b/lib/Elastica/Query/Ids.php @@ -12,7 +12,7 @@ * @author Lee Parker * @author Nicolas Ruflin * @author Tim Rupp - * @link http://www.elasticsearch.org/guide/reference/query-dsl/ids-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-ids-query.html */ class Ids extends AbstractQuery { diff --git a/lib/Elastica/Query/Match.php b/lib/Elastica/Query/Match.php index e9a1f8ea0f..4cddd58719 100644 --- a/lib/Elastica/Query/Match.php +++ b/lib/Elastica/Query/Match.php @@ -9,7 +9,7 @@ * @package Elastica * @author F21 * @author WONG Wing Lun - * @link http://www.elasticsearch.org/guide/reference/query-dsl/match-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-query.html */ class Match extends AbstractQuery { @@ -115,7 +115,7 @@ public function setFieldBoost($field, $boost = 1.0) * @param string $field * @param int|string $minimumShouldMatch * @return $this - * @link Possible values for minimum_should_match http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-minimum-should-match.html + * @link Possible values for minimum_should_match http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-minimum-should-match.html */ public function setFieldMinimumShouldMatch($field, $minimumShouldMatch) { diff --git a/lib/Elastica/Query/MatchAll.php b/lib/Elastica/Query/MatchAll.php index 23b4fdfc74..89851da9d6 100644 --- a/lib/Elastica/Query/MatchAll.php +++ b/lib/Elastica/Query/MatchAll.php @@ -8,7 +8,7 @@ * @category Xodoa * @package Elastica * @author Nicolas Ruflin - * @link http://www.elasticsearch.org/guide/reference/query-dsl/match-all-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-all-query.html */ class MatchAll extends AbstractQuery { diff --git a/lib/Elastica/Query/MatchPhrase.php b/lib/Elastica/Query/MatchPhrase.php index 2aa1d32001..9449ac3f1c 100644 --- a/lib/Elastica/Query/MatchPhrase.php +++ b/lib/Elastica/Query/MatchPhrase.php @@ -8,7 +8,7 @@ * @category Xodoa * @package Elastica * @author Jacques Moati - * @link http://www.elasticsearch.org/guide/reference/query-dsl/match-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-query.html#_phrase */ class MatchPhrase extends Match { diff --git a/lib/Elastica/Query/MatchPhrasePrefix.php b/lib/Elastica/Query/MatchPhrasePrefix.php index 10627e415d..326ce42cfa 100644 --- a/lib/Elastica/Query/MatchPhrasePrefix.php +++ b/lib/Elastica/Query/MatchPhrasePrefix.php @@ -8,7 +8,7 @@ * @category Xodoa * @package Elastica * @author Jacques Moati - * @link http://www.elasticsearch.org/guide/reference/query-dsl/match-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-query.html#_match_phrase_prefix */ class MatchPhrasePrefix extends Match { diff --git a/lib/Elastica/Query/MoreLikeThis.php b/lib/Elastica/Query/MoreLikeThis.php index 51a49a6411..4232710def 100644 --- a/lib/Elastica/Query/MoreLikeThis.php +++ b/lib/Elastica/Query/MoreLikeThis.php @@ -8,7 +8,7 @@ * @category Xodoa * @package Elastica * @author Raul Martinez, Jr - * @link http://www.elasticsearch.org/guide/reference/query-dsl/mlt-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-mlt-query.html */ class MoreLikeThis extends AbstractQuery { @@ -129,7 +129,6 @@ public function setMaxWordLength($maxWordLength) * * @param bool $boostTerms * @return $this - * @link http://www.elasticsearch.org/guide/reference/query-dsl/mlt-query.html */ public function setBoostTerms($boostTerms) { diff --git a/lib/Elastica/Query/MultiMatch.php b/lib/Elastica/Query/MultiMatch.php index c21e59704d..bab9b188ac 100644 --- a/lib/Elastica/Query/MultiMatch.php +++ b/lib/Elastica/Query/MultiMatch.php @@ -10,7 +10,7 @@ * @author Rodolfo Adhenawer Campagnoli Moraes * @author Wong Wing Lun * @author Tristan Maindron - * @link http://www.elasticsearch.org/guide/reference/query-dsl/multi-match-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-multi-match-query.html */ class MultiMatch extends AbstractQuery { diff --git a/lib/Elastica/Query/Nested.php b/lib/Elastica/Query/Nested.php index f223b0d2e3..1275d19721 100644 --- a/lib/Elastica/Query/Nested.php +++ b/lib/Elastica/Query/Nested.php @@ -8,7 +8,7 @@ * @category Xodoa * @package Elastica * @author Nicolas Ruflin - * @link http://www.elasticsearch.org/guide/reference/query-dsl/nested-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-nested-query.html */ class Nested extends AbstractQuery { diff --git a/lib/Elastica/Query/Prefix.php b/lib/Elastica/Query/Prefix.php index bb3e79f717..fa97b19e08 100644 --- a/lib/Elastica/Query/Prefix.php +++ b/lib/Elastica/Query/Prefix.php @@ -7,7 +7,7 @@ * * @category Xodoa * @package Elastica - * @link http://www.elasticsearch.org/guide/reference/query-dsl/prefix-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-prefix-query.html */ class Prefix extends AbstractQuery { diff --git a/lib/Elastica/Query/QueryString.php b/lib/Elastica/Query/QueryString.php index f004a97131..0382f7824b 100644 --- a/lib/Elastica/Query/QueryString.php +++ b/lib/Elastica/Query/QueryString.php @@ -10,7 +10,7 @@ * @category Xodoa * @package Elastica * @author Nicolas Ruflin , Jasper van Wanrooy - * @link http://www.elasticsearch.org/guide/reference/query-dsl/query-string-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html */ class QueryString extends AbstractQuery { diff --git a/lib/Elastica/Query/Range.php b/lib/Elastica/Query/Range.php index 361d1e58c6..0322bc9ff7 100644 --- a/lib/Elastica/Query/Range.php +++ b/lib/Elastica/Query/Range.php @@ -8,7 +8,7 @@ * @category Xodoa * @package Elastica * @author Nicolas Ruflin - * @link http://www.elasticsearch.org/guide/reference/query-dsl/range-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-range-query.html */ class Range extends AbstractQuery { diff --git a/lib/Elastica/Query/Regexp.php b/lib/Elastica/Query/Regexp.php index 835621d1d3..e6ca486753 100644 --- a/lib/Elastica/Query/Regexp.php +++ b/lib/Elastica/Query/Regexp.php @@ -8,7 +8,7 @@ * @category Xodoa * @package Elastica * @author Aurélien Le Grand - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-regexp-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-regexp-query.html */ class Regexp extends AbstractQuery { diff --git a/lib/Elastica/Query/SimpleQueryString.php b/lib/Elastica/Query/SimpleQueryString.php index ebf1e34a0a..23225c06b0 100644 --- a/lib/Elastica/Query/SimpleQueryString.php +++ b/lib/Elastica/Query/SimpleQueryString.php @@ -5,7 +5,7 @@ /** * Class SimpleQueryString * @package Elastica\Query - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-simple-query-string-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-simple-query-string-query.html */ class SimpleQueryString extends AbstractQuery { diff --git a/lib/Elastica/Query/Term.php b/lib/Elastica/Query/Term.php index f16f6f2a7d..24f1843897 100644 --- a/lib/Elastica/Query/Term.php +++ b/lib/Elastica/Query/Term.php @@ -8,7 +8,7 @@ * @category Xodoa * @package Elastica * @author Nicolas Ruflin - * @link http://www.elasticsearch.org/guide/reference/query-dsl/term-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-term-query.html */ class Term extends AbstractQuery { diff --git a/lib/Elastica/Query/Terms.php b/lib/Elastica/Query/Terms.php index 3166691632..713829f5cc 100644 --- a/lib/Elastica/Query/Terms.php +++ b/lib/Elastica/Query/Terms.php @@ -10,7 +10,7 @@ * @category Xodoa * @package Elastica * @author Nicolas Ruflin - * @link http://www.elasticsearch.org/guide/reference/query-dsl/terms-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-terms-query.html */ class Terms extends AbstractQuery { diff --git a/lib/Elastica/Query/TopChildren.php b/lib/Elastica/Query/TopChildren.php index 82cbaa2f15..0eab232f37 100644 --- a/lib/Elastica/Query/TopChildren.php +++ b/lib/Elastica/Query/TopChildren.php @@ -10,7 +10,7 @@ * @category Xodoa * @package Elastica * @author Wu Yang - * @link http://www.elasticsearch.org/guide/reference/query-dsl/top-children-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-top-children-query.html */ class TopChildren extends AbstractQuery { diff --git a/lib/Elastica/Query/Wildcard.php b/lib/Elastica/Query/Wildcard.php index f807956706..9042a055b7 100644 --- a/lib/Elastica/Query/Wildcard.php +++ b/lib/Elastica/Query/Wildcard.php @@ -8,7 +8,7 @@ * @category Xodoa * @package Elastica * @author Nicolas Ruflin - * @link http://www.elasticsearch.org/guide/reference/query-dsl/wildcard-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-wildcard-query.html */ class Wildcard extends AbstractQuery { diff --git a/lib/Elastica/QueryBuilder/DSL/Aggregation.php b/lib/Elastica/QueryBuilder/DSL/Aggregation.php index 29892f5727..770c896a16 100644 --- a/lib/Elastica/QueryBuilder/DSL/Aggregation.php +++ b/lib/Elastica/QueryBuilder/DSL/Aggregation.php @@ -36,7 +36,7 @@ * * @package Elastica * @author Manuel Andreo Garcia - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations.html */ class Aggregation implements DSL { @@ -53,7 +53,7 @@ public function getType() /** * min aggregation * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-metrics-min-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-min-aggregation.html * @param string $name * @return Min */ @@ -65,7 +65,7 @@ public function min($name) /** * max aggregation * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-metrics-max-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-max-aggregation.html * @param string $name * @return Max */ @@ -77,7 +77,7 @@ public function max($name) /** * sum aggregation * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-metrics-max-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-sum-aggregation.html * @param string $name * @return Sum */ @@ -89,7 +89,7 @@ public function sum($name) /** * avg aggregation * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-metrics-avg-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-avg-aggregation.html * @param string $name * @return Avg */ @@ -101,7 +101,7 @@ public function avg($name) /** * stats aggregation * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-metrics-stats-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-stats-aggregation.html * @param string $name * @return Stats */ @@ -113,7 +113,7 @@ public function stats($name) /** * extended stats aggregation * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-metrics-extendedstats-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-extendedstats-aggregation.html * @param string $name * @return ExtendedStats */ @@ -125,7 +125,7 @@ public function extended_stats($name) /** * value count aggregation * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-metrics-valuecount-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-valuecount-aggregation.html * @param string $name * @param string $field * @return ValueCount @@ -138,7 +138,7 @@ public function value_count($name, $field) /** * percentiles aggregation * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-metrics-percentile-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-percentile-aggregation.html * @param string $name the name of this aggregation * @param string $field the field on which to perform this aggregation * @return Percentiles @@ -151,7 +151,7 @@ public function percentiles($name, $field = null) /** * percentile ranks aggregation * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-metrics-percentile-rank-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-percentile-rank-aggregation.html * @param string $name */ public function percentile_ranks($name) @@ -162,7 +162,7 @@ public function percentile_ranks($name) /** * cardinality aggregation * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-metrics-cardinality-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-cardinality-aggregation.html * @param string $name * @return Cardinality */ @@ -174,7 +174,7 @@ public function cardinality($name) /** * geo bounds aggregation * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-metrics-geobounds-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-geobounds-aggregation.html * @param string $name */ public function geo_bounds($name) @@ -185,7 +185,7 @@ public function geo_bounds($name) /** * top hits aggregation * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-metrics-top-hits-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-top-hits-aggregation.html * @param string $name * @return TopHits */ @@ -197,7 +197,7 @@ public function top_hits($name) /** * scripted metric aggregation * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-metrics-scripted-metric-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-metrics-scripted-metric-aggregation.html * * @param string $name * @param string|null $initScript @@ -215,7 +215,7 @@ public function scripted_metric($name, $initScript = null, $mapScript = null, $c /** * global aggregation * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-bucket-global-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-global-aggregation.html * @param string $name * @return GlobalAggregation */ @@ -227,7 +227,7 @@ public function global_agg($name) /** * filter aggregation * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-bucket-filter-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-filter-aggregation.html * @param string $name * @param AbstractFilter $filter * @return FilterAggregation @@ -243,7 +243,7 @@ public function filter($name, AbstractFilter $filter) /** * filters aggregation * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-bucket-filters-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-filters-aggregation.html * @param string $name * @return Filters */ @@ -255,7 +255,7 @@ public function filters($name) /** * missing aggregation * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-bucket-missing-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-missing-aggregation.html * @param string $name * @param string $field * @return Missing @@ -268,7 +268,7 @@ public function missing($name, $field) /** * nested aggregation * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-bucket-nested-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-nested-aggregation.html * @param string $name * @param string $path the nested path for this aggregation * @return Nested @@ -281,7 +281,7 @@ public function nested($name, $path) /** * reverse nested aggregation * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-bucket-reverse-nested-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-reverse-nested-aggregation.html * @param string $name * @return ReverseNested */ @@ -293,7 +293,7 @@ public function reverse_nested($name) /** * children aggregation * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-bucket-children-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-children-aggregation.html * @param string $name */ public function children($name) @@ -304,7 +304,7 @@ public function children($name) /** * terms aggregation * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-bucket-terms-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-terms-aggregation.html * @param string $name * @return Terms */ @@ -316,7 +316,7 @@ public function terms($name) /** * significant terms aggregation * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-bucket-significantterms-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-significantterms-aggregation.html * @param string $name */ public function significant_terms($name) @@ -327,7 +327,7 @@ public function significant_terms($name) /** * range aggregation * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-bucket-range-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-range-aggregation.html * @param string $name * @return Range */ @@ -339,7 +339,7 @@ public function range($name) /** * date range aggregation * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-bucket-daterange-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-daterange-aggregation.html * @param string $name * @return DateRange */ @@ -351,7 +351,7 @@ public function date_range($name) /** * ipv4 range aggregation * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-bucket-iprange-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-iprange-aggregation.html * @param string $name * @param string $field * @return IpRange @@ -364,7 +364,7 @@ public function ipv4_range($name, $field) /** * histogram aggregation * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-bucket-histogram-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-histogram-aggregation.html * @param string $name the name of this aggregation * @param string $field the name of the field on which to perform the aggregation * @param int $interval the interval by which documents will be bucketed @@ -378,7 +378,7 @@ public function histogram($name, $field, $interval) /** * date histogram aggregation * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-bucket-datehistogram-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-datehistogram-aggregation.html * @param string $name the name of this aggregation * @param string $field the name of the field on which to perform the aggregation * @param int $interval the interval by which documents will be bucketed @@ -392,7 +392,7 @@ public function date_histogram($name, $field, $interval) /** * geo distance aggregation * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-bucket-geodistance-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-geodistance-aggregation.html * @param string $name the name if this aggregation * @param string $field the field on which to perform this aggregation * @param string|array $origin the point from which distances will be calculated @@ -406,7 +406,7 @@ public function geo_distance($name, $field, $origin) /** * geohash grid aggregation * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-bucket-geohashgrid-aggregation.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-geohashgrid-aggregation.html * @param string $name the name of this aggregation * @param string $field the field on which to perform this aggregation * @return GeohashGrid diff --git a/lib/Elastica/QueryBuilder/DSL/Filter.php b/lib/Elastica/QueryBuilder/DSL/Filter.php index 8667e54dee..6918a64c7e 100644 --- a/lib/Elastica/QueryBuilder/DSL/Filter.php +++ b/lib/Elastica/QueryBuilder/DSL/Filter.php @@ -40,7 +40,7 @@ * * @package Elastica * @author Manuel Andreo Garcia - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-filters.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-filters.html */ class Filter implements DSL { @@ -57,7 +57,7 @@ public function getType() /** * and filter * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-and-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-and-filter.html * @param AbstractFilter[] $filters * @return BoolAnd */ @@ -72,7 +72,7 @@ public function bool_and(array $filters) /** * bool filter * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-bool-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-bool-filter.html * @return \Elastica\Filter\Bool */ public function bool() @@ -83,7 +83,7 @@ public function bool() /** * exists filter * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-exists-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-exists-filter.html * @param string $field * @return Exists */ @@ -95,7 +95,7 @@ public function exists($field) /** * geo bounding box filter * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-geo-bounding-box-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-geo-bounding-box-filter.html * @param string $field * @param array $coordinates * @return GeoBoundingBox @@ -108,7 +108,7 @@ public function geo_bounding_box($field, array $coordinates) /** * geo distance filter * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-geo-distance-filter.htm + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-geo-distance-filter.html * @param string $key Key * @param array|string $location Location as array or geohash: array('lat' => 48.86, 'lon' => 2.35) OR 'drm3btev3e86' * @param string $distance Distance @@ -122,7 +122,7 @@ public function geo_distance($key, $location, $distance) /** * geo distance rangefilter * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-geo-distance-range-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-geo-distance-range-filter.html * @param string $key * @param array|string $location * @param array $ranges @@ -136,7 +136,7 @@ public function geo_distance_range($key, $location, array $ranges = array()) /** * geo polygon filter * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-geo-polygon-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-geo-polygon-filter.html * @param string $key Key * @param array $points Points making up polygon * @return GeoPolygon @@ -149,7 +149,7 @@ public function geo_polygon($key, array $points) /** * provided geo shape filter * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-geo-shape-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-geo-shape-filter.html#_provided_shape_definition * @param string $path * @param array $coordinates * @param string $shapeType @@ -163,7 +163,7 @@ public function geo_shape_provided($path, array $coordinates, $shapeType = GeoSh /** * pre indexed geo shape filter * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-geo-shape-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-geo-shape-filter.html#_pre_indexed_shape * @param string $path The path/field of the shape searched * @param string $indexedId Id of the pre-indexed shape * @param string $indexedType Type of the pre-indexed shape @@ -179,7 +179,7 @@ public function geo_shape_pre_indexed($path, $indexedId, $indexedType, $indexedI /** * geohash cell filter * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-geohash-cell-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-geohash-cell-filter.html * @param string $field The field on which to filter * @param array|string $location Location as coordinates array or geohash string ['lat' => 40.3, 'lon' => 45.2] * @param int|string $precision length of geohash prefix or distance (3, or "50m") @@ -194,7 +194,7 @@ public function geohash_cell($field, $location, $precision = -1, $neighbors = fa /** * has child filter * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-has-child-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-has-child-filter.html * @param AbstractQuery|AbstractFilter $query * @param string $type * @return HasChild @@ -207,7 +207,7 @@ public function has_child($query, $type) /** * has parent filter * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-has-parent-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-has-parent-filter.html * @param AbstractQuery|AbstractFilter $query * @param string $type * @return HasParent @@ -220,7 +220,7 @@ public function has_parent($query, $type) /** * ids filter * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-ids-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-ids-filter.html * @param string|\Elastica\Type $type * @param array $ids * @return Ids @@ -233,7 +233,7 @@ public function ids($type, array $ids) /** * indices filter * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-indices-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-indices-filter.html * @param AbstractFilter $filter filter which will be applied to docs in the specified indices * @param string[] $indices * @return Indices @@ -246,7 +246,7 @@ public function indices(AbstractFilter $filter, array $indices) /** * limit filter * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-limit-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-limit-filter.html * @param int $limit Limit * @return Limit */ @@ -258,7 +258,7 @@ public function limit($limit) /** * match all filter * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-match-all-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-all-filter.html * @return MatchAll */ public function match_all() @@ -269,7 +269,7 @@ public function match_all() /** * missing filter * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-missing-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-missing-filter.html * @param string $field * @return Missing */ @@ -281,7 +281,7 @@ public function missing($field) /** * nested filter * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-nested-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-nested-filter.html * @return Nested */ public function nested() @@ -292,7 +292,7 @@ public function nested() /** * not filter * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-not-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-not-filter.html * @param AbstractFilter $filter * @return BoolNot */ @@ -304,7 +304,7 @@ public function bool_not(AbstractFilter $filter) /** * numeric range filter * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/0.90/query-dsl-numeric-range-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/0.90/query-dsl-numeric-range-filter.html * @return NumericRange */ public function numeric_range() @@ -315,7 +315,7 @@ public function numeric_range() /** * or filter * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-or-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-or-filter.html * @param AbstractFilter[] $filters * @return BoolOr */ @@ -330,7 +330,7 @@ public function bool_or($filters) /** * prefix filter * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-prefix-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-prefix-filter.html * @param string $field * @param string $prefix * @return Prefix @@ -343,7 +343,7 @@ public function prefix($field, $prefix) /** * query filter * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-query-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-filter.html * @param AbstractQuery $query * @return QueryFilter */ @@ -355,7 +355,7 @@ public function query(AbstractQuery $query) /** * range filter * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-range-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-range-filter.html * @param string $fieldName * @param array $args * @return Range @@ -368,7 +368,7 @@ public function range($fieldName, array $args) /** * regexp filter * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-regexp-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-regexp-filter.html * @param string $field * @param string $regexp * @return Regexp @@ -381,7 +381,7 @@ public function regexp($field, $regexp) /** * script filter * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-script-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-script-filter.html * @param array|string|\Elastica\Script $script * @return Script */ @@ -393,7 +393,7 @@ public function script($script) /** * term filter * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-term-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-term-filter.html * @param array $term * @return Term */ @@ -405,7 +405,7 @@ public function term(array $term = array()) /** * terms filter * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-terms-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-terms-filter.html * @param string $field * @param array $terms * @return Terms @@ -418,7 +418,7 @@ public function terms($field, array $terms) /** * type filter * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-type-filter.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-type-filter.html * @param string $type * @return Type */ diff --git a/lib/Elastica/QueryBuilder/DSL/Query.php b/lib/Elastica/QueryBuilder/DSL/Query.php index d2ba0686e3..830fc3490b 100644 --- a/lib/Elastica/QueryBuilder/DSL/Query.php +++ b/lib/Elastica/QueryBuilder/DSL/Query.php @@ -38,7 +38,7 @@ * * @package Elastica * @author Manuel Andreo Garcia - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-queries.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-queries.html */ class Query implements DSL { @@ -55,7 +55,7 @@ public function getType() /** * match query * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-match-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-query.html * @param null|string $field * @param null|string $value * @return Match @@ -75,7 +75,7 @@ public function match($field = null, $value = null) /** * multi match query * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-multi-match-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-multi-match-query.html * @return \Elastica\Query\MultiMatch */ public function multi_match() @@ -86,7 +86,7 @@ public function multi_match() /** * bool query * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-bool-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-bool-query.html * @return \Elastica\Query\Bool */ public function bool() @@ -97,7 +97,7 @@ public function bool() /** * boosting query * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-boosting-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-boosting-query.html * @return Boosting */ public function boosting() @@ -108,7 +108,7 @@ public function boosting() /** * common terms query * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-common-terms-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-common-terms-query.html * @param string $field * @param string $query * @param float $cutoffFrequency percentage in decimal form (.001 == 0.1%) @@ -122,7 +122,7 @@ public function common_terms($field, $query, $cutoffFrequency) /** * custom filters score query * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/0.90/query-dsl-custom-filters-score-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/0.90/query-dsl-custom-filters-score-query.html */ public function custom_filters_score() { @@ -132,7 +132,7 @@ public function custom_filters_score() /** * custom score query * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/0.90/query-dsl-custom-score-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/0.90/query-dsl-custom-score-query.html */ public function custom_score() { @@ -142,7 +142,7 @@ public function custom_score() /** * custom boost factor query * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/0.90/query-dsl-custom-boost-factor-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/0.90/query-dsl-custom-boost-factor-query.html */ public function custom_boost_factor() { @@ -152,7 +152,7 @@ public function custom_boost_factor() /** * constant score query * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-constant-score-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-constant-score-query.html * @return ConstantScore */ public function constant_score() @@ -163,7 +163,7 @@ public function constant_score() /** * dis max query * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-dis-max-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-dis-max-query.html * @return DisMax */ public function dis_max() @@ -174,7 +174,7 @@ public function dis_max() /** * field query * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/0.90/query-dsl-field-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/0.90/query-dsl-field-query.html */ public function field() { @@ -186,7 +186,7 @@ public function field() * * @param AbstractFilter $filter * @param AbstractQuery $query - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-filtered-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-filtered-query.html * @return Filtered */ public function filtered(AbstractQuery $query, AbstractFilter $filter) @@ -197,7 +197,7 @@ public function filtered(AbstractQuery $query, AbstractFilter $filter) /** * fuzzy like this query * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-flt-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-flt-query.html * @return FuzzyLikeThis */ public function fuzzy_like_this() @@ -208,7 +208,7 @@ public function fuzzy_like_this() /** * fuzzy like this field query * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-flt-field-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-flt-field-query.html */ public function fuzzy_like_this_field() { @@ -218,7 +218,7 @@ public function fuzzy_like_this_field() /** * function score query * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-function-score-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-function-score-query.html * @return FunctionScore */ public function function_score() @@ -229,7 +229,7 @@ public function function_score() /** * fuzzy query * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-fuzzy-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-fuzzy-query.html * @return Fuzzy */ public function fuzzy() @@ -240,7 +240,7 @@ public function fuzzy() /** * geo shape query * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-geo-shape-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-geo-shape-query.html */ public function geo_shape() { @@ -250,7 +250,7 @@ public function geo_shape() /** * has child query * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-has-child-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-has-child-query.html * @param AbstractQuery $query * @param null|string $type * @return HasChild @@ -263,7 +263,7 @@ public function has_child(AbstractQuery $query, $type = null) /** * has parent query * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-has-parent-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-has-parent-query.html * @param AbstractQuery $query * @param string $type * @return HasParent @@ -276,7 +276,7 @@ public function has_parent(AbstractQuery $query, $type) /** * ids query * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-ids-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-ids-query.html * @param array|string|\Elastica\Type $type * @param array $ids * @return Ids @@ -289,7 +289,7 @@ public function ids($type, array $ids) /** * indices query * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-indices-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-indices-query.html */ public function indices() { @@ -299,7 +299,7 @@ public function indices() /** * match all query * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-match-all-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-match-all-query.html * @return MatchAll */ public function match_all() @@ -310,7 +310,7 @@ public function match_all() /** * more like this query * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-mlt-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-mlt-query.html * @return MoreLikeThis */ public function more_like_this() @@ -321,7 +321,7 @@ public function more_like_this() /** * more_like_this_field query * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-flt-field-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/1.4/query-dsl-mlt-field-query.html */ public function more_like_this_field() { @@ -331,7 +331,7 @@ public function more_like_this_field() /** * nested query * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-nested-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-nested-query.html * @return Nested */ public function nested() @@ -342,7 +342,7 @@ public function nested() /** * prefix query * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-prefix-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-prefix-query.html * @return Prefix */ public function prefix() @@ -353,7 +353,7 @@ public function prefix() /** * query string query * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html * @return QueryString */ public function query_string() @@ -364,7 +364,7 @@ public function query_string() /** * simple_query_string query * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-simple-query-string-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-simple-query-string-query.html * @param string $query * @param array $fields * @return SimpleQueryString @@ -377,7 +377,7 @@ public function simple_query_string($query, array $fields = array()) /** * range query * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-range-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-range-query.html * @param string $fieldName * @param array $args * @return Range @@ -394,7 +394,7 @@ public function range($fieldName, array $args) * @param float $boost * @return Regexp * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-regexp-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-regexp-query.html */ public function regexp($fieldName, $value, $boost) { @@ -404,7 +404,7 @@ public function regexp($fieldName, $value, $boost) /** * span first query * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-span-first-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-span-first-query.html */ public function span_first() { @@ -414,7 +414,7 @@ public function span_first() /** * span multi term query * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-span-multi-term-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-span-multi-term-query.html */ public function span_multi_term() { @@ -424,7 +424,7 @@ public function span_multi_term() /** * span near query * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-span-near-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-span-near-query.html */ public function span_near() { @@ -434,7 +434,7 @@ public function span_near() /** * span not query * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-span-not-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-span-not-query.html */ public function span_not() { @@ -444,7 +444,7 @@ public function span_not() /** * span or query * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-span-or-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-span-or-query.html */ public function span_or() { @@ -454,7 +454,7 @@ public function span_or() /** * span term query * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-span-term-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-span-term-query.html */ public function span_term() { @@ -464,7 +464,7 @@ public function span_term() /** * term query * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-term-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-term-query.html * @return Term */ public function term() @@ -475,7 +475,7 @@ public function term() /** * terms query * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-terms-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-terms-query.html * @param string $field * @param array $terms * @return Terms @@ -488,7 +488,7 @@ public function terms($field, array $terms) /** * top children query * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-top-children-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-top-children-query.html * @param AbstractQuery $query * @param string $type * @return TopChildren @@ -501,7 +501,7 @@ public function top_children(AbstractQuery $query, $type) /** * wildcard query * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-wildcard-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-wildcard-query.html * @return Wildcard */ public function wildcard() @@ -512,7 +512,7 @@ public function wildcard() /** * text query * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/0.90/query-dsl-text-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/0.90/query-dsl-text-query.html */ public function text() { @@ -522,7 +522,7 @@ public function text() /** * minimum should match query * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-minimum-should-match.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-minimum-should-match.html */ public function minimum_should_match() { @@ -532,7 +532,7 @@ public function minimum_should_match() /** * template query * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-template-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-template-query.html */ public function template() { diff --git a/lib/Elastica/QueryBuilder/DSL/Suggest.php b/lib/Elastica/QueryBuilder/DSL/Suggest.php index a086c4099c..90ff0484a1 100644 --- a/lib/Elastica/QueryBuilder/DSL/Suggest.php +++ b/lib/Elastica/QueryBuilder/DSL/Suggest.php @@ -13,7 +13,7 @@ * * @package Elastica * @author Manuel Andreo Garcia - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-suggesters.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-suggesters.html */ class Suggest implements DSL { @@ -30,7 +30,7 @@ public function getType() /** * term suggester * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-suggesters-phrase.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-suggesters-term.html * @param $name * @param $field * @return Term @@ -43,7 +43,7 @@ public function term($name, $field) /** * phrase suggester * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-suggesters-phrase.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-suggesters-phrase.html * @param $name * @param $field * @return Phrase @@ -56,7 +56,7 @@ public function phrase($name, $field) /** * completion suggester * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-suggesters-completion.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-suggesters-completion.html * @param string $name * @param string $field * @return Completion @@ -69,7 +69,7 @@ public function completion($name, $field) /** * context suggester * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/suggester-context.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/suggester-context.html */ public function context() { diff --git a/lib/Elastica/QueryBuilder/Version/Version090.php b/lib/Elastica/QueryBuilder/Version/Version090.php index 8dbb35bd7e..21f4a019fc 100644 --- a/lib/Elastica/QueryBuilder/Version/Version090.php +++ b/lib/Elastica/QueryBuilder/Version/Version090.php @@ -7,7 +7,7 @@ /** * elasticsearch 0.9 DSL * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/0.90/index.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/0.90/index.html * @package Elastica * @author Manuel Andreo Garcia */ diff --git a/lib/Elastica/QueryBuilder/Version/Version100.php b/lib/Elastica/QueryBuilder/Version/Version100.php index a73fbdbea8..20b6ee1ef2 100644 --- a/lib/Elastica/QueryBuilder/Version/Version100.php +++ b/lib/Elastica/QueryBuilder/Version/Version100.php @@ -7,7 +7,7 @@ /** * elasticsearch 1.0 DSL * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/index.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/1.x/index.html * @package Elastica * @author Manuel Andreo Garcia */ diff --git a/lib/Elastica/QueryBuilder/Version/Version110.php b/lib/Elastica/QueryBuilder/Version/Version110.php index b284f1fed1..25de600e34 100644 --- a/lib/Elastica/QueryBuilder/Version/Version110.php +++ b/lib/Elastica/QueryBuilder/Version/Version110.php @@ -7,7 +7,7 @@ /** * elasticsearch 1.1 DSL * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/index.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/1.x/index.html * @package Elastica * @author Manuel Andreo Garcia */ diff --git a/lib/Elastica/QueryBuilder/Version/Version120.php b/lib/Elastica/QueryBuilder/Version/Version120.php index caf9f8da5b..1d3d2b9298 100644 --- a/lib/Elastica/QueryBuilder/Version/Version120.php +++ b/lib/Elastica/QueryBuilder/Version/Version120.php @@ -7,7 +7,7 @@ /** * elasticsearch 1.2 DSL * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/index.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/1.x/index.html * @package Elastica * @author Manuel Andreo Garcia */ diff --git a/lib/Elastica/QueryBuilder/Version/Version130.php b/lib/Elastica/QueryBuilder/Version/Version130.php index f03f9a2e4e..f4a3e41314 100644 --- a/lib/Elastica/QueryBuilder/Version/Version130.php +++ b/lib/Elastica/QueryBuilder/Version/Version130.php @@ -7,7 +7,7 @@ /** * elasticsearch 1.3 DSL * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.3/index.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/1.3/index.html * @package Elastica * @author Manuel Andreo Garcia */ diff --git a/lib/Elastica/QueryBuilder/Version/Version140.php b/lib/Elastica/QueryBuilder/Version/Version140.php index a257094e80..7cdd07630c 100644 --- a/lib/Elastica/QueryBuilder/Version/Version140.php +++ b/lib/Elastica/QueryBuilder/Version/Version140.php @@ -5,7 +5,7 @@ /** * elasticsearch 1.4 DSL * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.4/index.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/1.4/index.html * @package Elastica * @author Manuel Andreo Garcia */ diff --git a/lib/Elastica/Rescore/AbstractRescore.php b/lib/Elastica/Rescore/AbstractRescore.php index 85d7ec31f4..0ed5af5407 100644 --- a/lib/Elastica/Rescore/AbstractRescore.php +++ b/lib/Elastica/Rescore/AbstractRescore.php @@ -10,7 +10,7 @@ * @category Xodoa * @package Elastica * @author Jason Hu - * @link http://www.elasticsearch.org/guide/reference/api/search/rescore/ + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-rescore.html */ abstract class AbstractRescore extends Param { diff --git a/lib/Elastica/Rescore/Query.php b/lib/Elastica/Rescore/Query.php index e741a922bb..d5e9ddf9e1 100644 --- a/lib/Elastica/Rescore/Query.php +++ b/lib/Elastica/Rescore/Query.php @@ -10,7 +10,7 @@ * @category Xodoa * @package Elastica * @author Jason Hu - * @link http://www.elasticsearch.org/guide/reference/api/search/rescore/ + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-rescore.html */ class Query extends AbstractRescore { diff --git a/lib/Elastica/ScanAndScroll.php b/lib/Elastica/ScanAndScroll.php index 88330549cc..3f00eebc8f 100644 --- a/lib/Elastica/ScanAndScroll.php +++ b/lib/Elastica/ScanAndScroll.php @@ -8,14 +8,13 @@ * @category Xodoa * @package Elastica * @author Manuel Andreo Garcia - * @link http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/scan-scroll.html + * @link http://www.elastic.co/guide/en/elasticsearch/guide/current/scan-scroll.html */ class ScanAndScroll implements \Iterator { /** * time value parameter * - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-request-scroll.html * @var string */ public $expiryTime; diff --git a/lib/Elastica/Script.php b/lib/Elastica/Script.php index e559b1c1ed..47f8600bc3 100644 --- a/lib/Elastica/Script.php +++ b/lib/Elastica/Script.php @@ -10,7 +10,7 @@ * @category Xodoa * @package Elastica * @author avasilenko - * @link http://www.elasticsearch.org/guide/reference/modules/scripting.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/modules-scripting.html */ class Script extends AbstractUpdateAction { diff --git a/lib/Elastica/ScriptFields.php b/lib/Elastica/ScriptFields.php index 9018433e99..74a0d987b3 100644 --- a/lib/Elastica/ScriptFields.php +++ b/lib/Elastica/ScriptFields.php @@ -10,7 +10,7 @@ * @category Xodoa * @package Elastica * @author Sebastien Lavoie - * @link http://www.elasticsearch.org/guide/reference/api/search/script-fields.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-script-fields.html */ class ScriptFields extends Param { diff --git a/lib/Elastica/Snapshot.php b/lib/Elastica/Snapshot.php index e70334f5db..80e6e14f34 100644 --- a/lib/Elastica/Snapshot.php +++ b/lib/Elastica/Snapshot.php @@ -8,7 +8,7 @@ /** * Class Snapshot * @package Elastica - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/modules-snapshots.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html */ class Snapshot { diff --git a/lib/Elastica/Status.php b/lib/Elastica/Status.php index cce94fea10..f43f61f32e 100644 --- a/lib/Elastica/Status.php +++ b/lib/Elastica/Status.php @@ -11,7 +11,7 @@ * @category Xodoa * @package Elastica * @author Nicolas Ruflin - * @link http://www.elasticsearch.org/guide/reference/api/admin-indices-status.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-status.html */ class Status { diff --git a/lib/Elastica/Suggest.php b/lib/Elastica/Suggest.php index a3aa4dd5ae..39e904dd15 100644 --- a/lib/Elastica/Suggest.php +++ b/lib/Elastica/Suggest.php @@ -8,7 +8,7 @@ /** * Class Suggest * @package Elastica\Suggest - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-suggesters.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-suggesters.html */ class Suggest extends Param { diff --git a/lib/Elastica/Suggest/CandidateGenerator/DirectGenerator.php b/lib/Elastica/Suggest/CandidateGenerator/DirectGenerator.php index b6ff1aca86..5f3ee04b69 100644 --- a/lib/Elastica/Suggest/CandidateGenerator/DirectGenerator.php +++ b/lib/Elastica/Suggest/CandidateGenerator/DirectGenerator.php @@ -5,7 +5,7 @@ /** * Class DirectGenerator * @package Elastica\Suggest\Phrase - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-suggesters-phrase.html#_direct_generators + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-suggesters-phrase.html#_direct_generators */ class DirectGenerator extends AbstractCandidateGenerator { diff --git a/lib/Elastica/Suggest/Phrase.php b/lib/Elastica/Suggest/Phrase.php index 3842841e59..4d850273af 100644 --- a/lib/Elastica/Suggest/Phrase.php +++ b/lib/Elastica/Suggest/Phrase.php @@ -7,7 +7,7 @@ /** * Class Phrase * @package Elastica\Suggest - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-suggesters-phrase.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-suggesters-phrase.html */ class Phrase extends AbstractSuggest { diff --git a/lib/Elastica/Suggest/Term.php b/lib/Elastica/Suggest/Term.php index b17c41e41d..11b75d7162 100644 --- a/lib/Elastica/Suggest/Term.php +++ b/lib/Elastica/Suggest/Term.php @@ -5,7 +5,7 @@ /** * Class Term * @package Elastica\Suggest - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-suggesters-term.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-suggesters-term.html */ class Term extends AbstractSuggest { diff --git a/lib/Elastica/Type.php b/lib/Elastica/Type.php index d0a643b859..d549c3be3b 100644 --- a/lib/Elastica/Type.php +++ b/lib/Elastica/Type.php @@ -132,7 +132,7 @@ public function addObject($object, Document $doc = null) /** * Update document, using update script. Requires elasticsearch >= 0.19.0 * - * @link http://www.elasticsearch.org/guide/reference/api/update.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/docs-update.html * @throws \Elastica\Exception\InvalidException * * @param \Elastica\Document|\Elastica\Script $data Document with update data @@ -165,7 +165,7 @@ public function updateDocument($data, array $options = array()) * * @param array|\Elastica\Document[] $docs Array of Elastica\Document * @return \Elastica\Bulk\ResponseSet - * @link http://www.elasticsearch.org/guide/reference/api/bulk.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html */ public function updateDocuments(array $docs) { @@ -181,7 +181,7 @@ public function updateDocuments(array $docs) * * @param array|\Elastica\Document[] $docs Array of Elastica\Document * @return \Elastica\Bulk\ResponseSet - * @link http://www.elasticsearch.org/guide/reference/api/bulk.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html */ public function addDocuments(array $docs) { @@ -197,7 +197,7 @@ public function addDocuments(array $docs) * * @param objects[] $objects * @return \Elastica\Bulk\ResponseSet - * @link http://www.elasticsearch.org/guide/reference/api/bulk.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html */ public function addObjects(array $objects) { @@ -392,7 +392,7 @@ public function deleteDocument(Document $document) * * @param array|\Elastica\Document[] $docs Array of Elastica\Document * @return \Elastica\Bulk\ResponseSet - * @link http://www.elasticsearch.org/guide/reference/api/bulk.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html */ public function deleteDocuments(array $docs) { @@ -408,7 +408,7 @@ public function deleteDocuments(array $docs) * * @throws \InvalidArgumentException * @throws \Elastica\Exception\NotFoundException - * @link http://www.elasticsearch.org/guide/reference/api/delete.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/docs-delete.html * * @param int|string $id Document id * @param array $options @@ -451,7 +451,7 @@ public function deleteIds(array $ids, $routing = false) * @param \Elastica\Query|string $query Query object * @param array $options Optional params * @return \Elastica\Response - * @link http://www.elasticsearch.org/guide/reference/api/delete-by-query.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/docs-delete-by-query.html */ public function deleteByQuery($query, array $options = array()) { @@ -487,7 +487,7 @@ public function delete() * @param array $params OPTIONAL Additional arguments for the query * @param string|array|\Elastica\Query $query OPTIONAL Query to filter the moreLikeThis results * @return \Elastica\ResultSet ResultSet with all results inside - * @link http://www.elasticsearch.org/guide/reference/api/more-like-this.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/search-more-like-this.html */ public function moreLikeThis(Document $doc, $params = array(), $query = array()) { diff --git a/lib/Elastica/Type/Mapping.php b/lib/Elastica/Type/Mapping.php index 945b36705c..8a81eba4e5 100644 --- a/lib/Elastica/Type/Mapping.php +++ b/lib/Elastica/Type/Mapping.php @@ -12,7 +12,7 @@ * @category Xodoa * @package Elastica * @author Nicolas Ruflin - * @link http://www.elasticsearch.org/guide/reference/mapping/ + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/mapping.html */ class Mapping { @@ -85,7 +85,7 @@ public function getProperties() * Sets the mapping _meta * @param array $meta metadata * @return $this - * @link http://www.elasticsearch.org/guide/reference/mapping/meta.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-meta.html */ public function setMeta(array $meta) { @@ -110,7 +110,7 @@ public function getType() * * @param array $source Source array * @return $this - * @link http://www.elasticsearch.org/guide/reference/mapping/source-field.html + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-source-field.html */ public function setSource(array $source) { diff --git a/lib/Elastica/Util.php b/lib/Elastica/Util.php index 23eb825ff6..e47252b3ca 100644 --- a/lib/Elastica/Util.php +++ b/lib/Elastica/Util.php @@ -38,8 +38,7 @@ public static function replaceBooleanWordsAndEscapeTerm($term) * Escapes the following terms (because part of the query language) * + - && || ! ( ) { } [ ] ^ " ~ * ? : \ < > * - * @link http://lucene.apache.org/java/2_4_0/queryparsersyntax.html#Escaping%20Special%20Characters - * @link http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html#_reserved_characters + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html#_reserved_characters * * @param string $term Query term to escape * @return string Escaped query term diff --git a/test/lib/Elastica/Test/Type/MappingTest.php b/test/lib/Elastica/Test/Type/MappingTest.php index 1d722784ab..c7fffe19a9 100644 --- a/test/lib/Elastica/Test/Type/MappingTest.php +++ b/test/lib/Elastica/Test/Type/MappingTest.php @@ -211,7 +211,7 @@ public function testMappingExample() * Test setting a dynamic template and validate whether the right mapping is applied after adding a document which * should match the dynamic template. The example is the template_1 from the Elasticsearch documentation. * - * @link http://www.elasticsearch.org/guide/reference/mapping/root-object-type/ + * @link http://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-root-object-type.html */ public function testDynamicTemplate() {