Return-Path: X-Original-To: apmail-lucene-general-archive@www.apache.org Delivered-To: apmail-lucene-general-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 11C1A9DA7 for ; Thu, 8 Dec 2011 18:40:45 +0000 (UTC) Received: (qmail 50152 invoked by uid 500); 8 Dec 2011 18:40:44 -0000 Delivered-To: apmail-lucene-general-archive@lucene.apache.org Received: (qmail 50104 invoked by uid 500); 8 Dec 2011 18:40:44 -0000 Mailing-List: contact general-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@lucene.apache.org Delivered-To: mailing list general@lucene.apache.org Delivered-To: moderator for general@lucene.apache.org Received: (qmail 47205 invoked by uid 99); 8 Dec 2011 16:49:02 -0000 X-ASF-Spam-Status: No, hits=3.0 required=5.0 tests=FORGED_YAHOO_RCVD,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Date: Thu, 8 Dec 2011 08:48:37 -0800 (PST) From: rajh7 To: general@lucene.apache.org Message-ID: <1323362917204-3570768.post@n3.nabble.com> Subject: Lucene index does not update MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lucene index is able to search abut unable to update. we are able to search for something created before certain period but not after that period. Loks like its not updating. Here some code in my class. the syncIndex method is not beingcalled as well... could be that.... protected static TimerCallback _timerDelegate = SyncIndex; protected static Timer _syncTimer = new Timer(_timerDelegate, null, TimeSpan.FromMilliseconds(-1), TimeSpan.FromMinutes(_updateInterval)); protected static bool running = false; public static void SyncIndex(Object stateInfo) { new SearchService().UpdateIndex(); } -- View this message in context: http://lucene.472066.n3.nabble.com/Lucene-index-does-not-update-tp3570768p3570768.html Sent from the Lucene - General mailing list archive at Nabble.com.