Skip to content

Commit

Permalink
Percolator changes
Browse files Browse the repository at this point in the history
  • Loading branch information
olivere committed Sep 22, 2016
1 parent 9d063c8 commit 8a8504b
Show file tree
Hide file tree
Showing 7 changed files with 243 additions and 379 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG-5.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,3 +169,13 @@ Some changes:

TODO Fix all structural changes in suggesters

## Percolator

Percolator has [changed considerably](https://www.elastic.co/guide/en/elasticsearch/reference/5.x/breaking_50_percolator.html).

Elastic 5.0 adds the new
[Percolator Query](https://www.elastic.co/guide/en/elasticsearch/reference/5.x/query-dsl-percolate-query.html)
which can be used in combination with the new
[Percolator type](https://www.elastic.co/guide/en/elasticsearch/reference/5.x/percolator.html).

The Percolate service is removed from Elastic 5.0.
6 changes: 0 additions & 6 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -1258,12 +1258,6 @@ func (c *Client) Explain(index, typ, id string) *ExplainService {
return NewExplainService(c).Index(index).Type(typ).Id(id)
}

// Percolate allows to send a document and return matching queries.
// See http://www.elastic.co/guide/en/elasticsearch/reference/current/search-percolate.html.
func (c *Client) Percolate() *PercolateService {
return NewPercolateService(c)
}

// TODO Search Template
// TODO Search Shards API
// TODO Search Exists API
Expand Down
310 changes: 0 additions & 310 deletions percolate.go

This file was deleted.

Loading

0 comments on commit 8a8504b

Please sign in to comment.