This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Groovy and the fly likes Searchable plugin Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


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

Searchable plugin

Maharaj thak
Greenhorn

Joined: Jul 29, 2010
Posts: 27
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
 
Have you checked out Aspose?
 
subject: Searchable plugin
 
It's not a secret anymore!