org.elasticsearch.index.mapper
Class DocumentMapper.ParseListenerAdapter
java.lang.Object
org.elasticsearch.index.mapper.DocumentMapper.ParseListenerAdapter
- All Implemented Interfaces:
- DocumentMapper.ParseListener
- Enclosing class:
- DocumentMapper
public static class DocumentMapper.ParseListenerAdapter
- extends Object
- implements DocumentMapper.ParseListener
Method Summary |
boolean |
beforeFieldAdded(FieldMapper fieldMapper,
org.apache.lucene.document.Fieldable fieldable,
Object parseContext)
Called before a field is added to the document. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DocumentMapper.ParseListenerAdapter
public DocumentMapper.ParseListenerAdapter()
beforeFieldAdded
public boolean beforeFieldAdded(FieldMapper fieldMapper,
org.apache.lucene.document.Fieldable fieldable,
Object parseContext)
- Description copied from interface:
DocumentMapper.ParseListener
- Called before a field is added to the document. Return true to include
it in the document.
- Specified by:
beforeFieldAdded
in interface DocumentMapper.ParseListener
Copyright © 2009-2012. All Rights Reserved.