Skip to content

Commit

Permalink
Use GitHub and semantic versioning
Browse files Browse the repository at this point in the history
Thinking about using `github.com/olivere/elastic` with semantic
versioning as the canonical source for 6.0 and later.
  • Loading branch information
olivere committed Nov 2, 2017
1 parent 26ed1e5 commit ab90650
Show file tree
Hide file tree
Showing 65 changed files with 64 additions and 64 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion bulk.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"fmt"
"net/url"

"gopkg.in/olivere/elastic.v6/uritemplates"
"github.com/olivere/elastic/uritemplates"
)

// BulkService allows for batching bulk requests and sending them to
Expand Down
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (

"github.com/pkg/errors"

"gopkg.in/olivere/elastic.v6/config"
"github.com/olivere/elastic/config"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion cluster-test/cluster-test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"sync/atomic"
"time"

elastic "gopkg.in/olivere/elastic.v6"
elastic "github.com/olivere/elastic"
)

type Tweet struct {
Expand Down
2 changes: 1 addition & 1 deletion cluster_health.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"net/url"
"strings"

"gopkg.in/olivere/elastic.v6/uritemplates"
"github.com/olivere/elastic/uritemplates"
)

// ClusterHealthService allows to get a very simple status on the health of the cluster.
Expand Down
2 changes: 1 addition & 1 deletion cluster_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"net/url"
"strings"

"gopkg.in/olivere/elastic.v6/uritemplates"
"github.com/olivere/elastic/uritemplates"
)

// ClusterStateService allows to get a comprehensive state information of the whole cluster.
Expand Down
2 changes: 1 addition & 1 deletion cluster_stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"net/url"
"strings"

"gopkg.in/olivere/elastic.v6/uritemplates"
"github.com/olivere/elastic/uritemplates"
)

// ClusterStatsService is documented at
Expand Down
2 changes: 1 addition & 1 deletion count.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"net/url"
"strings"

"gopkg.in/olivere/elastic.v6/uritemplates"
"github.com/olivere/elastic/uritemplates"
)

// CountService is a convenient service for determining the
Expand Down
2 changes: 1 addition & 1 deletion delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"net/http"
"net/url"

"gopkg.in/olivere/elastic.v6/uritemplates"
"github.com/olivere/elastic/uritemplates"
)

// DeleteService allows to delete a typed JSON document from a specified
Expand Down
2 changes: 1 addition & 1 deletion delete_by_query.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"net/url"
"strings"

"gopkg.in/olivere/elastic.v6/uritemplates"
"github.com/olivere/elastic/uritemplates"
)

// DeleteByQueryService deletes documents that match a query.
Expand Down
2 changes: 1 addition & 1 deletion example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"reflect"
"time"

elastic "gopkg.in/olivere/elastic.v6"
elastic "github.com/olivere/elastic"
)

type Tweet struct {
Expand Down
2 changes: 1 addition & 1 deletion exists.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"net/http"
"net/url"

"gopkg.in/olivere/elastic.v6/uritemplates"
"github.com/olivere/elastic/uritemplates"
)

// ExistsService checks for the existence of a document using HEAD.
Expand Down
2 changes: 1 addition & 1 deletion explain.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"net/url"
"strings"

"gopkg.in/olivere/elastic.v6/uritemplates"
"github.com/olivere/elastic/uritemplates"
)

// ExplainService computes a score explanation for a query and
Expand Down
2 changes: 1 addition & 1 deletion field_stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"net/url"
"strings"

"gopkg.in/olivere/elastic.v6/uritemplates"
"github.com/olivere/elastic/uritemplates"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion get.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"net/url"
"strings"

"gopkg.in/olivere/elastic.v6/uritemplates"
"github.com/olivere/elastic/uritemplates"
)

// GetService allows to get a typed JSON document from the index based
Expand Down
2 changes: 1 addition & 1 deletion index.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"fmt"
"net/url"

"gopkg.in/olivere/elastic.v6/uritemplates"
"github.com/olivere/elastic/uritemplates"
)

// IndexService adds or updates a typed JSON document in a specified index,
Expand Down
2 changes: 1 addition & 1 deletion indices_analyze.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"fmt"
"net/url"

"gopkg.in/olivere/elastic.v6/uritemplates"
"github.com/olivere/elastic/uritemplates"
)

// IndicesAnalyzeService performs the analysis process on a text and returns
Expand Down
2 changes: 1 addition & 1 deletion indices_close.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"fmt"
"net/url"

"gopkg.in/olivere/elastic.v6/uritemplates"
"github.com/olivere/elastic/uritemplates"
)

// IndicesCloseService closes an index.
Expand Down
2 changes: 1 addition & 1 deletion indices_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"errors"
"net/url"

"gopkg.in/olivere/elastic.v6/uritemplates"
"github.com/olivere/elastic/uritemplates"
)

// IndicesCreateService creates a new index.
Expand Down
2 changes: 1 addition & 1 deletion indices_delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"net/url"
"strings"

"gopkg.in/olivere/elastic.v6/uritemplates"
"github.com/olivere/elastic/uritemplates"
)

// IndicesDeleteService allows to delete existing indices.
Expand Down
2 changes: 1 addition & 1 deletion indices_delete_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"fmt"
"net/url"

"gopkg.in/olivere/elastic.v6/uritemplates"
"github.com/olivere/elastic/uritemplates"
)

// IndicesDeleteTemplateService deletes index templates.
Expand Down
2 changes: 1 addition & 1 deletion indices_exists.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"net/url"
"strings"

"gopkg.in/olivere/elastic.v6/uritemplates"
"github.com/olivere/elastic/uritemplates"
)

// IndicesExistsService checks if an index or indices exist or not.
Expand Down
2 changes: 1 addition & 1 deletion indices_exists_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"net/http"
"net/url"

"gopkg.in/olivere/elastic.v6/uritemplates"
"github.com/olivere/elastic/uritemplates"
)

// IndicesExistsTemplateService checks if a given template exists.
Expand Down
2 changes: 1 addition & 1 deletion indices_exists_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"net/url"
"strings"

"gopkg.in/olivere/elastic.v6/uritemplates"
"github.com/olivere/elastic/uritemplates"
)

// IndicesExistsTypeService checks if one or more types exist in one or more indices.
Expand Down
2 changes: 1 addition & 1 deletion indices_flush.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"net/url"
"strings"

"gopkg.in/olivere/elastic.v6/uritemplates"
"github.com/olivere/elastic/uritemplates"
)

// Flush allows to flush one or more indices. The flush process of an index
Expand Down
2 changes: 1 addition & 1 deletion indices_forcemerge.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"net/url"
"strings"

"gopkg.in/olivere/elastic.v6/uritemplates"
"github.com/olivere/elastic/uritemplates"
)

// IndicesForcemergeService allows to force merging of one or more indices.
Expand Down
2 changes: 1 addition & 1 deletion indices_get.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"net/url"
"strings"

"gopkg.in/olivere/elastic.v6/uritemplates"
"github.com/olivere/elastic/uritemplates"
)

// IndicesGetService retrieves information about one or more indices.
Expand Down
2 changes: 1 addition & 1 deletion indices_get_aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"net/url"
"strings"

"gopkg.in/olivere/elastic.v6/uritemplates"
"github.com/olivere/elastic/uritemplates"
)

// AliasesService returns the aliases associated with one or more indices.
Expand Down
2 changes: 1 addition & 1 deletion indices_get_field_mapping.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"net/url"
"strings"

"gopkg.in/olivere/elastic.v6/uritemplates"
"github.com/olivere/elastic/uritemplates"
)

// IndicesGetFieldMappingService retrieves the mapping definitions for the fields in an index
Expand Down
2 changes: 1 addition & 1 deletion indices_get_mapping.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"net/url"
"strings"

"gopkg.in/olivere/elastic.v6/uritemplates"
"github.com/olivere/elastic/uritemplates"
)

// IndicesGetMappingService retrieves the mapping definitions for an index or
Expand Down
2 changes: 1 addition & 1 deletion indices_get_settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"net/url"
"strings"

"gopkg.in/olivere/elastic.v6/uritemplates"
"github.com/olivere/elastic/uritemplates"
)

// IndicesGetSettingsService allows to retrieve settings of one
Expand Down
2 changes: 1 addition & 1 deletion indices_get_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"net/url"
"strings"

"gopkg.in/olivere/elastic.v6/uritemplates"
"github.com/olivere/elastic/uritemplates"
)

// IndicesGetTemplateService returns an index template.
Expand Down
2 changes: 1 addition & 1 deletion indices_open.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"fmt"
"net/url"

"gopkg.in/olivere/elastic.v6/uritemplates"
"github.com/olivere/elastic/uritemplates"
)

// IndicesOpenService opens an index.
Expand Down
2 changes: 1 addition & 1 deletion indices_put_mapping.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"net/url"
"strings"

"gopkg.in/olivere/elastic.v6/uritemplates"
"github.com/olivere/elastic/uritemplates"
)

// IndicesPutMappingService allows to register specific mapping definition
Expand Down
2 changes: 1 addition & 1 deletion indices_put_settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"net/url"
"strings"

"gopkg.in/olivere/elastic.v6/uritemplates"
"github.com/olivere/elastic/uritemplates"
)

// IndicesPutSettingsService changes specific index level settings in
Expand Down
2 changes: 1 addition & 1 deletion indices_put_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"fmt"
"net/url"

"gopkg.in/olivere/elastic.v6/uritemplates"
"github.com/olivere/elastic/uritemplates"
)

// IndicesPutTemplateService creates or updates index mappings.
Expand Down
2 changes: 1 addition & 1 deletion indices_refresh.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"net/url"
"strings"

"gopkg.in/olivere/elastic.v6/uritemplates"
"github.com/olivere/elastic/uritemplates"
)

// RefreshService explicitly refreshes one or more indices.
Expand Down
2 changes: 1 addition & 1 deletion indices_rollover.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"fmt"
"net/url"

"gopkg.in/olivere/elastic.v6/uritemplates"
"github.com/olivere/elastic/uritemplates"
)

// IndicesRolloverService rolls an alias over to a new index when the
Expand Down
2 changes: 1 addition & 1 deletion indices_shrink.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"fmt"
"net/url"

"gopkg.in/olivere/elastic.v6/uritemplates"
"github.com/olivere/elastic/uritemplates"
)

// IndicesShrinkService allows you to shrink an existing index into a
Expand Down
2 changes: 1 addition & 1 deletion indices_stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"net/url"
"strings"

"gopkg.in/olivere/elastic.v6/uritemplates"
"github.com/olivere/elastic/uritemplates"
)

// IndicesStatsService provides stats on various metrics of one or more
Expand Down
2 changes: 1 addition & 1 deletion ingest_delete_pipeline.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"fmt"
"net/url"

"gopkg.in/olivere/elastic.v6/uritemplates"
"github.com/olivere/elastic/uritemplates"
)

// IngestDeletePipelineService deletes pipelines by ID.
Expand Down
2 changes: 1 addition & 1 deletion ingest_get_pipeline.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"net/url"
"strings"

"gopkg.in/olivere/elastic.v6/uritemplates"
"github.com/olivere/elastic/uritemplates"
)

// IngestGetPipelineService returns pipelines based on ID.
Expand Down
2 changes: 1 addition & 1 deletion ingest_put_pipeline.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"fmt"
"net/url"

"gopkg.in/olivere/elastic.v6/uritemplates"
"github.com/olivere/elastic/uritemplates"
)

// IngestPutPipelineService adds pipelines and updates existing pipelines in
Expand Down
2 changes: 1 addition & 1 deletion ingest_simulate_pipeline.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"fmt"
"net/url"

"gopkg.in/olivere/elastic.v6/uritemplates"
"github.com/olivere/elastic/uritemplates"
)

// IngestSimulatePipelineService executes a specific pipeline against the set of
Expand Down
2 changes: 1 addition & 1 deletion mtermvectors.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"net/url"
"strings"

"gopkg.in/olivere/elastic.v6/uritemplates"
"github.com/olivere/elastic/uritemplates"
)

// MultiTermvectorService returns information and statistics on terms in the
Expand Down
Loading

0 comments on commit ab90650

Please sign in to comment.