Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 68518 invoked from network); 20 Jun 2007 05:24:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Jun 2007 05:24:55 -0000 Received: (qmail 4022 invoked by uid 500); 20 Jun 2007 05:24:50 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 3982 invoked by uid 500); 20 Jun 2007 05:24:50 -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 3953 invoked by uid 99); 20 Jun 2007 05:24:49 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jun 2007 22:24:49 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jun 2007 22:24:45 -0700 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1I0sg4-00034c-Vb for java-user@lucene.apache.org; Tue, 19 Jun 2007 22:24:24 -0700 Message-ID: <11207318.post@talk.nabble.com> Date: Tue, 19 Jun 2007 22:24:24 -0700 (PDT) From: Sebastin To: java-user@lucene.apache.org Subject: Re: ways to minimize index size? In-Reply-To: <11195897.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: sebasmtech@gmail.com References: <11195406.post@talk.nabble.com> <359a92830706190709l1e9dd54au254075bba125146e@mail.gmail.com> <11195897.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org When i use the standardAnalyzer storage size increases.how can i minimize index store Sebastin wrote: > > > String outgoingNumber="9198408365809"; > String incomingNumber="9840861114"; > String datesc="070601"; > String imsiNumber="444021365987"; > String callType="1"; > > //Search Fields > String contents=(outgoingNumber+" "+incomingNumber+" "+dateSc+" > "+imsiNumber+" "+callType ); > > //Display Fields > > String records=(callingPartyNumber+" > "+calledPartyNumber+" "+dateSc+" "+chargDur+" "+incomingRoute+" > "+outgoingRoute+" "+timeSc); > > > IndexWriter indexWriter = new > IndexWriter(indexDir,new StandardAnalyzer(),true); > > Document document = new Document(); > > document.add(new > Field("contents",contents,Field.Store.NO,Field.Index.TOKENIZED)); > > > > document.add(new > Field("records",records,Field.Store.YES,Field.Index.NO)); > > > indexWriter.setUseCompoundFile(true); > indexWriter.addDocument(document); > } > > please help me to acheive the minimum size > > > > > > Erick Erickson wrote: >> >> Show us the code you use to index. Are you storing the fields? >> omitting norms? Throwing out stop words? >> >> Best >> Erick >> >> On 6/19/07, Sebastin wrote: >>> >>> >>> Hi Does anyone give me an idea to reduce the Index size to down.now i am >>> getting 42% compression in my index store.i want to reduce upto 70%.i >>> use >>> standardanalyzer to write the document.when i use SimpleAnalyzer it >>> reduce >>> upto 58% but i couldnt search the document.please help me to acheive. >>> >>> Thanks in advance >>> >>> Jeff-188 wrote: >>> > >>> >>I found that reducing my index from 8G to 4G (through not stemming) >>> gave >>> me >>> > about a 10% performance improvement. >>> > >>> > How did you do this? I don't see this as an option. >>> > >>> > Jeff >>> > >>> > >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/ways-to-minimize-index-size--tf3401213.html#a11195406 >>> Sent from the Lucene - Java Users mailing list archive at Nabble.com. >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org >>> For additional commands, e-mail: java-user-help@lucene.apache.org >>> >>> >> >> > > -- View this message in context: http://www.nabble.com/ways-to-minimize-index-size--tf3401213.html#a11207318 Sent from the Lucene - Java Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org