开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜