IndexPerson

esc.commons.IndexPerson
case class IndexPerson(id: String, externalId: String, fullName: String, datesOfBirth: List[String], countries: List[String], label: String)

Class represents a person to index.

Value parameters

countries

List of countries. Not null, empty allowed. Format: ISO-2, ISO-3 or name in en, de, fr or it (not recommended).

datesOfBirth

List of dates. Not null, empty allowed. Format see supported date formats by the DateNormalizer.

externalId

The external id of the person.

fullName

The full name of the person. More than one name? See Indexer class for the recommended solution.

id

The id of the person.

label

Optional string for a category. You can use it as a filter by searching an organisation.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product