lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: No .pst, .fld, .vec files in the result index
Date Tue, 15 Oct 2013 15:04:52 GMT
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
<ishalyminov@yandex-team.ru> 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" <ishalyminov@yandex-team.ru>:
>> 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


Mime
View raw message