OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

search-ws message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: faceted search results


For discussion at Monday's call.

I have sketched some XML for what faceted search results might look like.
This is based on XCQL, and so we could easily incorporate the echoed query
into this.

For the xml below, the example query is:

title=cat and subject=dog and author=frog

<facetedResults>
<subquery subQueryId="1">
<!--  title=cat  -->
     <searchClause>
      <index>title</index>
      <relation>
        <value>=</value>
      </relation>
      <term>cat</term>
    </searchClause>
   <count>12</count>
</subquery>
<subquery subQueryId="2>
<!--  title=cat  and subject=dog -->
<triple>
  <boolean>
    <value>and</value>
  </boolean>
  <leftOperand>
<subQueryId>1</subQueryId>
</leftOperand>
<rightOperand>
<searchClause>
      <index>subject</index>
      <relation>
        <value>=</value>
      </relation>
      <term>dog</term>
    </searchClause>
</rightOperand>
</triple>
<count>8</count>
</subquery>

<!--   ....... and so on.
another for subject=dog
another for subject=frog
 another for  subject=dog and author=frog;
another for title=cat and author=frog
another for the whole query, title=cat and subject=dog and
hor=frog    -->

</facetedResults>




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]