|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FieldBuilder
Interface for classes that build Lucene document fields from UIMA annotations.
Method Summary | |
---|---|
org.apache.lucene.document.Field |
build(org.apache.uima.cas.CAS cas,
org.apache.lucene.document.Document doc,
Keywords keywords)
Builds a Field in the specified Document using values from the specified CAS. |
java.lang.String |
getFieldName()
Gets the name of the field this builder will create. |
java.lang.String |
getKeywordType()
If this field holds keywords, then this gets the keyword type (e.g. |
Method Detail |
---|
java.lang.String getKeywordType()
java.lang.String getFieldName()
org.apache.lucene.document.Field build(org.apache.uima.cas.CAS cas, org.apache.lucene.document.Document doc, Keywords keywords) throws AIDAException
cas
- the CAS to use to build the fielddoc
- the doc to add the fields to
AIDAException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |