Example usage for org.apache.lucene.document Field setByteValue

List of usage examples for org.apache.lucene.document Field setByteValue

Introduction

In this page you can find the example usage for org.apache.lucene.document Field setByteValue.

Prototype

public void setByteValue(byte value) 

Source Link

Document

Expert: change the value of this field.

Usage

From source file:org.apache.solr.legacy.TestLegacyField.java

License:Apache License

private void trySetByteValue(Field f) {
    expectThrows(IllegalArgumentException.class, () -> {
        f.setByteValue((byte) 10);
    });//from w  w  w. j  a v  a2 s .co m
}