{"issue":{"created_at":"2010-06-16T14:55:21Z","state":"open","updated_at":"2011-12-08T13:23:25Z","comments":2,"user":{"gravatar_id":"47ae07204a8b5c27fcfa9d6d253bba4e","id":1106,"url":"https://api.github.com/users/robhudson","avatar_url":"https://secure.gravatar.com/avatar/47ae07204a8b5c27fcfa9d6d253bba4e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"robhudson"},"body":"Idea: Make it easy to test search by building an index based on Django's \"test\\_\" database (possibly via data in a fixture).  Whoosh and Xapian could follow this pattern and update the PATH setting by prepending \"test\\_\" when building the index.  The tests could then test search knowing the contents of the indexes.","assignee":null,"id":223970,"number":226,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[],"title":"Testing searches via fixtures","html_url":"https://github.com/toastdriven/django-haystack/issues/226","closed_at":null,"url":"https://api.github.com/repos/toastdriven/django-haystack/issues/226","milestone":null},"action":"created","comment":{"created_at":"2011-12-08T13:23:25Z","updated_at":"2011-12-08T13:23:25Z","user":{"gravatar_id":"5d31322228e56596272ff389e86eaaa1","id":187630,"url":"https://api.github.com/users/evdb","avatar_url":"https://secure.gravatar.com/avatar/5d31322228e56596272ff389e86eaaa1?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"evdb"},"body":"Just to note that data appears to be written into the haystack index when a fixture is loaded (I'm using the RealTimeSearchIndex atm). But the data is not removed from the haystack index when the fixture is dropped. This means that results are found in the search index that are no longer in the database.\r\n","id":3062230,"url":"https://api.github.com/repos/toastdriven/django-haystack/issues/comments/3062230"}}