Improve the `basic.rs` client example
Opened this issue · 1 comments
joepio commented
@AlexMikhalev wanted to have some more simple examples of how to use the atomic_lib rust library. The current basic.rs misses some features:
Basics
- Creating a resource
- Signing in with agent, getting hidden resources.
- #1040
Bonus:
- Full text search
- Collection / pagination
AlexMikhalev commented
I have the following flow in mind:
- Demonstrate how to create a store passing server URL
- Demonstrate how to create a store with an authenticated agent passing URL an agent string
- Demonstrate how to read from the store
- demonstrate how to write to store
- Demonstrate how to fetch data from the atomic server using collections
- Demonstrate how to search over atomic server using search API (tantivy)
- add paginations, but I am more interested in retrieving all data and re-ranking them - Terraphim will handle re-ranking.