HI,,
I'm trying to translate a query from regular query type to Texis-Metamorph query using my special function:
The following one is Working by transformation:
'medtronic' and ('aed' or '"life pack"') and not 'aedes' and not '"st jude"'
---------------------------------------
After Transformation:
'+medtronic aed life pack -aedes -"st jude" @0'
cause I know what to output,, but what should be the output transformation of the following query:
('medtronic' or 'medtronic1' or 'medtronic2' or 'medtronic3') and ('soccer1' or 'soccer1' or 'soccer2' or 'soccer3')
Is there a way to interpret this in terms of "Keywords" and "@intersection" expressions?
ex,for :
('medtronic1' or 'medtronic2' or 'medtronic3' or 'medtronic4') and ('soccer1' or 'soccer2' or 'soccer3' or 'soccer4')
and the question might come to whither I could use the intersection expressions "@x" not only between words but also between expressions .
F.Y.I
I'm trying to get a generic formula to transform complex boolean queries with multiple "and" "or" and multiple expressions(containing other ORs and ANDs)
to simple Metamorph-Ready queries containing just keywords and "+" signs for mandatory words,"-" for excluded words, and "@x" for intersections between words and expressions as well.
Yes, you may use + and - on any set. It must be abutted to the set, no space:
+(medtronic,medtronic1,medtronic2,medtronic3) +(soccer1,soccer1,soccer2,soccer3)
ooh Great!!! this covers up 80% of query types...
Another Request...
For the opposite query:
('medtronic' and 'medtronic1' and 'medtronic2' and 'medtronic3') OR ('soccer1' and 'soccer1' and 'soccer2' and 'soccer3')
would it be like this???:
(medtronic medtronic1 medtronic2 medtronic3)
(soccer1 soccer2 soccer3 or soccer4) @0