Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relation Data #134

Open
jcrawford opened this issue Jan 10, 2017 · 2 comments
Open

Relation Data #134

jcrawford opened this issue Jan 10, 2017 · 2 comments

Comments

@jcrawford
Copy link

jcrawford commented Jan 10, 2017

I have a Posts model but each post also has a location() relation. Is there any way to index the Post and related data for the post at the same time?

Post::addAllToIndex();

The above does not actually index any relations only the Post model data.

@andrewmclagan
Copy link

Duplicate #135

@mazharrehman
Copy link

Please help me i m also facing this issue . how to index relationship. i have company basic info table then address table and phone no table.
So how can index company relationship.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants