Packages

c

esc.index

Finder

class Finder extends AnyRef

Class that provides the necessary functions to find individuals and organizations. As a help you can create an instance of the class using the IndexFactory.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Finder
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Finder(indexSearcher: IndexSearcher, similarityConfig: SimilarityConfig = new SimilarityConfig())

    indexSearcher

    Lucene IndexSearcher.

    similarityConfig

    Optional.Similarity configuration.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. def findOrganisation(fullName: String, datesOfFounding: List[String], countries: List[String], label: String = ""): List[FinderMatch]

    Method to find an organisation by name with countries and dates of founding as filter.

    Method to find an organisation by name with countries and dates of founding as filter. Optional you can use label as an additional filter (if is indexed).

    fullName

    The full name of the organisation, incl. the legal form.

    datesOfFounding

    A list with known dates of founding. See DataNormalizer for supported string formats. Must not be null, empty list is allowed.

    countries

    A list with known countries. Most likeley the domicile(s). ISO-2 codes an names in en, de, fr and it are supported. Must not be null, empty list is allowed.

    label

    Optional. You can provide a label as search filter - if you have used them for indexing.

    returns

    Returns a list of FinderMatch with the match details. If no matches are found an empty list is returned.

  10. def findOrganisationByIR(nameQuery: String, datesOfFounding: List[String], countries: List[String], label: String = ""): List[FinderMatch]

    Method to find an organisation by lucene query string.

    Method to find an organisation by lucene query string.

    nameQuery

    The lucene query string for searching the name part.

    datesOfFounding

    A list with known dates of founding. See DataNormalizer for supported string formats. Must not be null, empty list is allowed.

    countries

    A list with known countries. Most likeley the domicile(s). ISO-2 codes an names in en, de, fr and it are supported. Must not be null, empty list is allowed.

    label

    Optional. You can provide a label as search filter - if you have used them for indexing.

    returns

    Returns a list of FinderMatch with the match details. If no matches are found an empty list is returned.

  11. def findPerson(fullName: String, datesOfBirth: List[String], countries: List[String], label: String = ""): List[FinderMatch]

    Method to find a person by name with countries and dates of birth as filter.

    Method to find a person by name with countries and dates of birth as filter. Optional you can use label as an additional filter (if is indexed).

    fullName

    The full name of the person, e.g. with middle- or maiden namen. But without title etc.

    datesOfBirth

    A list with known dates of birth. See DataNormalizer for supported string formats. Must not be null, empty list is allowed.

    countries

    A list with known countries. E.g. domicile, citizenship, country of birth etc. ISO-2 codes an names in en, de, fr and it are supported. Must not be null, empty list is allowed.

    label

    Optional. You can provide a label as search filter - if you have used them for indexing.

    returns

    Returns a list of FinderMatch with the match details. If no matches are found an empty list is returned.

  12. def findPersonByIR(nameQuery: String, datesOfBirth: List[String], countries: List[String], label: String = ""): List[FinderMatch]

    Method to search a person using a lucene query string for the name part.

    Method to search a person using a lucene query string for the name part.

    nameQuery

    The lucene query string for searching the name.

    datesOfBirth

    A list with known dates of birth. See DataNormalizer for supported string formats. Must not be null, empty list is allowed.

    countries

    A list with known countries. E.g. domicile, citizenship, country of birth etc. ISO-2 codes an names in en, de, fr and it are supported. Must not be null, empty list is allowed.

    label

    Optional. You can provide a label as search filter - if you have used them for indexing.

    returns

    Returns a list of FinderMatch with the match details. If no matches are found an empty list is returned.

  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def getDocCount(): Int

    Return the number of documents in the index.

  15. def getLoadTime(): Date

    Return the Date on which the object was created.

  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. val indexSearcher: IndexSearcher
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. val loadTimestamp: Date
  20. val nameNormalizer: NameNormalizer
  21. val nameSimilarity: NameSimilarity
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. val similarityConfig: SimilarityConfig
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped