W3C home > Mailing lists > Public > public-qt-comments@w3.org > January 2009

[Bug 6470] New: [FT] ordered and/or queries

From: <bugzilla@wiggum.w3.org>
Date: Sun, 25 Jan 2009 04:20:55 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-6470-523@http.www.w3.org/Bugs/Public/>


           Summary: [FT] ordered and/or queries
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Platform: All
               URL: http://basex.org
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Full Text 1.0
        AssignedTo: jim.melton@acm.org
        ReportedBy: christian.gruen@gmail.com
         QAContact: public-qt-comments@w3.org

Hi there,

I've come across another interesting query in the test suite,

  $input-context/books/book[para ftcontains
    ("swift" ftand "persuasion") ftor
    ("ninja" ftand "software") ordered]/title 

As the "ordered" examples in the XQFT Specs are very simple, I would like to
know what is supposed to happen here:

 Query: ('A' & 'B') | ('C' & 'D') ordered

  a) ("A" and "B") has to be ordered, OR ("C" and "D") has to be ordered?
  b) ("A" and "C"), ("A" and "D"), ("B" and "C") OR ("B" and "D") has to be
  c) "A" and "B" and "C" and "D" has to be ordered?

Assuming case a), is it equivalent to the following query?

  d) ("A" & "B" ordered) | ("C" & "D" ordered)

Next, what about this query?..

  e) ("A" & "B" ordered) | ("C" & "D" ordered) ordered

To put it differently, does the "ordered" selection really evaluate AND/OR
combinations? I am still trying to find solutions for the following queries -
can you help me out?..

  f) ('A' | 'B') ordered
  g) ('A' | 'B') & ('C' | 'D') ordered
  h) ('A' & !'B') ordered

Thanks for all,

Christian, BaseX Team 

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Sunday, 25 January 2009 04:21:05 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:25 UTC