aspose file tools
The moose likes Groovy and the fly likes Searchable plugin Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Other Languages » Groovy
Reply Bookmark "Searchable plugin" Watch "Searchable plugin" New topic
Author

Searchable plugin

Maharaj thak
Greenhorn

Joined: Jul 29, 2010
Posts: 21
Hi All
I am using the searchable plugin in my application and here's the code in my controller


def search{

def searchResult=MyDomainClass.search("myquery",[escape:true])

}

I am using the [escape:true] map to get rid of special characters i.e. + - && || ! ( ) { } [ ] ^ " ~ * ? : \.Without the map the query works but not with the map.
Has anyone else tried using it?What else should I do to make the query work?
Any help would b greatly appreciated.

Regards
Mauji Thak

This message was edited 1 time. Last update was at by Maharaj thak

 
 
subject: Searchable plugin
 
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com