Posted August 05, 2015
mrkgnao: I would use another operator (e.g. & or ^ or #).
As for parsing order, I recommend you go simple and always process left to right, so:
- A or B and C is (A or B) and C
- A and B or C is (A and B) or C
- A and B or C and D is ((A and B) or C) and D
Not very intuitive to new users but probably easier to implement and good enough.
Based on my experience, I assume this is easiest, but if there's something easier, go for it instead.
P.S. The AND operator is a nice-to-have. Not urgent at all.
adaliabooks: At the moment I just split the search term on ; and then loop through the array of the results and filter for each term... the easiest would be to split on ; for OR first and then split again for AND... but the logic may not make much sense that way. As for parsing order, I recommend you go simple and always process left to right, so:
- A or B and C is (A or B) and C
- A and B or C is (A and B) or C
- A and B or C and D is ((A and B) or C) and D
Not very intuitive to new users but probably easier to implement and good enough.
Based on my experience, I assume this is easiest, but if there's something easier, go for it instead.
P.S. The AND operator is a nice-to-have. Not urgent at all.
So to use your examples it would be:
- A or B and C is A or (B and C)
- A and B or C is (A and B) or C
- A and B or C and D is (A and B) or (C and D)
But I'll have a think about it.
As for the bug (unable to perform thread search). For me, it's still there. Cannot perform any thread search. Tried disabling BE and exiting FF altogether. Didn't help. No idea how to progress.