Skip to content

Statistics example query gives no hits if some attribute value is empty #500

@arildm

Description

@arildm

Steps to reproduce:

  1. Make a statistics search
  2. Group by word and some variable that gives empty values, like name
  3. Click a cell with a count higher than 0 to open an example KWIC search
  4. Expected: Get the same number of hits
  5. Actual: No hits

Example: https://spraakbanken.gu.se/korp/#?search=word%7Cgod&corpus=attasidor&prefix&result_tab=2&stats_reduce=word,ne_name

When deselecting word from the group-by selector, there's an error instead: CQPError: Malformed input string passed to builtin ambiguity(i god tid). Maybe that's another bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions