Return-Path: X-Original-To: apmail-lucene-java-user-archive@www.apache.org Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 43B24101CF for ; Tue, 15 Oct 2013 15:05:44 +0000 (UTC) Received: (qmail 575 invoked by uid 500); 15 Oct 2013 15:05:39 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 533 invoked by uid 500); 15 Oct 2013 15:05:39 -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 520 invoked by uid 99); 15 Oct 2013 15:05:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Oct 2013 15:05:39 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [209.85.128.179] (HELO mail-ve0-f179.google.com) (209.85.128.179) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Oct 2013 15:05:33 +0000 Received: by mail-ve0-f179.google.com with SMTP id cz12so364857veb.24 for ; Tue, 15 Oct 2013 08:05:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=AbvWvIPEg5EficKmfcieVI/ptpY2ypZQ0cPni/kgnfk=; b=T69rTlbvSOsRkTswFMhUEnaWfQCs6k5r5esEhLTV5qVpITfWc9JBri4Uqblp3qiSuB 7H7YzstaZ06mSHSo3cw0R8wqCWbfrvHYhd1t+Z+mq6UlA+HiJ9cGf1Cf3kgUDQJkicXA maR9O9hbvMBTP7r2fTTr6bTpCMVYIYidHSdxwKcuD1jOl5qX4G89gWAVc7ccbMiGGOld Jl9/lY9oG/a8JWkwaHv1ixFm4pwlrk6B2qSNs09oKz4rJdJwQsfED03Yk2auB12zp4WH ypqo1rG3sLZjjIyDTjVoklj8HBiF0Je53/G2UsOIfkZGAim/gK78F8tDgF60jY/1eN+1 T/VA== X-Gm-Message-State: ALoCoQmrM7pW8cOQpjjky/FmJdJzR8IoM0F9x6QKjIH+M+QlIYKsEru8UPVtajJCgqmI1EbjbgbI X-Received: by 10.58.208.130 with SMTP id me2mr12545173vec.13.1381849512119; Tue, 15 Oct 2013 08:05:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.72.131 with HTTP; Tue, 15 Oct 2013 08:04:52 -0700 (PDT) In-Reply-To: <4411381849097@webcorp1h.yandex-team.ru> References: <211541381844683@webcorp1h.yandex-team.ru> <4411381849097@webcorp1h.yandex-team.ru> From: Michael McCandless Date: Tue, 15 Oct 2013 11:04:52 -0400 Message-ID: Subject: Re: No .pst, .fld, .vec files in the result index To: Lucene Users Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org You should only need to call IndexWriterConfig.setUseCompoundFile(false), regardless of which MergePolicy you use. Mike McCandless http://blog.mikemccandless.com On Tue, Oct 15, 2013 at 10:58 AM, Igor Shalyminov wrote: > It's very strange: I use NoMergePolicy.NO_COMPOUND_FILES, set MaxCFSSegmentSizeMB(1) and it still creates cfs. > > There must be something wrong with the MergePolicy. > > -- > Igor > > 15.10.2013, 17:45, "Igor Shalyminov" : >> Hi! >> >> I'm trying to look at index contents by setting SimpleTextCodec into IndexWriterConfig. >> The problem is, after indexing there are only .cfs, .cfe, .si, segments.gen and segments_h files, and the only plaintext file is .si. >> >> .pst, .fld, .vec files are written too, but eventually they are deleted. How to index with keeping these files? >> >> -- >> Best Regards, >> Igor >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org >> For additional commands, e-mail: java-user-help@lucene.apache.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org