Cheap and Easy wildcard search w/ moss Becky Isserman, B&R Business Solutions
Pre-Requisites
More Pre-requisites… Turn on Search Create an SSP Add Content Indexes Create Scopes Add Properties Add Content Crawl Content Indexes
Query Object Model Looks like SQL Example: SELECT FROM WHERE ORDER BY
Wildcard Search Options (LIKE) % SELECT FROM ‘All Sites’ WHERE Author LIKE ‘%oleman’
Wildcard Search Options (LIKE) _ SELECT FROM ‘All Sites’ WHERE Author LIKE ‘Jade _oleman’
Wildcard Search Options (LIKE) [ ] or [ ^ ] SELECT FROM ‘All Sites’ WHERE Author LIKE ‘Jade [CcKk]olemen’ SELECT FROM ‘All Sites’ WHERE Author LIKE ‘Jade [^C]oleman’
Wildcard Search Options (CONTAINS) * SELECT FROM ‘All Sites’ WHERE CONTAINS(‘Coleman*’)
Demo User Control/SMART Part Webpart Conversion
Reference “Inside the Index and Search Engines: Microsoft Office SharePoint Server 2007” by Patrick Tisseghem and Lars Fastrup Code Samples from Book: nion/ nion/ SMART Part: STSDev:
Information Blog: Comic: