lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Trivial Update of "NearRealtimeSearch" by Mark Miller
Date Sat, 17 Nov 2012 02:56:03 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "NearRealtimeSearch" page has been changed by Mark Miller:
http://wiki.apache.org/solr/NearRealtimeSearch?action=diff&rev1=16&rev2=17

  = Solr Near Realtime Search =
  
  Near realtime search means thats documents are available for search almost immediately after
being indexed - additions and updates to documents are seen in 'near' realtime.
- 
- Near realtime search will be added to Solr in version 4.0 and is currently available on
trunk.
  
  You can now modify a commit command to be a 'soft' commit. A soft commit will avoid parts
of the standard commit that can be costly. You still will want to do normal commits to ensure
that documents are on stable storage, but soft commits allow users to see a very near realtime
view of the index in the meantime. Be sure to pay special attention to cache and autowarm
settings as they can have a significant impact on NRT performance.
  
@@ -15, +13 @@

  
  A common configuration might be to 'hard' auto commit every 1-10 minutes and 'soft' auto
commit every second. With this configuration, new documents will show up within about a second
of being added, and if the power goes out, you will be certain to have a consistent index
up to the last 'hard' commit.
  
+ You can also use commitWithin for fine grained control over NRT depending on the update.
All commitWithin commits are now 'soft' commits by default.
+ 
  There is also a blog post detailing some of the current improvements in this area on trunk
located here: http://searchhub.org/dev/2011/07/11/benchmarking-the-new-solr-near-realtime-improvements/
  

Mime
View raw message