开发者

best practice for lucene.net in a asp.net web application

开发者 https://www.devze.com 2023-03-03 11:37 出处:网络
If can someone point me to some solution/tutorial about this: web site with many writes (many users inserts, update and delete from db)

If can someone point me to some solution/tutorial about this:

  1. web site with many writes (many users inserts, update and delete from db)
  2. many reads

Should I create indexes for example every hour or to reindex on every ins,del,upd.

Of course that is nice to have users post indexed right away (and removed if he delete it) but as db will grow and lucene index als开发者_JS百科o what is clever to do?

Whats the cost of opening and reading for example 1GB lucene index for ram,application.

thank you


You should have a read a those tutorials :

  • http://codeclimber.net.nz/archive/2010/02/26/lucene.net-is-powering-subtext-2.5-search.aspx
  • http://codeclimber.net.nz/archive/2009/08/31/lucene.net-the-main-concepts.aspx

And look how lucene.net is implemented in subtext :

  • http://code.google.com/p/subtext/source/browse/#svn%2Ftrunk%2Fsrc%2FSubtext.Framework%2FServices%2FSearchEngine
0

精彩评论

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

关注公众号