Skip to content

Summarize - how to switch off? #26

Closed
@Leeloo5E

Description

@Leeloo5E

How can I switch off the summarize option?

'summarize' => new SummarizeOption(),

see https://oss.redis.com/redisearch/Highlight/#summarization

"RediSearch can perform summarization using the SUMMARIZE keyword. If no additional arguments are passed, all returned fields are summarized using built-in defaults."

A workaround is actually setting summarization to a dummy field, e.g.

->setSummarize(['dummy'])

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions