Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a refresh option to flush of index (eliminate a left todo step) #316

Closed
wants to merge 1 commit into from
Closed

Conversation

rezonanc-nfq
Copy link

No description provided.

@ruflin
Copy link
Owner

ruflin commented Jan 25, 2013

Did you test this?

return $this->request($path, Request::POST);
$data = array();

if ($refresh) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Refresh param should be passed as query part of request not data. See: http://www.elasticsearch.org/guide/reference/api/admin-indices-flush.html

@ruflin
Copy link
Owner

ruflin commented Feb 20, 2013

Any updates here?

@ruflin
Copy link
Owner

ruflin commented Mar 22, 2013

@rezonanc-nfq Any updates here?

ruflin added a commit that referenced this pull request May 18, 2013
@ruflin
Copy link
Owner

ruflin commented May 18, 2013

Implemented

@ruflin ruflin closed this May 18, 2013
raciat pushed a commit to raciat/Elastica that referenced this pull request May 18, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants