Java Code Examples for org.apache.lucene.codecs.StoredFieldsFormat

The following examples show how to use org.apache.lucene.codecs.StoredFieldsFormat. These examples are extracted from open source projects. 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 Project: lucene-solr   Source File: Lucene50StoredFieldsFormat.java    License: 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 Project: lucene-solr   Source File: SimpleTextCodec.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public StoredFieldsFormat storedFieldsFormat() {
  return storedFields;
}
 
Example 3
Source Project: lucene-solr   Source File: AssertingCodec.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public StoredFieldsFormat storedFieldsFormat() {
  return storedFields;
}
 
Example 4
Source Project: lucene-solr   Source File: CompressingCodec.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public StoredFieldsFormat storedFieldsFormat() {
  return storedFieldsFormat;
}
 
Example 5
Source Project: lucene-solr   Source File: CrankyCodec.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public StoredFieldsFormat storedFieldsFormat() {
  return new CrankyStoredFieldsFormat(delegate.storedFieldsFormat(), random);
}
 
Example 6
Source Project: lucene-solr   Source File: CrankyStoredFieldsFormat.java    License: Apache License 2.0 4 votes vote down vote up
CrankyStoredFieldsFormat(StoredFieldsFormat delegate, Random random) {
  this.delegate = delegate;
  this.random = random;
}
 
Example 7
Source Project: lucene-solr   Source File: Lucene86Codec.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public final StoredFieldsFormat storedFieldsFormat() {
  return storedFieldsFormat;
}
 
Example 8
Source Project: lucene-solr   Source File: Lucene80Codec.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public final StoredFieldsFormat storedFieldsFormat() {
  return storedFieldsFormat;
}
 
Example 9
Source Project: lucene-solr   Source File: Lucene84Codec.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public final StoredFieldsFormat storedFieldsFormat() {
  return storedFieldsFormat;
}
 
Example 10
Source Project: mtas   Source File: MtasCodec.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public StoredFieldsFormat storedFieldsFormat() {
  initDelegate();
  return delegate.storedFieldsFormat();
}
 
Example 11
Source Project: incubator-retired-blur   Source File: Blur021Codec.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public final StoredFieldsFormat storedFieldsFormat() {
  return fieldsFormat;
}
 
Example 12
Source Project: incubator-retired-blur   Source File: Blur022Codec.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public final StoredFieldsFormat storedFieldsFormat() {
  return fieldsFormat;
}
 
Example 13
Source Project: incubator-retired-blur   Source File: Blur024Codec.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public final StoredFieldsFormat storedFieldsFormat() {
  return fieldsFormat;
}