Skip to content

Commit 4addcfd

Browse files
committedJun 18, 2014
[STORE] Renamed the Sinatra example application folder to "notes", added more info into the README
1 parent 2a137e0 commit 4addcfd

File tree

7 files changed

+8
-4
lines changed

7 files changed

+8
-4
lines changed
 

‎elasticsearch-persistence/README.md

+8-4
Original file line numberDiff line numberDiff line change
@@ -416,10 +416,14 @@ results.response._shards.failed
416416

417417
#### Example Application
418418

419-
An example Sinatra application is available in
420-
[`examples/sinatra/application.rb`](examples/sinatra/application.rb),
421-
and demonstrates a rich set of features of the repository.
422-
419+
An example Sinatra application is available in [`examples/notes/application.rb`](examples/notes/application.rb),
420+
and demonstrates a rich set of features:
421+
422+
* How to create and configure a custom repository class
423+
* How to work with a plain Ruby class as the domain object
424+
* How to integrate the repository with a Sinatra application
425+
* How to write complex search definitions, including pagination, highlighting and aggregations
426+
* How to use search results in the application view
423427

424428
### The ActiveRecord Pattern
425429

0 commit comments

Comments
 (0)