[Groonga-commit] droonga/fluent-plugin-droonga at 182710f [master] Sort search results

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Nov 28 19:13:48 JST 2013


YUKI Hiroshi	2013-11-28 19:13:48 +0900 (Thu, 28 Nov 2013)

  New Revision: 182710f154ddc0a0d30e0744a0b79a71e346ffc1
  https://github.com/droonga/fluent-plugin-droonga/commit/182710f154ddc0a0d30e0744a0b79a71e346ffc1

  Message:
    Sort search results

  Modified files:
    test/command/suite/search/simple.expected
    test/command/suite/search/simple.test

  Modified: test/command/suite/search/simple.expected (+35 -3)
===================================================================
--- test/command/suite/search/simple.expected    2013-11-28 19:09:39 +0900 (84fee0c)
+++ test/command/suite/search/simple.expected    2013-11-28 19:13:48 +0900 (528c4cb)
@@ -7,11 +7,43 @@
     "type": "search.result",
     "body": {
       "result": {
-        "count": 1,
+        "count": 9,
         "records": [
           [
-            "Groonga",
-            "Groonga"
+            "1.1",
+            "Groonga overview"
+          ],
+          [
+            "1.2",
+            "Full text search and Instant update"
+          ],
+          [
+            "1.3",
+            "Column store and aggregate query"
+          ],
+          [
+            "1.4",
+            "Inverted index and tokenizer"
+          ],
+          [
+            "1.5",
+            "Sharable storage and read lock-free"
+          ],
+          [
+            "1.6",
+            "Geo-location (latitude and longitude) search"
+          ],
+          [
+            "1.7",
+            "Groonga library"
+          ],
+          [
+            "1.8",
+            "Groonga server"
+          ],
+          [
+            "1.9",
+            "Groonga storage engine"
           ]
         ]
       }

  Modified: test/command/suite/search/simple.test (+1 -0)
===================================================================
--- test/command/suite/search/simple.test    2013-11-28 19:09:39 +0900 (23df03a)
+++ test/command/suite/search/simple.test    2013-11-28 19:13:48 +0900 (bf32588)
@@ -6,6 +6,7 @@
     "queries": {
       "result": {
         "source": "Sections",
+        "sortBy": ["_key"],
         "output": {
           "elements": [
             "startTime",
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index