Skip to content

Commit 46d525d

Browse files
Create index.md
1 parent 3686a86 commit 46d525d

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

index.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
algolia_search:
3+
indices:
4+
- name: posts
5+
class: App\Entity\Post
6+
- name: comments
7+
class: App\Entity\Comment
8+
#$searchService->index($entityManager, $postsAndComments);
9+
#$em = $this->getDoctrine()->getManagerForClass(Post::class);
10+
#$posts = $this->searchService->search($em, Post::class, 'query');
11+
---

0 commit comments

Comments
 (0)