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

Key: CMP-426
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Shay Banon
Reporter: Maurice Nicholson
Votes: 0
Watchers: 1
Operations

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

Native polymorphic queries (where mapped classes are part of an inheritance hierarchy)

Created: 29/Jun/07 06:20 AM   Updated: 28/Jul/07 03:32 AM
Component/s: None
Affects Version/s: None
Fix Version/s: 1.2 M3


 Description  « Hide
Currently the user needs to add constant meta data to the mappings and then build suitable queries using that additional meta data.

Native Compass support for polymorphic queries would be better for users (less user code, of course!) and means Compass is "truer" in its aim of being an Object to Search Engine Mapper.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Shay Banon added a comment - 02/Jul/07 03:55 PM
Compass now stores the extended aliases under a specialized property (not stored, un tokenized, with omit norms) called extendedAlias.

CompassQueryBuilder now also has a CompassQueryBuilder#polyAlias(String aliasValue) which will return all the aliases/classes matching the given alias or extending it.

Can you take it for a spin and see if it match what you were thinking about?


Shay Banon added a comment - 28/Jul/07 03:32 AM
Assuming this was fixed (got no response). Anyhow, internal tests pass.