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.


Field Summary
static DocumentMapper.ParseListener EMPTY
           
 
Method Summary
 boolean beforeFieldAdded(FieldMapper fieldMapper, org.apache.lucene.document.Fieldable fieldable, ParseContext parseContent)
          Called before a field is added to the document.
 

Field Detail

EMPTY

static final DocumentMapper.ParseListener EMPTY
Method Detail

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.