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

Key: CMP-796
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

Programmatic API for building RSEM definition

Created: 13/Dec/08 04:18 PM   Updated: 19/Dec/08 05:45 AM
Component/s: Compass::Core
Affects Version/s: None
Fix Version/s: 2.2.0 M1


 Description  « Hide
For example:
import static org.compass.core.mapping.rsem.builder.RSEM.*;

conf.addResourceMapping(
resource("c")
.add(id("id"))
.add(property("value1"))
.add(property("value2").store(Property.Store.YES).index(Property.Index.ANALYZED))
.add(property("value3").store(Property.Store.COMPRESS).index(Property.Index.ANALYZED))
.add(property("value4").store(Property.Store.YES).index(Property.Index.NOT_ANALYZED))
.add(property("value5").store(Property.Store.YES).index(Property.Index.ANALYZED).converter("mydate"))
.add(property("value6"))
);



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.