Tag: search

  • Complex Searching

    Searching for data in our systems is sometimes hard. If you’ve ever needed to generically search a lot of text, it’s not easy to write code to do this in an efficient manner. It’s even harder if you try to embed this in an application. If you get into full-text searching, likely you would look beyond SQL Server as the built in full-text indexing and searching isn’t great.

    What if you had to search in more complex data? Imagine that your users were looking for words in audio files, or they wanted to find images that matched other images. Those are even more complex searches, and I expect that few people have had to deal with this. I know some, and I do expect it to be something customers will do demand across time.

    I saw an article about Google Lens coming to the desktop, allowing you to clip an image and then search for similar items. While I haven’t used this for searching, my kids have. Often they are looking for matches of a product or a place, and they like being able to search for related images. Image search is interesting, as you are looking to match patterns of numbers, but not exact matches. The idea of fuzzy matching parts of an image, which is a series of numeric values, but not all of the values, has to be a very challenging process. I would find this even more complex than doing a speech-to-text translation from audio and searching for words. Many of us would know how to do produce a solution for searching audio recordings.

    The theory of how to search for images based on another image is a complex field of study. I don’t pretend to know how this might work, and I’m not sure I care. If I have a need for this, I wouldn’t expect to need to understand how the system works as this would really be an API call of some sort. I might need to work with the API and understand how to better use it to produce the results my clients need, but that might be the most I’d care about.

    As with a lot of deeply technical things, I care more about practical applications. On a recent trip, I watched my wife use Google Lens to translate some menus, something I hadn’t considered. I usually would type in text and look for meanings, but using the image is much easier. I expect we’ll see the need for more complex searches in the future, but for most of us, it will be another service we consume without really understanding how it works, which is probably fine in these situations.

    Steve Jones

    Listen to the podcast at Libsyn, Stitcher, Spotify, or iTunes.

  • Not a Great Search

    Tldr: A bit of a rant. I’m not spending a bunch of time crafting this.

    I have mixed feelings about searching for information on Microsoft sites. It kind of works, kind of doesn’t. I know that there are resource constraints to upgrading their sites, but I’m more and more annoyed.

    Perhaps this is one reason I don’t use Bing. Maybe, not sure. I need to think about this.

    Anyway, I go to the main BOL page online often. It’s supposed to be more updated than the local help, and I don’t have to use some procedure to get to it. I went today and entered in a search, getting these results.

    2016-06-22 13_47_36-t-sql wildcard characters - MSDN Search

    Check out the second one. That might be interesting, and it’s in the Support KB. I click on it and see this:

    2016-06-22 13_53_40-How to use wildcard characters in the SQL-SELECT statement in Visual FoxPro

    That. Is. Not. What. I. Want. (at least not these days)

    Even surfacing the entire title, or maybe tagging this as a VFP article in addition to a kb one.

    As I delve into more technologies, I find acronyms crossing over, so I want to look for a term in SQL Server, or in C#, and right now I have to search and then try to limit things with a click on the left. Except that I don’t always get a good way to limit searches.

    2016-06-22 13_55_37-Settings

    That’s not a great example, but that’s the term of I thought of today that crosses over.

    Can we please get some way to default a search to the areas we’re working in? I can click something if I’m working with SQL and need to search wider, but I seem to get (more and more) results from Sharepoint, C#, etc that aren’t relevant.

    Ugh, I know I’m ranting a bit, but search becomes more and more important in the see of data, especially with things like Azure rev’ing every quarter. Give me a way to search current docs, in my area, easily, by default.