Package com.orchestranetworks.search.strategy

# Interface SynonymPair

public interface SynonymPair
Represents a pair of synonyms.

The members of the pair are considered the same in the context of a search. Lists of synonyms are registered in a module. When configuring a field-level search strategy in the DMA, the data-modeler can refer to a registered list of synonyms using its `SynonymsKey`.

Since:
  6.0.0
See Also:
  - `ModuleSearchRegistrationContext.registerSynonyms(SynonymDeclaration, List)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `first()`
  `static SynonymPair`
  `newPair(String input, String output)`
  `String`
  `second()`

- ## Method Details

  - ### newPair

    static SynonymPair newPair(String input, String output)

  - ### first

    String first()

  - ### second

    String second()