Skip to content

Commit

Permalink
Search refactoring 1 (#11572)
Browse files Browse the repository at this point in the history
SearchIndexClient aggregates:

Index operations: CreateIndex, etc.
Synonym map operations: CreateSynonymMap, etc.
Service operations: GetServiceStatistics
Define/retain GetSearchClient that takes a string indexName and returns a SearchClient
SearchIndexerClient will aggregate:

Indexer operations: CreateIndexer, etc.
Data source operations: CreateDataSource, etc.
Skillset operations: CreateSkillset, etc.
  • Loading branch information
xiangyan99 authored May 21, 2020
1 parent b22a709 commit 72b0ec0
Show file tree
Hide file tree
Showing 26 changed files with 1,723 additions and 2,198 deletions.
6 changes: 6 additions & 0 deletions sdk/search/azure-search-documents/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Release History

## 1.0.0b4 (Unreleased)

**Breaking Changes**

- Reorganized `SearchServiceClient` into `SearchIndexClient` & `SearchIndexerClient` #11507

## 1.0.0b3 (2020-05-04)

**Features**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
ComplexField,
SearchableField,
SimpleField,
SearchServiceClient,
SearchIndexClient,
SearchIndexerClient,
edm,
)
from ._service._generated.models import (
Expand Down Expand Up @@ -129,11 +130,6 @@
WordDelimiterTokenFilter,
)
from ._service._models import PatternAnalyzer, PatternTokenizer
from ._service._datasources_client import SearchDataSourcesClient
from ._service._indexers_client import SearchIndexersClient
from ._service._indexes_client import SearchIndexesClient
from ._service._skillsets_client import SearchSkillsetsClient
from ._service._synonym_maps_client import SearchSynonymMapsClient
from ._version import VERSION

__version__ = VERSION
Expand Down Expand Up @@ -202,22 +198,18 @@
"RegexFlags",
"ScoringFunction",
"ScoringProfile",
"SearchDataSourcesClient",
"SearchClient",
"SearchField",
"SearchIndex",
"SearchIndexer",
"SearchIndexerDataContainer",
"SearchIndexerDataSource",
"SearchIndexerSkillset",
"SearchIndexersClient",
"SearchIndexesClient",
"SearchIndexerClient",
"SearchIndexClient",
"SearchItemPaged",
"SearchQuery",
"SearchResourceEncryptionKey",
"SearchServiceClient",
"SearchSkillsetsClient",
"SearchSynonymMapsClient",
"SearchableField",
"SentimentSkill",
"ShaperSkill",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
SearchableField,
SimpleField,
)
from ._search_service_client import SearchServiceClient # pylint: disable=unused-import
from ._search_index_client import SearchIndexClient # pylint: disable=unused-import
from ._search_indexer_client import SearchIndexerClient # pylint: disable=unused-import

from . import edm # pylint: disable=unused-import

This file was deleted.

Loading

0 comments on commit 72b0ec0

Please sign in to comment.