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

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

Introduction

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

Prototype

public void setReaderValue(Reader 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 trySetReaderValue(Field f) {
    expectThrows(IllegalArgumentException.class, () -> {
        f.setReaderValue(new StringReader("BOO!"));
    });// w w w. ja v a2s  . co  m
}