Skip to content

Clarify value of "authorized" in relation to "indexed" #323

Open
@rwstauner

Description

@rwstauner

I fixed the display issue in metacpan/metacpan-web#1251
but I still wonder if the api should be changed at all (or docs be clarified or something):

However, if we were going to change the indexer/api data, i'm not sure what would be appropriate...
if indexed is false, authorized could be true (b/c it's not _un_authorized) or maybe authorized should technically be null (undefined), though I'm not sure how ES feels about that.

If indexed is false, should consumers simply ignore authorized (we can leave it as is)?
Or to demonstrate that it should be ignored should we change the value?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions