Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CC47DDAE0 for ; Mon, 10 Sep 2012 15:30:10 +0000 (UTC) Received: (qmail 42803 invoked by uid 500); 10 Sep 2012 15:30:09 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 42739 invoked by uid 500); 10 Sep 2012 15:30:09 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 42714 invoked by uid 99); 10 Sep 2012 15:30:09 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2012 15:30:09 +0000 Date: Tue, 11 Sep 2012 02:30:09 +1100 (NCT) From: "Nagendra Nagarajayya (JIRA)" To: dev@lucene.apache.org Message-ID: <1361909570.58199.1347291009194.JavaMail.jiratomcat@arcas> In-Reply-To: <834203431.58033.1347289207621.JavaMail.jiratomcat@arcas> Subject: [jira] [Comment Edited] (SOLR-3816) Need a more granular nrt system that is close to a realtime system. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-3816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13452045#comment-13452045 ] Nagendra Nagarajayya edited comment on SOLR-3816 at 9/11/12 2:28 AM: --------------------------------------------------------------------- The attached patch (for Solr 4.0-BETA) provides realtime NRT that is close to a realtime system and offers fine granular NRT at very high performance and offers a path to a true realtime system as and when the underlying IndexWriter system supports it. A performance of about 70,000 document adds / sec has been seen on a user system with realtime queries (almost 1.5-2x improvement over soft-commit) The realtime NRT can be enabled by adding the following tag to SolrConfig.xml: true/false A true enables realtime nrt while false disables it. The visible attribute controls the time a document may not visible in a search. Settng this to 0 means new documents are visible immediately in searches. Very High performance can be observed with visible around 150-200ms. For eg: true The other parameters supported are: true/false A true deletes duplicates while a false allows duplicates to exist until a commit. Setting this to true may impact performance. The same may be achieved by setting to 1. Note: 1. The cache (Query Result Cache, etc.) needs to be disabled for realtime NRT. 2. Increase the number of file descriptors to around 64k before starting Solr ie. ulimit -n 65536 3. This patch is for Solr 4.0-BETA was (Author: nnagarajayya): The attached patch (for Solr 4.0-BETA) provides realtime NRT that is close to a realtime system and offers fine granular NRT at very high performance and offers a path to a true realtime system as and when the underlying IndexWriter system supports it. A performance of about 70,000 document adds / sec has been seen on a user system with realtime queries (almost 1.5-2x improvement over soft-commit) The realtime nrt can be enabled by adding the following tag to SolrConfig.xml: true/false A true enables realtime nrt while false disables it. The visible attribute controls the time a document may not visible in a search. Settng this to 0 means new documents are visible immediately in searches. Very High performance can be observed with visible around 150-200ms. For eg: true The other parameters supported are: true/false A true deletes duplicates while a false allows duplicates to exist until a commit. Setting this to true may impact performance. The same may be achieved by setting to 1. Note: 1. The cache (Query Result Cache, etc.) needs to be disabled for realtime NRT. 2. Increase the number of file descriptors to around 64k before starting Solr ie. ulimit -n 65536 3. This patch is for Solr 4.0-BETA > Need a more granular nrt system that is close to a realtime system. > ------------------------------------------------------------------- > > Key: SOLR-3816 > URL: https://issues.apache.org/jira/browse/SOLR-3816 > Project: Solr > Issue Type: Improvement > Components: clients - java, replication (java), search, SearchComponents - other, SolrCloud, update > Affects Versions: 4.0 > Reporter: Nagendra Nagarajayya > Labels: nrt, realtime, replication, search, solrcloud, update > Attachments: solr-3816-realtime_nrt.patch > > > Need a more granular NRT system that is close to a realtime system. A realtime system should be able to reflect changes to the index as and when docs are added/updated to the index. soft-commit offers NRT and is more realtime friendly than hard commit but is limited by the dependency on the SolrIndexSearcher being closed and reopened and offers a coarse granular NRT. Closing and reopening of the SolrIndexSearcher may impact performance also. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org