Topic: [Solved?] Parent+Child search at once

Posted under Tag/Wiki Projects and Questions

!!!
~( isparent:true ) ~( ischild:true ) worked, I think. If there is a flaw in that, let me know though...
!!!

Is there a way to search for posts that both have a parent or child?
Sorry if this is a loophole that isn't possible and I'm wasting someone's time.
I'd like to filter out any posts in a search that have no relations, but it seems you can only either have parents, children, or posts that are both at once, but not all three.
I tried -parent:none but that also filters out parent posts naturally, since they have none technically?
~ischild:true ~isparent:true doesn't work either...
I'm also dense so sorry if the easy solution is flying over my head.

If it's any way to simplify it, I wanna see all posts that have either a yellow border, green border, or both, all included in one search.

Updated

cekiri said:
That only shows posts that are both at once though, I'd also like to include ones that are just a parent, and just a child.

I assume you edited, but yeah this also doesn't work. It's sort of halfway? It still filters out parent posts.

Oh I see what you mean, you meant searching Parent + Child + Parent & Child all at once.

cekiri said:
!!!
~( isparent:true ) ~( ischild:true ) worked, I think. If there is a flaw in that, let me know though...
!!!

I think that works, so does ~( parent:any ) ~( child:any ).

The reason why you still see some posts without any child/parent is because their parent/child was deleted (such as for inferior posts) and their relationship was hidden from view.