Lucene.NET Performances Concerns with ASP.NET MVC
I'm currently developping a web site with asp.net that use Lucene.Net to perform fulltext queries.
The web site display a couple of data lists.
The problem is that i perform fulltext queries FOR EACH items displayed in the list which can be a performance issue.
So i wonder if i should "pre fulltext query" with a kind of Search Engine maybe with caching topology instead of performing fullte开发者_如何学编程xt queries on demand when items are displayed (queried)
I would recommend caching fulltext query results as they're generated.
As you loop through the items in the list, check a cache to see if you already have results. If not, get the fulltext results and put them in the cache.
精彩评论