org.apache.lucene.codecs.StoredFieldsFormat Java Examples

The following examples show how to use org.apache.lucene.codecs.StoredFieldsFormat. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Lucene50StoredFieldsFormat.java    From lucene-solr with Apache License 2.0 5 votes vote down vote up
StoredFieldsFormat impl(Mode mode) {
  switch (mode) {
    case BEST_SPEED: 
      return new CompressingStoredFieldsFormat("Lucene50StoredFieldsFastData", CompressionMode.FAST, 1 << 14, 128, 10);
    case BEST_COMPRESSION: 
      return new CompressingStoredFieldsFormat("Lucene50StoredFieldsHighData", CompressionMode.HIGH_COMPRESSION, 61440, 512, 10);
    default: throw new AssertionError();
  }
}
 
Example #2
Source File: SimpleTextCodec.java    From lucene-solr with Apache License 2.0 4 votes vote down vote up
@Override
public StoredFieldsFormat storedFieldsFormat() {
  return storedFields;
}
 
Example #3
Source File: AssertingCodec.java    From lucene-solr with Apache License 2.0 4 votes vote down vote up
@Override
public StoredFieldsFormat storedFieldsFormat() {
  return storedFields;
}
 
Example #4
Source File: CompressingCodec.java    From lucene-solr with Apache License 2.0 4 votes vote down vote up
@Override
public StoredFieldsFormat storedFieldsFormat() {
  return storedFieldsFormat;
}
 
Example #5
Source File: CrankyCodec.java    From lucene-solr with Apache License 2.0 4 votes vote down vote up
@Override
public StoredFieldsFormat storedFieldsFormat() {
  return new CrankyStoredFieldsFormat(delegate.storedFieldsFormat(), random);
}
 
Example #6
Source File: CrankyStoredFieldsFormat.java    From lucene-solr with Apache License 2.0 4 votes vote down vote up
CrankyStoredFieldsFormat(StoredFieldsFormat delegate, Random random) {
  this.delegate = delegate;
  this.random = random;
}
 
Example #7
Source File: Lucene86Codec.java    From lucene-solr with Apache License 2.0 4 votes vote down vote up
@Override
public final StoredFieldsFormat storedFieldsFormat() {
  return storedFieldsFormat;
}
 
Example #8
Source File: Lucene80Codec.java    From lucene-solr with Apache License 2.0 4 votes vote down vote up
@Override
public final StoredFieldsFormat storedFieldsFormat() {
  return storedFieldsFormat;
}
 
Example #9
Source File: Lucene84Codec.java    From lucene-solr with Apache License 2.0 4 votes vote down vote up
@Override
public final StoredFieldsFormat storedFieldsFormat() {
  return storedFieldsFormat;
}
 
Example #10
Source File: MtasCodec.java    From mtas with Apache License 2.0 4 votes vote down vote up
@Override
public StoredFieldsFormat storedFieldsFormat() {
  initDelegate();
  return delegate.storedFieldsFormat();
}
 
Example #11
Source File: Blur021Codec.java    From incubator-retired-blur with Apache License 2.0 4 votes vote down vote up
@Override
public final StoredFieldsFormat storedFieldsFormat() {
  return fieldsFormat;
}
 
Example #12
Source File: Blur022Codec.java    From incubator-retired-blur with Apache License 2.0 4 votes vote down vote up
@Override
public final StoredFieldsFormat storedFieldsFormat() {
  return fieldsFormat;
}
 
Example #13
Source File: Blur024Codec.java    From incubator-retired-blur with Apache License 2.0 4 votes vote down vote up
@Override
public final StoredFieldsFormat storedFieldsFormat() {
  return fieldsFormat;
}