Improvements, fixes and renaming

@aseure aseure released this Oct 3, 2016 · 43 commits to master since this release

Special thanks to external contributors

Fixes

  • Fix Client.ListIndexes
  • Fix LogRes type
  • Fix aroundRadius type
  • Fix distinct type
  • Fix removeStopWords type
  • Fix NewOneWaySynonym method name (minor typo)
  • Fix NewAltCorrectionSynonym method name (minor typo)

Additions

  • Add Client.SetHTTPClient method
  • Add Index.GetObjectsAttrs method
  • Add Settings.ToMap method
  • Add FileSize field in the IndexRes response type
  • Add NumberOfPendingTask field in the IndexRes response type

Changes

  • Implement the new Synonym API
  • Rename fowardToSlaves parameter into forwardToReplicas
  • Rename attributesToIndex setting into searchableAttributes
  • Rename numericAttributesToIndex setting into numericAttributesForFiltering
  • Allow exactOnSingleWordQuery parameter in queries
  • Allow alternativesAsExact parameter in queries
  • Allow forwardToReplicas parameter in queries

Misc

  • Avoid the inclusion of the syscall package to be used within Google App Engine

Tests

  • Add tests
  • Run tests in parallel
  • Only test across the last 3 major versions of Go (currently 1.5, 1.6 and 1.7)

Downloads