com.sksamuel.elastic4s.SearchDsl

SearchDefinition

class SearchDefinition extends RequestDefinition[SearchRequest, SearchResponse, SearchRequestBuilder]

Linear Supertypes
RequestDefinition[SearchRequest, SearchResponse, SearchRequestBuilder], RequestDefinitionLike[SearchRequest, SearchResponse, SearchRequestBuilder], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SearchDefinition
  2. RequestDefinition
  3. RequestDefinitionLike
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SearchDefinition(indexes: Seq[String])

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val action: Action[SearchRequest, SearchResponse, SearchRequestBuilder]

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def bool(block: ⇒ BoolQueryDefinition): SearchDefinition

  9. def build: SearchRequest

  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. def explain(enabled: Boolean): SearchDefinition

  14. def facets(f: FacetDefinition*): SearchDefinition

  15. def facets(iterable: Iterable[FacetDefinition]): SearchDefinition

  16. def fields(fields: String*): SearchDefinition

  17. def filter(block: ⇒ FilterDefinition): SearchDefinition

  18. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def from(i: Int): SearchDefinition

  20. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  21. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  22. def highlighting(highlights: HighlightDefinition*): SearchDefinition

  23. def highlighting(options: SearchDsl.HighlightOptionsDefinition, highlights: HighlightDefinition*): SearchDefinition

  24. def indexBoost(tuples: (String, Double)*): SearchDefinition

  25. def indexBoost(map: Map[String, Double]): SearchDefinition

  26. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  27. def limit(i: Int): SearchDefinition

  28. def minScore(score: Double): SearchDefinition

  29. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  32. def preference(pref: String): SearchDefinition

  33. def preference(pref: Preference): SearchDefinition

  34. def prefix(tuple: (String, Any)): SearchDefinition

    Adds a single prefix query to this search

    Adds a single prefix query to this search

    tuple

    - the field and prefix value

    returns

    this

  35. def query(block: ⇒ QueryDefinition): SearchDefinition

  36. def query(string: String): SearchDefinition

    Adds a single string query to this search

    Adds a single string query to this search

    string

    the query string

    returns

    this

  37. def query2(block: ⇒ QueryBuilder): SearchDefinition

  38. def range(field: String): SearchDefinition

  39. def regex(tuple: (String, Any)): SearchDefinition

    Adds a single regex query to this search

    Adds a single regex query to this search

    tuple

    - the field and regex value

    returns

    this

  40. def rescore(rescore: RescoreDefinition): SearchDefinition

  41. def routing(r: String): SearchDefinition

  42. def scroll(keepAlive: String): SearchDefinition

  43. def searchType(searchType: SearchType): SearchDefinition

  44. def size(i: Int): SearchDefinition

  45. def sort(sorts: SortDefinition*): SearchDefinition

  46. def sort2(sorts: SortBuilder*): SearchDefinition

  47. def start(i: Int): SearchDefinition

  48. def suggestions(suggestions: SuggestionDefinition*): SearchDefinition

  49. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  50. def term(tuple: (String, Any)): SearchDefinition

  51. def toString(): String

    Definition Classes
    AnyRef → Any
  52. def types(types: String*): SearchDefinition

  53. def version(enabled: Boolean): SearchDefinition

  54. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  56. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from RequestDefinition[SearchRequest, SearchResponse, SearchRequestBuilder]

Inherited from RequestDefinitionLike[SearchRequest, SearchResponse, SearchRequestBuilder]

Inherited from AnyRef

Inherited from Any

Ungrouped