Skip to content

Query Error: "This code should be unreachable" when doing textSearch and grouping #2483

@epoz

Description

@epoz

Performing this query:

PREFIX textSearch: <https://qlever.cs.uni-freiburg.de/textSearch/>

SELECT ?p (count(distinct ?s) as ?cnt) WHERE {
    ?s ?p ?e
    SERVICE textSearch: {      
      ?t textSearch:contains [ textSearch:word "olympic" ] .
      ?t textSearch:contains [ textSearch:entity ?e ] .
	}
}  GROUP BY ?p ORDER BY ?cnt

Gives an error message:

This code should be unreachable. In file "/local/data-ssd/qlever/qlever-indices/olympics/qlever/src/engine/CheckUsePatternTrick.cpp " at line 74

We would like to use the textSearch service for queries and show results facets on various predicates, but this query fails. Are we doing something wrong, or is this a bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions