[hibernate-issues] [Hibernate-JIRA] Created: (HSEARCH-712) Add below / above support in faceting DSL

Emmanuel Bernard (JIRA) noreply at atlassian.com
Mon Mar 14 07:20:09 EDT 2011


Add below / above support in faceting DSL
-----------------------------------------

                 Key: HSEARCH-712
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-712
             Project: Hibernate Search
          Issue Type: Improvement
          Components: query
            Reporter: Emmanuel Bernard
            Assignee: Hardy Ferentschik


{code}FacetRequest rangeRequest = queryBuilder( Fruit.class ).facet()
				.name( priceRange )
				.onField( indexFieldName )
				.range().below(1.0).excludeLimit()
				.from( 1.0 ).to( 1.50 ).excludeLimit()
				.from( 1.50 ).to( 3.00 ).excludeLimit()
				.above(3)
				.createFacet();{code}

add support for below and above

Add test to make sure 
....to(1.5).excludeLimit()
    .from(1.5)
works properly

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list