perkeep/pkg/search
Mario Russo 01cddcc8d5 pkg/search: fix null "files" in file search response
The "files" field of a file search response was always non-null (empty JSON array in case of error or no result).
This behaviour was broken by df7cc0b453, so this CL is restoring it.

Fixes #619

Change-Id: I8e4762d1f5a2dba4f7cf06d8ca164392c4bf6d6a
2015-05-27 19:23:39 +02:00
..
describe.go pkg/client: make Describe use a POST request to the server 2014-10-19 17:36:22 +02:00
describe_test.go pkg/client: make Describe use a POST request to the server 2014-10-19 17:36:22 +02:00
export_test.go search: sort by creation time 2014-05-08 18:55:53 +02:00
expr.go search: context.Context stored in parser 2014-11-13 21:17:24 +01:00
expr_test.go search: context.Context stored in parser 2014-11-13 21:17:24 +01:00
handler.go pkg/search: fix null "files" in file search response 2015-05-27 19:23:39 +02:00
handler_test.go index,search: fix/finish wholeRef for fileInfo indexing 2015-02-25 01:50:57 +01:00
lexer.go search: Self-documenting atoms 2014-05-15 00:42:32 +02:00
lexer_test.go search: Self-documenting atoms 2014-05-15 00:42:32 +02:00
match_test.go search: server-side search expression eval + result set continuation tokens 2013-12-21 15:59:11 -08:00
predicate.go search: fix typo in is:portrait 2014-06-26 11:36:53 -07:00
predicate_test.go test/transport.go: move to httputil, so we can use it without linking testing 2014-07-14 18:33:10 +02:00
query.go search/query: add "Around" parameter to specify a window of results 2015-04-02 14:06:32 +02:00
query_test.go search: fix tests needing null around 2015-04-04 19:10:10 +02:00
search.go Introduce search.QueryDescriber interface. *client.Client implements it. 2014-07-21 22:20:24 +02:00
websocket.go search: fix websocket crash 2015-01-19 09:29:19 -08:00