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 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 interface MetaSchema.FieldGenerator
      Parameters:
      document - Document.add(org.apache.lucene.index.IndexableField) fields to this
      metaId - only used for better tracing/log messages
      name - field name
      sortable - if field is marked sortable
      value - field node
      Returns:
      true if nested fields should be skipped. Only applies if value is an object