Skip to content

Instantly share code, notes, and snippets.

@ijuma
Last active August 29, 2015 14:00
Show Gist options
  • Select an option

  • Save ijuma/11222642 to your computer and use it in GitHub Desktop.

Select an option

Save ijuma/11222642 to your computer and use it in GitHub Desktop.
git
object SolrClient {
object Response {
// This was fine in 2.10, but had to be renamed in 2.11
def apply[T](queryResponse: QueryResponse, page: Page)(documentsMapper: SolrDocument => T = identity[SolrDocument] _): Response[T] = ...
}
case class Response[T](
documents: Seq[T],
page: Page,
spellCheck: Option[SpellCheckResponse] = None
)
}
@ijuma

ijuma commented Apr 23, 2014

Copy link
Copy Markdown
Author

Great, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment