SourceForge.net Logo
Main Overview Wiki Issues Forum Build Fisheye
Issue Details (XML | Word | Printable)

Key: CMP-619
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Shay Banon
Reporter: Shay Banon
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Compass

Support polymorphic get/load/delete operations

Created: 14/Apr/08 03:17 PM   Updated: 14/Apr/08 03:19 PM
Component/s: Compass::Core
Affects Version/s: None
Fix Version/s: 2.0.0 RC2


 Description  « Hide
If we have class A, and class B extends it, and within our index we save an instance of B with id 1. Compass should support delete(A.class, 1), get(A.class, 1), which should match the B ones.

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Shay Banon added a comment - 14/Apr/08 03:19 PM
Note, this supports interfaces as well. But it must be everything that is marked with @Searchable.