com.foursquare.slashem

Response

case class Response[T <: Record[T], Y](schema: T, creator: Option[((Map[String, Any], Option[Map[String, ArrayList[String]]])) ⇒ Y], numFound: Int, start: Int, docs: Array[(Map[String, Any], Option[Map[String, ArrayList[String]]])], fallOff: Option[Double], min: Option[Int], fieldFacets: Map[String, Map[String, Int]]) extends Product with Serializable

The response itself. The "docs" field is not type safe, you should use one of results or oids to access the results Y is the type that we are extracting from the response (e.g. a case class)

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Response
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Response(schema: T, creator: Option[((Map[String, Any], Option[Map[String, ArrayList[String]]])) ⇒ Y], numFound: Int, start: Int, docs: Array[(Map[String, Any], Option[Map[String, ArrayList[String]]])], fallOff: Option[Double], min: Option[Int], fieldFacets: Map[String, Map[String, Int]])

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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val creator: Option[((Map[String, Any], Option[Map[String, ArrayList[String]]])) ⇒ Y]

  9. val docs: Array[(Map[String, Any], Option[Map[String, ArrayList[String]]])]

  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. val fallOff: Option[Double]

  12. val fieldFacets: Map[String, Map[String, Int]]

  13. val filteredDocs: Array[(Map[String, Any], Option[Map[String, ArrayList[String]]])]

  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. val min: Option[Int]

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

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

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

    Definition Classes
    AnyRef
  21. val numFound: Int

  22. def oidScorePair: List[(ObjectId, Double)]

    Another special case for extracting just ObjectId & score pairs.

    Another special case for extracting just ObjectId & score pairs. Please think twice before using

  23. def oids: List[ObjectId]

    Special for extracting just ObjectIds without the overhead of record.

  24. def processedResults: List[Y]

    Return a list of results handled by the creator Most commonly used for case class based queries

  25. def results: List[T]

    Return a list of the documents in a usable form

  26. def results[T <: Record[T]](B: Record[T]): List[T]

    Gets a List[T] of docs returned from Lucene.

  27. val schema: T

  28. val start: Int

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

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped