org.elasticsearch.index.mapper
Interface DocumentMapper.ParseListener<ParseContext>
- All Known Implementing Classes:
- DocumentMapper.ParseListenerAdapter
- Enclosing class:
- DocumentMapper
public static interface DocumentMapper.ParseListener<ParseContext>
A listener to be called during the parse process.
EMPTY
static final DocumentMapper.ParseListener EMPTY
beforeFieldAdded
boolean beforeFieldAdded(FieldMapper fieldMapper,
org.apache.lucene.document.Fieldable fieldable,
ParseContext parseContent)
- Called before a field is added to the document. Return true to include
it in the document.
Copyright © 2009-2012. All Rights Reserved.