I'm writing a ASP.net web app where users will be able to add wordy descriptions to a database table and was just wondering if there's some sort of (free) .net search plugin I could use to search through the database. I co开发者_JS百科uld write a simple SQL query to do it but I'd rather it be more robust and like a google search.
If your database is SQL Server, then you use SQL Server full text search. It's right there, and has google-like semantics.
you are probably looking for lucene.net which a port of lucene. Provide search capabilities for arbitrary document (so you can also index database text with it). But I think you would rather index the html renders of your database entries (which lucene does beautifully).
精彩评论