Skip to content

Customize the ObjectID in algolia #336

@oscarmorrison

Description

@oscarmorrison

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions