Package ch.rswk.meta.engine
Class MetaSchema.IllegalFieldGenerator
java.lang.Object
ch.rswk.meta.engine.MetaSchema.IllegalFieldGenerator
- All Implemented Interfaces:
MetaSchema.FieldGenerator
- Enclosing class:
MetaSchema
private static class MetaSchema.IllegalFieldGenerator
extends Object
implements MetaSchema.FieldGenerator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
appendFields
(org.apache.lucene.document.Document document, String metaId, @Nullable String name, boolean sortable, com.fasterxml.jackson.databind.JsonNode value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.rswk.meta.engine.MetaSchema.FieldGenerator
putAnalyzers, putPointConfigs
-
Constructor Details
-
IllegalFieldGenerator
private IllegalFieldGenerator()
-
-
Method Details
-
appendFields
public boolean appendFields(org.apache.lucene.document.Document document, String metaId, @Nullable String name, boolean sortable, com.fasterxml.jackson.databind.JsonNode value) - Specified by:
appendFields
in interfaceMetaSchema.FieldGenerator
- Parameters:
document
-Document.add(org.apache.lucene.index.IndexableField)
fields to thismetaId
- only used for better tracing/log messagesname
- field namesortable
- if field is marked sortablevalue
- field node- Returns:
- true if nested fields should be skipped. Only applies if value is an object
-