From 69deae11279c264ae4ad83e09ac3697c14e41dce Mon Sep 17 00:00:00 2001 From: floriansemm Date: Wed, 21 Dec 2016 16:07:38 +0100 Subject: [PATCH] add documentation for new option --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 5d1c8586..e0732258 100644 --- a/README.md +++ b/README.md @@ -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.