anukat2015 / elda

Automatically exported from code.google.com/p/elda
0 stars 0 forks source link

Unnecessary sort? #172

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I have a list entry point with an order by clause:

[[

  api:selector [
        api:where """   
            (?representation ?score) text:query (text:text ?searchTerm -1 ) .
            ?item content:hasRepresentation ?representation .
          """
      ; api:orderBy "?score"
        ]

]]

Both the select query and the view query contain sorts.  Is the sort in the 
view query necessary?

Original issue reported on code.google.com by br...@epimorphics.com on 19 Mar 2013 at 8:01

GoogleCodeExporter commented 8 years ago
After speaking to Chris and Stuart, they confirm the sort is necessary to 
support correct paging behaviour.

Original comment by br...@epimorphics.com on 19 Mar 2013 at 8:33