-->
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.  [ 1 post ] 
Author Message
 Post subject: How to treat the space in search string as a AND operator
PostPosted: Wed Apr 09, 2008 3:13 am 
Newbie

Joined: Fri Dec 28, 2007 7:38 am
Posts: 16
Hi every one,

I am using Hibernate search in my project.

I have to treat the space character in the search string like an AND operator. By default the space in the search string behaves like an OR operator. Right now, I am using the string operator to replace the space character by “AND” in the Search string.

AS I am working for the Restful URL in my search page, I also have to display the search string in my URL which differs from the actual search string fed by user after the String manipulation.

How do I achieve “AND” operation for the texts in the search string? Any help pl……?

By
Thiagu.m


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

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.