What exactly is Cloud Computing? The worst buzzword ever.

by Securus Systems Staff 2. November 2010 11:48

Designing a Cloud

Admittedly, the “Cloud” is probably the worst buzzword we’ve ever heard (yes, we know it’s plastered all over our website). But, for us, “The Cloud” is about providing a highly secure and accessible platform for accessing line-of-business applications and desktops that are otherwise hosted in unsecure, unmonitored and remotely accessible locations such as offices, laptops and PC’s.

The Central Penn Business Journal, a regional business magazine here in central Pennsylvania, recently published their yearly Technology @ Work publication that featured local businesses currently providing and consuming Cloud-based services.  The main article, found at http://www.pageturnpro.com/Journal-Publications-Inc/20172-Tech-@-Work/index.html#/4  provides a short overview for people that want to quickly learn more about Cloud computing.

While this article does a great job conceptualizing the different applications of Cloud-based services today we do fundamentally disagree with it’s assumption that Cloud-based services are inherently insecure.  It is an undisputable fact that Cloud-based services can be and in our case are highly secure platforms that protect line-of-business applications and data.  However, this doesn’t mean that all Cloud-based Service Providers are created equal.  Businesses must do their research and ask critical questions that will directly affect their customers, employees and regulatory obligations.

We have compiled a list of common questions we have been and/or should be asked by our clients and look forward to posting these here in the future.

Search Result Highlighter for SQL Full-Text Search

by Securus Systems Staff 25. April 2010 23:25

Since my last post I had been working on a real annoying problem with a SQL Full-Text Search implementation I manage.   As anyone who has worked with MSSFTE knows the query results returned do not offer a mechanism to highlight what search tokens were hit within the search results.  I totally understand why this isn’t a feature in SQL from Micorosft’s standpoint but it’s still annoying nonetheless.

To address this issue I had conducted a fair amount of research and enlisted some insight from Jonathan Kehayias in this MSDN threadHe and I both thought refactoring the http://www.codeproject.com/KB/aspnet/DotLuceneSearch.aspx project might be a avenue worth investigating. Needless to say, this did not turn out to be very practical so I ended up building a new highlighter from scratch.

Utilizing this highlighter is very straight forward as demonstrated below.  You simply need to provide it a optional list of stop words, your query and the content returnedby SQL Server and it will do the rest. The remaining properties should be self explanatory.

Search Result Highlighter for SQL Full-Text Search Results.zip (85.92 kb) 

Dim summaryGenerator As New QuerySummary()

summaryGenerator.StopWords =New String() {"the", "a","and"}

summaryGenerator.OpenHighlightMark= "<B>"

summaryGenerator.CloseHighlightMark= "</B>"

summaryGenerator.SummaryLength= 350

summaryGenerator.RemoveHTMLBeforeProcessing= False

Console.WriteLine(summaryGenerator.GenerateSummary(searchText, _

My.Resources.TestInputData.ResourceManager.GetString("TestInputData")))

This is the first version so there might be some terms returned that don’t look too pretty.  I’ll keep updating my blog with new versions as I refine the process.

As with all the code I provide you will need to add your own exception handling routines.  Also, this version wasn’t specifically designed to work with HTML content returned by SQL Server.  You will need to update the HTML removal method with a DOM implementation if you wish to highlight HTML content.

 

Tags: , ,

Software Developemnt | Windows Services | Microsoft SQL Server