Originally Posted by
ITA Hacker
I guess we don't support the comma anymore, but this works if you replace the comma with a vertical bar:
Thanks. That's accepted - and also I can replace the bar with an ampersand to logically AND them. Although it does not seem to be getting correct results. E.g. The AA classes: G,Q,N,O,S are only worth half the miles traveled, so I tried excluding them:
Code:
LHR :: o:aa,ba+ / f ~aa..o&~aa..g&~aa..q&~aa..n&~aa..s
JFK
ITA accepted this syntax, but then it still shows flights with booking code "O" anyway. (edit: my mistake.. AA class O flights appeared, but they were not operated by AA, so it looks correct).
Edit again (sorry).. It's really not working. I tried the following:
Code:
FRA :: f+ / f ~ua..M&~ua..E&~ua..U&~ua..H&~ua..Q&~ua..V&~ua..W&~ua..S&~ua..T&~ua..L&~ua..K&~ua..G&~ua..N
ORD :: f+ / f ~ua..M&~ua..E&~ua..U&~ua..H&~ua..Q&~ua..V&~ua..W&~ua..S&~ua..T&~ua..L&~ua..K&~ua..G&~ua..N
That should eliminate all the
UA booking codes that award 100% of the miles (so only flights that award 125-200% should be found). However, this results in "K" class flights that are operated by United. Why didn't "~ua..k" work?
Thinking that the ampersand doesn't work, I simplified the query:
Code:
FRA :: f+ / f ~ua..K
ORD :: f+ / f ~ua..K
Still, class K United flights are found despite the negation.