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 Elastica\Facet\DateHistogram::setFactor() #806

Merged
merged 2 commits into from
Apr 3, 2015
Merged

Add Elastica\Facet\DateHistogram::setFactor() #806

merged 2 commits into from
Apr 3, 2015

Conversation

oohnoitz
Copy link
Contributor

Implements Factor for DateHistogram.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.0%) to 84.63% when pulling 3a9ded0 on oohnoitz:datehistogram-params into 12f7fdd on ruflin:master.

@@ -28,22 +28,23 @@ public function testTest()

$mapping = new Mapping($type, array(
'name' => array('type' => 'string', 'store' => 'no'),
'dtmPosted' => array('type' => 'date', 'store' => 'no', 'format' => 'yyyy-MM-dd HH:mm:ss'),
'dtmPosted' => array('type' => 'long', 'store' => 'no'),
Copy link
Owner

Choose a reason for hiding this comment

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

Wouldn't it make sense to keep this test as it is and add a new one? Liek this we now that both options work. Or what is the reason you modified this test?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah. I'll keep the original test and add a new one instead to check that factor works.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.0%) to 84.63% when pulling 5bb2c40 on oohnoitz:datehistogram-params into 12f7fdd on ruflin:master.

ruflin added a commit that referenced this pull request Apr 3, 2015
Add Elastica\Facet\DateHistogram::setFactor()
@ruflin ruflin merged commit 9c855f6 into ruflin:master Apr 3, 2015
@ruflin
Copy link
Owner

ruflin commented Apr 3, 2015

Merged. thx.

@oohnoitz oohnoitz deleted the datehistogram-params branch April 3, 2015 21:03
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