374 Commits

Author SHA1 Message Date
Kishore Nallan
0043f4bdb0 Merge pull request #12 from wreally/0.8-api-changes
0.8 API changes
2018-03-29 07:54:08 +05:30
Kishore Nallan
5fd79f8b01 Update REAMDE with latest Python client changes. 2018-03-28 22:20:32 +05:30
Kishore Nallan
940f7550be Fix syntax error. 2018-03-28 22:14:15 +05:30
Kishore Nallan
80057b9071 Rely only on HTTP header for authentication. 2018-03-28 19:45:04 +05:30
Kishore Nallan
97904b0cfa Use lowercase for CORS related headers. 2018-03-28 19:21:31 +05:30
Kishore Nallan
f17d1e0cf2 Fixed a HTTP/2 + OpenSSL + gzip issue.
Gzipped content was not being served properly under HTTP/2+SSL.
2018-03-25 17:47:21 +05:30
Kishore Nallan
8bbfef8d44 Clear stray timeout. 2018-03-24 21:24:01 +05:30
Kishore Nallan
80e6a7f747 Enable SSL_OP_SINGLE_ECDH_USE 2018-03-24 17:52:04 +05:30
Kishore Nallan
231c7b6b61 Use SSL_CTX_use_certificate_chain_file.
SSL_CTX_use_certificate_file function lacks the ability to load the certificate chain (if any).
2018-03-24 15:44:27 +05:30
Kishore Nallan
c39fd39f2d Minor refactor. 2018-03-24 15:43:43 +05:30
Kishore Nallan
928b5602de Handle SIGTERM and gracefully shut-down. 2018-03-07 15:11:58 +05:30
Kishore Nallan
0f9c97eaf3 Use LOG(ERR) where appropriate. 2018-03-07 09:35:09 +05:30
Kishore Nallan
5a96e98054 Flush console logging since buffering makes it seem like it does not work. 2018-03-07 09:34:14 +05:30
Kishore Nallan
3405febc28 Fix build scripts - binary name should be generic. 2018-03-06 20:06:23 +05:30
Kishore Nallan
06e91c3df3 Minor tweaks to the build scripts. 2018-03-04 08:36:12 +05:30
Kishore Nallan
af8324d52a Fix search target compile error. 2018-03-03 07:57:28 +05:30
Kishore Nallan
e00f7a5cec Don't expose the match distance computation outside. 2018-02-25 21:34:10 +05:30
Kishore Nallan
b955d7cc65 Always use default_sorting_field when rank_tokens_by is not defined during query time. 2018-02-25 21:13:29 +05:30
Kishore Nallan
22e3d36cc0 Fixed a bug where the distance between matched query tokens could exceed previously assumed limit. 2018-02-25 21:12:54 +05:30
Kishore Nallan
e43a101c50 If no sort_by fields are provided, sort descending on default_sorting_field. 2018-02-24 12:53:52 +05:30
Kishore Nallan
ca2c084d86 Rename token_ranking_field to default_sorting_field and make it mandatory. 2018-02-24 12:18:48 +05:30
Kishore Nallan
92335438b3 Log Bad JSON error. 2018-02-23 08:28:38 +05:30
Kishore Nallan
70d95475d9 Made a few comments better. 2018-02-10 14:43:37 -08:00
Kishore Nallan
dc9ff3033b Fix failing test. 2018-02-08 16:57:32 -08:00
Kishore Nallan
d8f3b8da9e Option to build binary tars for releases from the build script. 2018-02-04 13:48:55 -05:00
Kishore Nallan
e432ced6cf Add a menu at the top of README for easy navigation. 2018-02-04 08:01:05 -05:00
Kishore Nallan
25f337969d Add a demo gif of interactive instant search. 2018-02-04 07:41:41 -05:00
Kishore Nallan
b0b289b435 Pass Typesense version from command line instead of using a brittle header file. 2018-02-04 07:40:28 -05:00
Kishore Nallan
43c8fec258 More tweaks to README. 2018-02-03 22:32:26 -05:00
Kishore Nallan
fd40a02e8f Update README with examples from Python client since it's easier on the eyes. 2018-02-03 22:24:11 -05:00
Kishore Nallan
48273936ae Add Typesense logo. 2018-02-03 22:19:32 -05:00
Kishore Nallan
2714f6ee0c Enable gzip compression for responses. 2018-02-03 17:46:08 -05:00
Kishore Nallan
b451a559e0 Improve error message logged when a replica is pointed to an old master.
In such a case, the WAL entries would have expired - logging that explicitly now.
2018-02-03 10:05:24 -05:00
Kishore Nallan
0a9e5e1562 Improve replica's logging - make it more useful. 2018-02-03 08:06:48 -05:00
Kishore Nallan
50ba0a02ce Use custom ERR logging level. 2018-02-03 07:42:13 -05:00
Kishore Nallan
a268064e74 G3logger should be linked statically. 2018-02-02 20:05:37 -05:00
Kishore Nallan
c27580a419 Use bit twiddling rather than union type punning for encoding int64. 2018-02-02 19:09:42 -05:00
Kishore Nallan
0f7530ed13 Serialize and deserialize next sequence id properly instead of string encoding. 2018-02-02 19:02:19 -05:00
Kishore Nallan
b73dbebd2d Handle scenarios when store get fails or doesn't find data when it should have. 2018-02-02 18:21:51 -05:00
Kishore Nallan
6b37d43fd7 Use a proper logger for logging! 2018-02-02 08:22:23 -05:00
Kishore Nallan
4fb5b2854e Fix exported content having a stray trailing char. 2018-01-31 22:33:21 -05:00
Kishore Nallan
29551e8134 Minor tweaks to README. 2018-01-29 10:33:18 -05:00
Kishore Nallan
64c2f1b189 Add GPL v2 license. 0.8.0-rc1 2018-01-28 16:05:49 -05:00
Kishore Nallan
13f4c72827 Use rocksdb batch put for atomic insertion. 2018-01-28 14:29:07 -05:00
Kishore Nallan
c16513005b Return 409 status code when document with given ID already exists. 2018-01-27 08:47:28 -05:00
Kishore Nallan
85f9887a2f Fixed a bug where a document with a duplicate ID was being inserted without an error. 2018-01-26 21:55:59 +00:00
Kishore Nallan
ba49971ddd Fixed a few more -Wall warnings. 2018-01-26 13:38:02 +00:00
Kishore Nallan
f8be8f4f6a Handle normalization of unicode elegantly. 2018-01-26 12:54:00 +00:00
Kishore Nallan
c3298ba6d8 Address -Wall and -Wextra warnings. 2018-01-25 20:08:13 +05:30
Kishore Nallan
491de5a325 Remove ascii special characters during string normalization.
Unicode special chars are retained verbatim - will be addressed in future.
2018-01-16 21:16:24 +05:30