Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Data Model Questions /

Boolean Full-Text Searches


Reply


873 Views

Avatar
timwjohn

Community Member, 98 Posts

2 June 2010 at 4:17am

Hey guys,

I've enabled fulltext searching on a custom DataObject of mine, and kind of need to change how the search is performed.

The client wants part-word searching, like a sort of automatic wildcard, e.g. a search for seat would return seatbelt also.

One way I guess I can do this is if I could perform a search in boolean mode and modify the search string so each word has a plus at the beginning and an asterisk at the end. Sounds hacky as hell actually!

Anybody got any advice on customising advanced searches, enabling boolean mode, or anything else that might help me?

I assume SearchContext might hold the key, but I haven't had much luck with it so far.

Thanks!