View definitions should with half-open bounds
Reported by Ben Hood | November 2nd, 2011 @ 07:14 PM | in 1.0 (closed)
When defining a view as a refinement of an endpoint with half open bounds, e.g.:
<endpoint name="x" .....>
<range-category name="bizDate" data-type="date" lower="2005-10-01" max-granularity="individual" />
<view name="y">
<range-category name="bizDate" data-type="date" upper="2011-09-30" />
</view>
</endpoint>
The following error occurs:
config/endpoint[name=x]/views[name=y]: View category 'bizDate' (RangeCategoryDescriptor{dataType='date', lower='null', upper='2011-09-30', maxGranularity='null'}) does not refine endpoint category (RangeCategoryDescriptor{dataType='date', lower='2005-10-01', upper='null', maxGranularity='individual'})
However, it should be possible to do this.
Comments and changes to this ticket
-

Ben Hood November 2nd, 2011 @ 07:18 PM
- Assigned user set to Paul Jones
I've started a patch on this (by defining the test cases I think should pass).
-

Ben Hood November 2nd, 2011 @ 10:46 PM
(from [2fb7e9aebfddbc8f2639450cd6a454e5015ec258]) [#406] Allow refinements not to specify bounds, and let those inherit from the parent. https://github.com/lshift/diffa/commit/2fb7e9aebfddbc8f2639450cd6a4...
-

Ben Hood November 2nd, 2011 @ 11:18 PM
(from [865ddc621d4b1b88ddcc0a2e7de755bb62a6712a]) [#406] Ensure support for missing bounds in the LuceneVersionCorrelationStore. https://github.com/lshift/diffa/commit/865ddc621d4b1b88ddcc0a2e7de7...
-

Paul Jones November 2nd, 2011 @ 11:20 PM
- Assigned user changed from Paul Jones to Ben Hood
- State changed from new to resolved
Pull request 101 raised, and ready for QA.
-

Ben Hood November 2nd, 2011 @ 11:35 PM
(from [0443ee747bbf02a69683bfa7fe9cc6e37ed8e81f]) Merge pull request #101 from lshift/406
[#406]: Allow range refinements to inherit bounds https://github.com/lshift/diffa/commit/0443ee747bbf02a69683bfa7fe9c...
-

Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A Real Time Differencing Tool.