Package org.wikidata.wdtk.wikibaseapi
Interface WbSearchEntitiesResult.Match
- Enclosing interface:
- WbSearchEntitiesResult
public static interface WbSearchEntitiesResult.Match
Represents information about how a document matched the query
-
Method Summary
-
Method Details
-
getType
String getType()Returns the type (field) of the matching term e.g "entityId", "label" or "alias".- Returns:
- type (field) of the match
-
getLanguage
String getLanguage()Returns the language of the matching term field.- Returns:
- language of the match
-
getText
String getText()Returns the text of the matching term.- Returns:
- text of the match
-