Skip to content

Commit

Permalink
add documentation for new option
Browse files Browse the repository at this point in the history
  • Loading branch information
floriansemm committed Dec 21, 2016
1 parent 6752ab8 commit 69deae1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,11 @@ class Post
}
```

### `generateId` option

Set this option to true and a the bundle will generate a Id for you. Use this option if you have no underlying DB which
generates incremental Ids for you.

## `@Solr\Field` annotation

This annotation should be added to properties that should be indexed. You should specify the `type` option for the annotation.
Expand Down

0 comments on commit 69deae1

Please sign in to comment.