Search question


#1

Hello all,

I am working on a search where I want to display items that are tagged @important but not tagged @due and not tagged @done.

Here is my current attempt:

@important and not @due and not @done

When run, I get this result:

Translate Juan's Quotes: @due(2017-10-11) @important
	- Respond to: Juan - “Re: Quote translation” @important

Why is the project included? Shouldn’t it be hidden? Any insights are appreciated.

Thanks!

Jim


#2

I may have just figured this out. I have a further child task, which is only tagged as @important. Would the sub tasks cause the other (grandparent) to show up in the search?

Translate Juan's Quotes: @due(2017-10-11) @important
	- Respond to: Juan - “Re: Quote translation” @important
		- message://%3C8B2610CE-03E7-41D3-A011-0E898AA9D26C@gmail.com%3E @important

#3

Yes, all ancestors of search results (up to focused item) are included so that those results will have context. Otherwise I think it becomes really hard to understand and edit the results without making errors.


#4

Thank you for the explanation @jessegrosjean — this was driving me crazy.