-
Notifications
You must be signed in to change notification settings - Fork 0
notexpected result type #1
Copy link
Copy link
Open
Description
Use Case
Currently there is a bug in the search where even if partial search is turned off, it still does partial search in the titles of suttas.
For example searching for by:sujato cat with the match partial off returns 52 suttas. One of the results is for "A Delicate Lifestyle" AN3.39. When you go to the sutta and search it doesn't have the word "cat" in the text. However the title, "A DeliCATe Lifestyle" does.
So I would like a test like this:
[[test-case]]
description = "Do not match partial in text title "
match-partial = false
selected-languages = ["en"]
query = "by:sujato cat"
notexpected.sutta = "/an3.39/en/sujato"
With our current code base, this test will fail. But once the bug is fixed (and stays fixed!) it should pass.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels