public class JsonTransformer extends Object implements DocTransformer<org.brutusin.json.spi.JsonNode>
| Constructor and Description |
|---|
JsonTransformer(Schema schema) |
| Modifier and Type | Method and Description |
|---|---|
org.brutusin.json.spi.JsonNode |
documentToEntity(org.apache.lucene.document.Document doc) |
org.brutusin.commons.Pair<org.apache.lucene.document.Document,List<org.apache.lucene.facet.FacetField>> |
entityToDocument(org.brutusin.json.spi.JsonNode jsonNode) |
public JsonTransformer(Schema schema)
public org.brutusin.commons.Pair<org.apache.lucene.document.Document,List<org.apache.lucene.facet.FacetField>> entityToDocument(org.brutusin.json.spi.JsonNode jsonNode)
entityToDocument in interface DocTransformer<org.brutusin.json.spi.JsonNode>public org.brutusin.json.spi.JsonNode documentToEntity(org.apache.lucene.document.Document doc)
documentToEntity in interface DocTransformer<org.brutusin.json.spi.JsonNode>Copyright © 2010–2015. All rights reserved.