- Accept percentileComputation query parameter as bool
- Add default ProxyFunc to the default transport layer of the HTTP client
- Improve retry strategy to let it use the provided hosts if any in priority
- Re-arrange the order of hosts of the retry strategy
- Add PartialUpdateOp type and helpers to simplify partial update of records
- Accept disableExactOnAttributes query and settings parameter as []string
- Accept disablePrefixOnAttributes settings parameter as []string
- Accept paginationLimitedTo settings parameter as int
- Accept length query parameter as int
- Accept offset query parameter as int
- Accept restrictHighlightAndSnippetArrays query and settings parameter as bool
- Accept typoTolerance query parameter as string or bool
- Accept alternativesAsExact settings parameter as []string
- Accept exactOnSingleWordQuery settings parameter as string
- Accept optionalWords query and settings parameter as string or []string
- Accept removeWordsIfNoResults settings parameter as string
- Accupt insidePolygon query parameter as string or [][]float64
- Accept insideBoundingBox query parameter as string or [][]float64
- Accept facetFilters query parameter as string or []string
- Accept facets query parameter as string or []string
- Accept restrictSearchableAttributes query parameter as string or []string
- Accept analyticsTags query parameter as string or []string
- Accept tagFilters query parameter as string or []interface{}
- Accept numericFilters query parameter as string or []interface{}
- Accept getRankingInfo query parameter as int or bool
- Run the tests with Go 1.8
- Do not run the tests with Go 1.5 anymore
- Fix the
attributesToRetrieve
handling ofGetObject/GetObjects
methods
- (Get|Add|Update|Delete)APIKey methods
- Deprecate (Get|Add|Update|Delete)UserKey methods
- Allow
maxFacetHits
parameter in queries and parameters
- Ensure
net/http.Response.Body.Close()
is called
- Only accepts the following parameters for
GenerateSecuredAPIKey
:userToken
(string identifier generally used to rate-limit users per IP)validUntil
(timestamp of the expiration date)restrictIndices
(comma-separated string list of the indices to restrict)referers
(string slice of allowed referers)restrictSources
(string of the allowed IPv4 network)
- Improve the transport layer code
- Keep the last active connection between requests to better handle DNS timeouts
- Add
Index.SearchForFacetValues
method- Same as
Index.SearchFacet
Index.SearchFacet
is kept for backward-compatibility
- Same as
- Accept both boolean and string slice for
Settings.IgnorePlurals
- Handle missing parameters in
Settings.ToMap
:responseFields
typoTolerance
- Accept
responseFields
parameter in queries and settings
- Add
Index.SearchFacet
method
- Exclude the
testing
package from the build - Fix typo and type checking for
attributeForDistinct
- Accept
facetingAfterDistinct
parameter in queries
- 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)
- Add
Client.SetHTTPClient
method - Add
Index.GetObjectsAttrs
method - Add
Settings.ToMap
method - Add
FileSize
field in theIndexRes
response type - Add
NumberOfPendingTask
field in theIndexRes
response type
- Implement the new Synonym API
- Rename
fowardToSlaves
parameter intoforwardToReplicas
- Rename
attributesToIndex
setting intosearchableAttributes
- Rename
numericAttributesToIndex
setting intonumericAttributesForFiltering
- Allow
exactOnSingleWordQuery
parameter in queries - Allow
alternativesAsExact
parameter in queries - Allow
forwardToReplicas
parameter in queries
- Avoid the inclusion of the
syscall
package to be used within Google App Engine
- Add tests
- Run tests in parallel
- Only test across the last 3 major versions of Go (currently 1.5, 1.6 and 1.7)
- Type every response from the API
- Add tests
- Breaking changes listed here: https://github.com/algolia/algoliasearch-client-go/wiki/Migration-guide-to-version-2.x
- Code refactoring ahead of version 2.0.0
- Add new secured api keys
- Fix bug with distinct in deleteByQuery
- Add new browse methods
- Add new methods to add/update api key
- Add batch method to target multiple indices
- Add strategy parameter for the multipleQueries
- Add new method to generate secured api key from query parameters
- New implementation for the retry on another DNS
- Fix the retry for a network error
- Drop Go 1.2 support
- Add timeout
- Bump to 1.1.0.
- Switch to .net.
- Bump to 1.0.2.
- Wait more for the ACL.
- Use sandboxes.
- Fix go tip.
- Try to fix go 1.2.
- Ability to set custom hosts.
- Fix missing safeName call.
- Add safeName function.
- Update ChangeLog.
- Bump to 1.0.1.
- Fix retry.
- Bump to 1.0.0.
- Add setExtraHeader.
- Documentation of new query parameter & index setting.
- Updated default typoTolerance setting & updated removedWordsIfNoResult documentation Add the documentation about the update of an APIKey.
- Added update key.
- Updated default typoTolerance setting & updated removedWordsIfNoResult documentation.
- Remove unsupported version.
- Add new version of Go.
- Improve the encoding of query parametter.
- Add documentation about removeWordsIfNoResult.
- Fixed links.
- Added aroundLatLngViaIP documentation.
- Add notes about the JS API client.
- Add tutorial links + minor enhancements.
- Added documentation of suffix/prefix index name matching in API key.
- Change the cluster.
- Added restrictSearchableAttributes Added multiQueries.
- Documentation: Added deleteByQuery and multipleQueries.
- Added notes on attributesToIndex.
- Update README.md (getObjects)
- Add DeleteByQuery and GetObjects.
- Added disableTypoToleranceOn & altCorrections index settings:
- Add typoTolerance & allowsTyposOnNumericTokens query parameters.
- Increase the sleeping time.
- Documentation: Added words ranking parameter:
- Add missing waitTask Add sleep.
- Added asc(attributeName) & desc(attributeName) documentation in index settings.
- Updated synonyms examples.
- Fix typo.
- Add a note about distinct and the empty queries.
- Added analytics,synonyms,enableSynonymsInHighlight query parameters.
- Update example of generate secured api key.
- Add multipleQueries Add test for multipleQueries Fix test (missing waitTask) Fix url encoding.
- Add test for generate the api key.
- Add generate secured api key.
- Fix the test of index acl.
- New numericFilters documentation.
- Fix Coveralls.
- Add Badges Simplify snippets.
- Change travis.yml.
- Trying to add Travis CI.
- Update README.md.
- Add checking of the length of variadic parametter Change prototype of Query Rename Query to Search Change DeleteObjects to take a array of IDs.
- Add optional parametter for GetObject.
- Add DeleteObjects.
- Change package from main to algoliasearch.
- Add batch.
- Export some functions.
- Fix get/list/delete key for an user Add test on keys.
- Add shuffling of the array of host.
- Add handling of server failure Add handling of server response.
- Fix browse Add user-agent Add content-length in the headers Add content-type in the headers.
- Improve test suite.
- Fix url encoding Fix query index Trying Fix 400.
- Create README.md.
- Impossible to fix urlencoding now fix tests.
- Add make test.
- Add partial test suite.
- Add waitTask.
- Add many functions for an index.
- Fix addKey.
- Add getLogs.
- Add addKey.
- Add sending of body.
- Add parsing of json response.
- Add example of test.
- Add global list/add/delete function.
- Add Index function without body.
- Add listIndexes.
- Add simple Makefile.
- Initial commit.