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 3140CD7A0 for ; Mon, 22 Oct 2012 09:46:32 +0000 (UTC) Received: (qmail 49404 invoked by uid 500); 22 Oct 2012 09:46:27 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 49245 invoked by uid 500); 22 Oct 2012 09:46:27 -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 48987 invoked by uid 99); 22 Oct 2012 09:46:27 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Oct 2012 09:46:27 +0000 Date: Mon, 22 Oct 2012 09:46:27 +0000 (UTC) From: "Romain MERESSE (JIRA)" To: dev@lucene.apache.org Message-ID: <187811745.9132.1350899187466.JavaMail.jiratomcat@arcas> In-Reply-To: <242075318.12580.1331726798294.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (SOLR-3245) Poor performance of Hunspell with Polish Dictionary 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-3245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13481277#comment-13481277 ] Romain MERESSE commented on SOLR-3245: -------------------------------------- Same problem here, with French dictionary in Solr 3.6 With Hunspell : ~5 documents/s Without Hunspell : ~280 documents/s Someone got a solution ? ... > Poor performance of Hunspell with Polish Dictionary > --------------------------------------------------- > > Key: SOLR-3245 > URL: https://issues.apache.org/jira/browse/SOLR-3245 > Project: Solr > Issue Type: Bug > Components: Schema and Analysis > Affects Versions: 4.0-ALPHA > Environment: Centos 6.2, kernel 2.6.32, 2 physical CPU Xeon 5606 (4 cores each), 32 GB RAM, 2 SSD disks in RAID 0, java version 1.6.0_26, java settings -server -Xms4096M -Xmx4096M > Reporter: Agnieszka > Labels: performance > Attachments: pl_PL.zip > > > In Solr 4.0 Hunspell stemmer with polish dictionary has poor performance whereas performance of hunspell from http://code.google.com/p/lucene-hunspell/ in solr 3.4 is very good. > Tests shows: > Solr 3.4, full import 489017 documents: > StempelPolishStemFilterFactory - 2908 seconds, 168 docs/sec > HunspellStemFilterFactory - 3922 seconds, 125 docs/sec > Solr 4.0, full import 489017 documents: > StempelPolishStemFilterFactory - 3016 seconds, 162 docs/sec > HunspellStemFilterFactory - 44580 seconds (more than 12 hours), 11 docs/sec > My schema is quit easy. For Hunspell I have one text field I copy 14 text fields to: > {code:xml} > "" > > .... > > {code} > The "text_pl_hunspell" configuration: > {code:xml} > > > > ignoreCase="true" > words="dict/stopwords_pl.txt" > enablePositionIncrements="true" > /> > > > > > > > ignoreCase="true" > words="dict/stopwords_pl.txt" > enablePositionIncrements="true" > /> > > > > > {code} > I use Polish dictionary (files stopwords_pl.txt, protwords_pl.txt, synonyms_pl.txt are empy)- pl_PL.dic, pl_PL.aff. These are the same files I used in 3.4 version. > For Polish Stemmer the diffrence is only in definion text field: > {code} > "" > > > > ignoreCase="true" > words="dict/stopwords_pl.txt" > enablePositionIncrements="true" > /> > > > > > > > > ignoreCase="true" > words="dict/stopwords_pl.txt" > enablePositionIncrements="true" > /> > > > > > > {code} > One document has 23 fields: > - 14 text fields copy to one text field (above) that is only indexed > - 8 other indexed fields (2 strings, 2 tdates, 3 tint, 1 tfloat) The size of one document is 3-4 kB. -- 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