Hello MarkLogic experts,
Could you please advice how to achieve the below sample results using MarkLogic range query.
XML
<entry min="100" max="999">
<product>apple</product>
</entry>
<entry min="1" max="99">
<product>orange</product>
</entry>
</root>
Query:
Query 1 : 200 >
Results should be: apple
Query 2 : 200 <
Results should be: apple, orange
Query 3 : 200 =>
Results should be: apple
Query 4 : 200 <=
Results should be: apple
Query 5 : 200 =
Results 4: apple
Query 6 : 150 to 250
Results should be: apple
please help some sample query for the above results, thanks
Regards,
Dinesh