parameter query for non-empty

Post Reply
brittonclair
Posts: 12
Joined: Wed Sep 02, 2015 6:53 pm

parameter query for non-empty

Post by brittonclair »

I have a parametric field that is defined as a SET. How can I make a query to include only pages where that field is not empty (without regard for what the specific values are)?
User avatar
jason112
Site Admin
Posts: 347
Joined: Tue Oct 26, 2004 5:35 pm

parameter query for non-empty

Post by jason112 »

Like other parametric fields types like "String", you can use infield without an operator to look for where the field is nonempty.

So if you wanted to search for "chandelier" where the parametric field "style" is nonempty, your query would be

chandelier infield:style
User avatar
jason112
Site Admin
Posts: 347
Joined: Tue Oct 26, 2004 5:35 pm

parameter query for non-empty

Post by jason112 »

brittonclair
Posts: 12
Joined: Wed Sep 02, 2015 6:53 pm

parameter query for non-empty

Post by brittonclair »

Thank you!
Post Reply