This sample showcases the following features of AppSearch:
- Writing a document class with the AppSearch annotation processor
- Setting an AppSearch database schema
- Indexing documents into an AppSearch database
- Searching over indexed documents
- Using LiveData and ViewModel to retrieve data and display on UI
This is demonstrated through a simple note taking app where the user creates notes that are indexed into AppSearch, and can then be searched over by providing a query.
- Android SDK 14
This sample uses the Gradle build system. To build this project, use the "gradlew build" command or use "Import Project" in Android Studio.
- Issue Tracker:
If you've found an error in this sample, please file an issue: https://github.com/android/search-samples/issues
Patches are encouraged, and may be submitted by forking this project and submitting a pull request through GitHub. Please see CONTRIBUTING.md for more details.