|
From: Christian B. <chr...@jb...> - 2006-06-01 11:31:37
|
On Jun 1, 2006, at 12:31 PM, Sylvain Vieujot wrote:
> CompassHits hits = queryBuilder.bool() .addMust( queryBuilder.term
> ("name", "jack") ) .addMustNot( queryBuilder.term("familyName",
> "london") ) .toQuery() .addSort("familyName",
> CompassQuery.SortPropertyType.STRING) .addSort("birthdate",
> CompassQuery.SortPropertyType.INT) .hits();
(Note: Compass is a fork of the Hibernate codebase)
This looks to me like a new Criterion implementation, the rest is
regular Criteria API.
|