Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mongodb-developer/getting-started-search-java
A demo application for getting started with Atlas Search.
https://github.com/mongodb-developer/getting-started-search-java
atlas atlas-search java mongodb mongodb-atlas mongodb-java-driver
Last synced: 15 days ago
JSON representation
A demo application for getting started with Atlas Search.
- Host: GitHub
- URL: https://github.com/mongodb-developer/getting-started-search-java
- Owner: mongodb-developer
- License: apache-2.0
- Created: 2023-03-20T13:23:12.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-12T11:54:44.000Z (9 months ago)
- Last Synced: 2024-02-12T12:51:06.595Z (9 months ago)
- Topics: atlas, atlas-search, java, mongodb, mongodb-atlas, mongodb-java-driver
- Language: Java
- Homepage:
- Size: 129 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Getting Started with Atlas Search in Java
This repository contains examples of using Atlas Search with Java.
The First Search Example code was written for the article ["Using Atlas Search From Java"](https://www.mongodb.com/developer/products/atlas/atlas-search-java/).
This example uses the `run` target and searches the `default` index.
In order to run the `FirstSearchExample`, follow these steps:
* Add the [sample collections](https://www.mongodb.com/docs/atlas/sample-data/) to your Atlas cluster
* If you're not already an Atlas user, [get started with Atlas](https://www.mongodb.com/docs/atlas/getting-started/)
* [Create an Atlas Search index](https://www.mongodb.com/docs/atlas/atlas-search/tutorial/create-index/) on the `movies` collection, named `default`
* Run the example program:
`ATLAS_URI="<>" ./gradlew run`## Questions?
Questions about this repo or how to use Atlas Search and Java together? Ask them in the [MongoDB Community](https://community.mongodb.com).