Class SemanticSearch

java.lang.Object
com.algolia.model.search.SemanticSearch

public class SemanticSearch extends Object
Settings for the semantic search part of NeuralSearch. Only used when `mode` is _neuralSearch_.
  • Constructor Details

    • SemanticSearch

      public SemanticSearch()
  • Method Details

    • setEventSources

      public SemanticSearch setEventSources(List<String> eventSources)
    • addEventSources

      public SemanticSearch addEventSources(String eventSourcesItem)
    • getEventSources

      @Nullable public List<String> getEventSources()
      Indices from which to collect click and conversion events. If null, the current index and replica group will be used as the event source.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object