Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 52572 invoked from network); 19 May 2007 11:11:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 May 2007 11:11:43 -0000 Received: (qmail 43561 invoked by uid 500); 19 May 2007 11:11:43 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 43520 invoked by uid 500); 19 May 2007 11:11:43 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 43508 invoked by uid 99); 19 May 2007 11:11:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 May 2007 04:11:42 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 May 2007 04:11:36 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 43C6C71406F for ; Sat, 19 May 2007 04:11:16 -0700 (PDT) Message-ID: <27184468.1179573076252.JavaMail.jira@brutus> Date: Sat, 19 May 2007 04:11:16 -0700 (PDT) From: "Daniel Naber (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Closed: (LUCENE-882) Spellchecker doesn't need to store ngrams In-Reply-To: <5312503.1179435736215.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Naber closed LUCENE-882. ------------------------------- Resolution: Fixed Lucene Fields: [New, Patch Available] (was: [Patch Available, New]) patch applied > Spellchecker doesn't need to store ngrams > ----------------------------------------- > > Key: LUCENE-882 > URL: https://issues.apache.org/jira/browse/LUCENE-882 > Project: Lucene - Java > Issue Type: Improvement > Components: Other > Affects Versions: 2.1 > Reporter: Daniel Naber > Attachments: lucene-spellchecker.diff > > > The spellchecker in contrib stores the ngrams although this doesn't seem to be necessary. This patch changes that, I will commit it unless someone objects. This improves indexing speed and index size. Some numbers on a small test I did: > Input of the original index: 2200 text files, index size 5.3 MB, indexing took 17 seconds > Spell index before patch: about 60.000 documents, index size 13 MB, indexing took 62 seconds > Spell index after patch: about 60.000 documents, index size 6.3 MB, indexing took 52 seconds > BTW, the test case fails even before this patch. I'll probaby submit another issue about how to fix that. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org