This is a part Computer Science question, part Design question (apologies if
some of the logic doesn't make sense)
So, I need to design a search interface that would eventually spit out a
boolean query without typing it out.
D= Data Field
D1 AND D2 OR D3 AND D4
(D1 OR D2) AND (D3 OR D4)
D1 AND (D2 OR D3) AND D4
To put it in context, assume its a library search and the user wants to
search books by Author A OR Author B that have Keywords A AND Keywords B and
are published between a certain date range. Is anyone aware of design
patterns for such an interface.