mirror of
https://github.com/apache/lucene.git
synced 2025-03-09 01:59:27 +00:00
use codec ID to create postings file in SimpleTextCodec
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1044089 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
013cc3e216
commit
fc13ac3112
@ -57,7 +57,7 @@ public class SimpleTextCodec extends Codec {
|
||||
static final String POSTINGS_EXTENSION = "pst";
|
||||
|
||||
static String getPostingsFileName(String segment, String id) {
|
||||
return IndexFileNames.segmentFileName(segment, "", POSTINGS_EXTENSION);
|
||||
return IndexFileNames.segmentFileName(segment, id, POSTINGS_EXTENSION);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user