Paul Libbrecht wrote:
I am currently evaluating the need for an elaborate query data-structure (to be exchanged over XML-RPC) as opposed to working with plain strings.

I'd opt for both. For example:

<search>
  <boolean-query>
    <required>
      <query-parser analyzer="...">"java based" -coffee</query-parser>
    <required>
      <term-query>
        <field>site</field>
        <text>apache.org</text>
      </term-query>
  </boolean-query>
  <range-filter>
    <field>date</field>
    <start>2004</start>
    <end>2006</end>
  </range-filter>
  <sort>
    <field>date</field>
  </sort>
</search>

This would be a natural thing to generate, e.g., from an "advanced search" page.

Doug

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to