Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/microsoft/vscode-azurecognitivesearch
Azure Cognitive Search extension for VS Code (Preview)
https://github.com/microsoft/vscode-azurecognitivesearch
azure cognitive-search vscode vscode-extension
Last synced: about 2 months ago
JSON representation
Azure Cognitive Search extension for VS Code (Preview)
- Host: GitHub
- URL: https://github.com/microsoft/vscode-azurecognitivesearch
- Owner: microsoft
- License: mit
- Created: 2020-08-26T23:11:46.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-07-18T23:41:00.000Z (over 1 year ago)
- Last Synced: 2024-12-04T17:49:34.965Z (about 2 months ago)
- Topics: azure, cognitive-search, vscode, vscode-extension
- Language: HTML
- Homepage:
- Size: 15 MB
- Stars: 14
- Watchers: 5
- Forks: 13
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Azure Cognitive Search for Visual Studio Code (Preview)
> **Note**: This extension is no longer being maintained and has been removed from the Visual Studio Code Marketplace. You can still install the extension directly from the [VSIX file](./vscode-azurecognitivesearch-0.3.1.vsix) if you'd like to use it.
> To install the extension from the VSIX file, follow the instructions below or see this [link](https://code.visualstudio.com/docs/editor/extension-gallery#_install-from-a-vsix) for more information.
> 1. Download the VSIX file and open Visual Studio Code
> 2. Press `Ctrl+Shift+P` or `Cmd+Shift+P` to open the command palette
> 3. Type `Install from VSIX` and press `Enter`
> 4. Select the VSIX file you downloaded[Azure Cognitive Search](https://docs.microsoft.com/azure/search/search-what-is-azure-search) is a search-as-a-service cloud solution that gives developers APIs and tools for adding a rich search experience over private, heterogeneous content in web, mobile, and enterprise applications.
This Visual Studio Code extension makes it easy to manage your search service with the full capabilities of the REST APIs while providing rich IntelliSense and snippets to make it easier to take advantage of the full range of capabilities. With the extension, you can create and update indexes and other components, add documents, search, and more. Check out the gifs and images below to see the extension in action.
## Features
### Browse all your Azure Cognitive Search services
Get access to all your search services in one place. You can quickly see all your indexes, indexers, and other components.
![Overview of the extension](resources/overview.png)
### Create new indexes, indexers, data sources, skillsets and synonym maps
You can create a new index or other component just by editing the JSON and saving the file. You can then read, update, or delete these components at any time.
![Create index demo](resources/create-index.gif)
### Take advantage of rich IntelliSense
The extension also includes IntelliSense to guide you as you’re building out your JSON. Instead of referencing external docs each time, you can see what parameters exist and what their allowed values are as you type.
![Rich intellisense](resources/intellisense.gif)
In addition to IntelliSense, the extension provides snippets or templates for building more complex objects, such as data sources and skillsets, so that you have a good starting point.
### Edit or delete indexes, indexers, data sources, skillsets and synonym maps
![Delete index](resources/delete-index.gif)
### Add or update documents in the search index
Adding or updating documents is something that’s not possible in the portal today. With the extension, you can quickly add a document, and it will even save you some time by creating a JSON template for you based on your index definition.
![Add of update documents](resources/add-document.gif)
You can view or update existing documents too.
### Query your search indexes
Once you’ve added documents to your search service, you can also query from within the extension and view the results side by side. You can even add multiple queries or save the queries to a file to refer to them later.
![Search an index](resources/search.gif)
## Get started
1. Install the extension from the [VSIX file](./vscode-azurecognitivesearch-0.3.1.vsix).
1. Download the VSIX file and open Visual Studio Code
2. Press `Ctrl+Shift+P` or `Cmd+Shift+P` to open the command palette
3. Type `Install from VSIX` and press `Enter`
4. Select the VSIX file you downloaded1. On **View** > **Command palette**, scroll or type **Azure: Sign in**.
1. After signing in, select the **Azure** button on the bottom left. You should get the list of installed Azure extensions on the right in extension explorer.
1. Expand **Cognitive Search**, your subscription, and your search service to access content. You need Contribute permissions or above to access the content.
To filter the subscriptions that show up in the extension's explorer, select **Select Subscriptions...** button on any subscription node (indicated by a filter icon when you hover over it), or select **View** > **Command palette** and search for **Azure: Select Subscriptions**. Note that the filter will apply to all VS Code extensions that support the [Azure Account and Sign-In](https://github.com/Microsoft/vscode-azure-account) extension.
If you don't have an Azure Account, you can sign up for one today for free and receive $200 in credits by selecting **Create a Free Azure Account...**" or selecting **View** > **Command palette** and searching for **Azure: Create an Account**.
To sign out, search for **Azure: Sign out** in **View** > **Command palette**.
## Contributing
There are several ways you can contribute to our [repo](https://github.com/dereklegenzoff/vscode-azuresearch):
* **Ideas, feature requests and bugs**: We are open to all ideas and we want to get rid of bugs! Use the [Issues](https://github.com/Microsoft/vscode-azurecognitivesearch/issues) section to report a new issue, provide your ideas or contribute to existing threads.
* **Documentation**: Found a typo or strangely worded sentences? Submit a PR!
* **Code**: Contribute bug fixes, features or design changes:
* Clone the repository locally and open in VS Code.
* Open the terminal (press `CTRL+`\`) and run `npm install`.
* To build, press `F1` and type in `Tasks: Run Build Task`.
* Debug: press `F5` to start debugging the extension.### Legal
Before we can accept your pull request, you will need to sign a **Contribution License Agreement**. All you need to do is to submit a pull request, then the PR will get appropriately labelled (e.g. `cla-required`, `cla-norequired`, `cla-signed`, `cla-already-signed`). If you already signed the agreement, we will proceed with the PR, otherwise the system will tell you how you can sign the CLA. Once you sign the CLA, all future PR's will be labeled as `cla-signed`.
## Code of Conduct
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [[email protected]](mailto:[email protected]) with any additional questions or comments.
## Telemetry
VS Code collects usage data and sends it to Microsoft to help improve our products and services. Read our [privacy statement](https://go.microsoft.com/fwlink/?LinkID=528096&clcid=0x409) to learn more. If you don't wish to send usage data to Microsoft, you can set the `telemetry.enableTelemetry` setting to `false`. Learn more in our [FAQ](https://code.visualstudio.com/docs/supporting/faq#_how-to-disable-telemetry-reporting).
## License
[MIT](LICENSE.md)