Example usage for org.apache.solr.response TextResponseWriter writeStr

List of usage examples for org.apache.solr.response TextResponseWriter writeStr

Introduction

In this page you can find the example usage for org.apache.solr.response TextResponseWriter writeStr.

Prototype

void writeStr(String name, String val, boolean needsEscaping) throws IOException;

Source Link

Usage

From source file:com.sindicetech.siren.solr.schema.ExtendedJsonField.java

License:Open Source License

@Override
public void write(final TextResponseWriter writer, final String name, final IndexableField f)
        throws IOException {
    writer.writeStr(name, f.stringValue(), true);
}

From source file:fi.nationallibrary.ndl.solr.schema.CompressedStrField.java

License:Apache License

@Override
public void write(TextResponseWriter writer, String name, Fieldable f) throws IOException {
    writer.writeStr(name, toExternal(f), true);
}

From source file:fi.nationallibrary.ndl.solr.schema.RangeField.java

License:Apache License

@Override
public void write(TextResponseWriter writer, String name, Fieldable f) throws IOException {
    writer.writeStr(name, f.stringValue(), false);
}

From source file:net.semanticmetadata.lire.solr.BinaryDocValuesField.java

License:Open Source License

@Override
public void write(TextResponseWriter writer, String name, IndexableField f) throws IOException {
    writer.writeStr(name, toBase64String(toObject(f)), false);
}

From source file:org.alfresco.solr.AlfrescoFieldType.java

License:Open Source License

@Override
public void write(TextResponseWriter writer, String name, IndexableField f) throws IOException {
    writer.writeStr(name, f.stringValue(), true);
}

From source file:org.sindice.siren.solr.schema.SirenField.java

License:Open Source License

@Override
public void write(final TextResponseWriter writer, final String name, final Fieldable f) throws IOException {
    writer.writeStr(name, f.stringValue(), true);
}

From source file:solr2155.solr.schema.GeoHashField.java

License:Apache License

@Override
public void write(TextResponseWriter writer, String name, Fieldable f) throws IOException {
    writer.writeStr(name, toExternal(f), false);
}