org.tinygroup.fulltext.document
接口 Document

所有超级接口:
Iterable<Field>
所有已知实现类:
AbstractDocument, DefaultDocument

public interface Document
extends Iterable<Field>

文档接口

作者:
yancheng11334

方法摘要
 Field getAbstract()
          获得摘要字段
 Field getField(String name)
          获得匹配的字段
 List<Field> getFields(String name)
          获得一组匹配的字段组
 Field getId()
          获得主键字段
 Field getTitle()
          获得标题字段
 Field getType()
          获得分类字段
 
从接口 java.lang.Iterable 继承的方法
iterator
 

方法详细信息

getId

Field getId()
获得主键字段

返回:

getType

Field getType()
获得分类字段

返回:

getTitle

Field getTitle()
获得标题字段

返回:

getAbstract

Field getAbstract()
获得摘要字段

返回:

getField

Field getField(String name)
获得匹配的字段

参数:
name -
返回:

getFields

List<Field> getFields(String name)
获得一组匹配的字段组

参数:
name -
返回:


Copyright © 2006–2016 TinyGroup. All rights reserved.