-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Hibernate search Filtering in JSP
PostPosted: Mon Nov 29, 2010 7:33 pm 
Newbie

Joined: Mon Nov 22, 2010 7:55 pm
Posts: 6
Hi ,

How is filtering is implemented on the view side using jsp.

Any suggestion or code will be greatly appreciated.

For example, I have a search class that return a list of jobs based on keyword,location, and category.

Now, I would like to filter the results to show based on the first results only the jobs that are full time.

How to i do that?

Is something like

search-results.html?keyword=&location=New York, NY&category=java&type=Full-time works?


Thanks,

Gerald


Top
 Profile  
 
 Post subject: Re: Hibernate search Filtering in JSP
PostPosted: Tue Nov 30, 2010 5:46 am 
Hibernate Team
Hibernate Team

Joined: Thu Apr 05, 2007 5:52 am
Posts: 1689
Location: Sweden
Hibernate Search has nothing to do with jsp, so I am not sure what you are after. If you want to refine a search query you could keep the initial query around and on the second time around you add an additional term query for the fulltime part and you rerun the query. That's one way of doing it, but in the end it is up to you to build some sort if infrastructure which fits your usecase.

--Hardy


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.