Skip to content

Instantly share code, notes, and snippets.

teknoraver / unixhttpc.go
Last active February 3, 2023 11:28
HTTP over Unix domain sockets in golang
View unixhttpc.go
package main
import (
nz / gist:1132809
Created August 8, 2011 21:30
Sunspot - Retry search on partialResults
View gist:1132809
# Sample code using Sunspot 1.2.1 to retry a search when partialResults=true
# I hope this code will be somewhat deprecated in Sunspot 1.2.2, since we have to
# use instance_eval to access the otherwise inaccessible @solr_response instance variable.
class Post
# ...