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

Customize the ObjectID in algolia #336

Open
oscarmorrison opened this issue Jan 22, 2024 · 0 comments
Open

Customize the ObjectID in algolia #336

oscarmorrison opened this issue Jan 22, 2024 · 0 comments

Comments

@oscarmorrison
Copy link

Related to:
#293
#297

Description

Currently (before using the scout-extended) library, our scout id / algolia object id looks like this:
modelname_id such as page_123 user_12 etc.

Now using the scout-extended our scoutids / object id look like:

"App\Models\Page::page_94312::99"
"App\Models\User::user_94312"

Ideally we would like to keep our models object id:

page_122
page_123::2 (with splits)

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

No branches or pull requests

1 participant