Hi all,
I am little bit new with Hibernate Search. I have a new application running in Jboss AS6 and I am trying to create a faceting search request.
I have checked the documentation but I do not understand how can I do what I want. I have a menu on the left where i can see my facets and on the right i have the results of the general search (like Amazon). I am using and EJB 3.0 with a DAO where I have my hibernate search querys.
Well, I want is to enable and disable facets when the user click on the left menu but I have several problems.
Has anybody an example of this? Where can I check it out?
I've found this
https://gist.github.com/869145 , and why is necessary to do this:
//FIXME jpa.FTQuery does not have the facet methods, need to do some nasty unwrapping
ftQuery = em.unwrap( FullTextSession.class )
.createFullTextQuery( query, Car.class );
Thanks in advance.