Steps to reproduce + Expected result +Actual result
Global search doesn’t work properly with ancestor, parent`
I was working with a global search and tried to use operators described here:
And found a few bugs
I have next folder structure
Folder structure:
Wonderful // folder
- Amazing document // document
- #must //items in a document
- do something
- Independent // document
- #must //items in a document
- do something
If search for Amazing document or "Amazing document"
Search give me matched document
But if I try to search for a #must within Amazing document with:
Amazing document #must, "Amazing document" #must, Amazing #must
Search don’t give me any matches
If I search for page with ancestor: or parent:
ancestor:Amazing document, ancestor:"Amazing document", parent:Amazing document, parent:"Amazing document"
Search don’t give me any matches
If I search for #must within Amazing document:
ancestor:Amazing document #must, ancestor:"Amazing document" #must, parent:Amazing document #must, parent:"Amazing document" #must
Search don’t give me any matches
But if I use only Amazing from Amazing document to search:
ancestor:Amazing parent:Amazing
Search give me matched items withing Amazing document
If I do the same but with "":
ancestor:"Amazing" parent:"Amazing"
Search don’t give me any matches
When I search for s #must with only Amazing from Amazing document
ancestor:Amazing #must, parent:Amazing #must
Search give me matched items
If I do the same but with "":
ancestor:"Amazing" #must, parent:"Amazing" #must
Search don’t give me any matches
If I what to find a #must within a Wonderful folder
Wonderful #must, ancestor:Wonderful #must
Search don’t give me any matches
If I what to find Amazing document or just Amazing withing Wonderful folder:
Wonderful Amazing document, Wonderful Amazing
ancestor:Wonderful Amazing document, parent:Wonderful Amazing document
ancestor:Wonderful Amazing, parent:Wonderful Amazing
Search don’t give me any matches
if I search for a few documents:
ancestor:Amazing document OR Independent
Gives matches only for Independent
As I can guess:
ancestor:andparent:may not match for Foldersancestor:andparent:may not use" "operatorancestor:andparent:may not usea OR boperator
Environment
Which operating system are you using?
Ubuntu 18.04, Windows 10
Which browser are you using?
Chrome 80
Are you using any third-party scripts for Dynalist, e.g. PowerPack?
No