Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 21090 invoked from network); 31 Mar 2005 07:44:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Mar 2005 07:44:05 -0000 Received: (qmail 71900 invoked by uid 500); 31 Mar 2005 07:43:42 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 71835 invoked by uid 500); 31 Mar 2005 07:43:42 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 71777 invoked by uid 99); 31 Mar 2005 07:43:41 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from web41204.mail.yahoo.com (HELO web41204.mail.yahoo.com) (66.218.93.37) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 30 Mar 2005 23:43:41 -0800 Received: (qmail 24624 invoked by uid 60001); 31 Mar 2005 07:43:37 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=6SjjMmSD0qBybZqH0dKrrNGx7fJ3CRjozdpMS9yrV37JcpKIUXS/7LrCpz3Xjuab0a6HV+f6wJlLCZ5blW+FJbP9aScR70D4WudKhH8ZulxpPotPB1ygjlZx0aXCf8lhQXMppairFjb3P1Dw3mIDA71/ztrYDE8GSA1WjDwL0Zg= ; Message-ID: <20050331074337.24622.qmail@web41204.mail.yahoo.com> Received: from [69.106.48.157] by web41204.mail.yahoo.com via HTTP; Thu, 31 Mar 2005 08:43:37 BST Date: Thu, 31 Mar 2005 08:43:37 +0100 (BST) From: pashupathinath Subject: searching within tokens To: java-user@lucene.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N hi, i'm a new lucene user. i've few questions regarding indexing and searching. 1)how do i search within tokens ..for example if i've a string "my name is abc123". using whitespace analyser i can search for any of these strings but when i search for 123 the search returns zero results. how can i search such tokens r strings ?? i want the search to display abc123 when i search for either abc or 123 not as a complete string. 2)i'm fetching records from the database and adding it to the index. how can i update the existing index when i add a new row or delete a row from the database. thanks, pashupathinath.k Send instant messages to your online friends http://uk.messenger.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org