I have an Indexed enum with multiple values Active, Pending, Pulled. I was to devise a query that will get only Active and Pulled, but not Pending.
junction = junction.must(
qb.keyword().onField("itemStatus").ignoreFieldBridge()
.matching("active pulled").createQuery());
the query above is my first stab at it, but this doesn't return anything unless I change the query to only active or change the junction to a should. I basically want a must with an and condition...