Hi all..
I know that searching in itself is a huge field, which also seems to be my problem. I just don't know where to start.
Here's the scenario: I got a lot of shops which employs a lot of people and which has a lot of different products for sale. I need to create a single-textfield searchoption for my site. This textfield should search through metadata of the shops (address, name, etc.), metadata of the products (name, type, etc.) and through employees.
I recon that this search option will be widely used on the site, so it needs to perform very well (no lookups in each column, string.Contains() etc.).
Currently I'm thinking a long the lines of having tags for each entity in the database, which points to the shop / employee / product, but I'm unsure if this kind of data-duplication would be easy to maintain. Another option would be to cache popular queuries, however, I don't think any queuries will be that much popular over others.
I'm sure I'm not the first to have this kind of problem. Are there any common strategies, 3rd party libs, 3rd parties sites or just hints for me for doing this?
Thanks in advance :)