Skip to content

Commit

Permalink
Remove lowercase_expanded_terms option from query string query
Browse files Browse the repository at this point in the history
  • Loading branch information
im-denisenko committed Apr 7, 2015
1 parent cdaeefd commit 0c3da98
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
3 changes: 3 additions & 0 deletions changes.txt
@@ -1,5 +1,8 @@
CHANGES

2015-04-07
- [BC break] Elastica\Query\QueryString::setLowercaseExpandedTerms removed

2015-04-06
- Update Elasticsearch version to 1.5
- Added deprecation notice to Elastica\Transport\Thrift, Elastica\Transport\Memcached and Elastica\Type::deleteByQuery
Expand Down
13 changes: 0 additions & 13 deletions lib/Elastica/Query/QueryString.php
Expand Up @@ -98,19 +98,6 @@ public function setAllowLeadingWildcard($allow = true)
return $this->setParam('allow_leading_wildcard', (bool) $allow);
}

/**
* Sets the parameter to auto-lowercase terms of some queries.
*
* If not set, defaults to true.
*
* @param bool $lowercase
* @return $this
*/
public function setLowercaseExpandedTerms($lowercase = true)
{
return $this->setParam('lowercase_expanded_terms', (bool) $lowercase);
}

/**
* Sets the parameter to enable the position increments in result queries.
*
Expand Down

0 comments on commit 0c3da98

Please sign in to comment.