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
Kishore Nallan
7e30cb1184
Use proper version
2018-01-16 07:45:46 +05:30
Kishore Nallan
6b9ee787e6
Revert "When displaying collection summary, have collection object inside a "collection" key."
...
This reverts commit d40a627c95bc1e8930396d9be9a0242a9fad1a11.
2018-01-16 07:45:07 +05:30
Kishore Nallan
d40a627c95
When displaying collection summary, have collection object inside a "collection" key.
2018-01-14 12:11:22 +05:30
Kishore Nallan
36aa3ce542
More tweaks to the README.
2018-01-14 08:15:05 +05:30
Kishore Nallan
2bd5cc492f
Update README with installation, getting started and build instructions.
2018-01-13 21:05:48 +05:30
Kishore Nallan
ecbe8d3b27
Ensure that the OSX build links dependencies statically.
...
Curl was being linked dynamically.
2018-01-13 21:05:14 +05:30
Kishore Nallan
40cf5413c3
#14 : Debug end-point that displays the Typesense version.
...
Can add more details like OS family etc. in the future.
2018-01-06 08:04:20 +05:30
Kishore Nallan
ba96092f13
#10 : Enable prefix searching by default since that seems more intuitive.
2018-01-05 20:23:52 +05:30
Kishore Nallan
ba6d2280c1
Ensure that /search and /export end-points don't conflict with the /:id end-point.
2018-01-05 19:41:05 +05:30
Kishore Nallan
16d4a6a39c
When a field is not found, http status should be 404 and not 400.
2018-01-05 07:58:55 +05:30
Kishore Nallan
94b380410d
Rename "took_ms" to "search_time_ms".
2018-01-05 07:58:26 +05:30
Jason Bosco
d705c476a0
Encourage use of -sv flags for curl
2018-01-04 08:12:56 -08:00
Kishore Nallan
6596e5d8dd
The export end-point of the replica server must conform to the new API structure.
2018-01-04 20:56:12 +05:30
Kishore Nallan
70a6147f5b
Fixed #8 : check if collection pointer is null when collection does not exist.
2018-01-04 20:46:18 +05:30
Jason Bosco
141fd1fe5d
Added an issue template
2018-01-04 06:44:03 -08:00
Kishore Nallan
9407f55850
If CORS is enabled, Access-Control-Allow-Origin header needs to be present on all responses.
2018-01-04 07:39:32 +05:30
Kishore Nallan
192b00e71f
Address API review comments.
...
1. Move document specific actions under /documents
2. Document creation echoes the full document
3. Collections summary returns full detail on each each collection
4. Collections summary endpoint has no nested root attribute
5. When collection or document is deleted, the whole entity is returned in response
2018-01-02 21:35:24 +05:30
Kishore Nallan
5c154b2fcf
Fix for the CORS ACL headers not matching incoming ACL request headers.
2018-01-02 15:07:31 +05:30
Kishore Nallan
65ad82596c
Bump H2O library version.
2018-01-01 21:30:21 +05:30
Kishore Nallan
0b49fcb3bd
Fix a few compiler warnings in art.
2018-01-01 21:29:47 +05:30
Kishore Nallan
523c142479
#7 : Support for CORS via the --enable-cors
flag.
2018-01-01 12:26:38 +05:30
Kishore Nallan
2628a6a1df
Upgrade to RocksDB 5.9.2 and GCC 6.4.0.
0.7.1
2017-12-31 17:03:38 +05:30
Kishore Nallan
6337d4b7c5
Patch RocksDB 5.9.2 build_detect_platform
script.
2017-12-31 17:02:10 +05:30
Kishore Nallan
ee77fd9903
Import RocksDB 5.9.2 build_detect_platform
script.
2017-12-31 17:01:39 +05:30
Kishore Nallan
9e9a84ed51
Bump version.
0.7.0
2017-12-30 21:14:39 +05:30
Kishore Nallan
f6612cb34e
Refactor scoring loop.
2017-12-30 21:14:31 +05:30
Kishore Nallan
2b7059de37
Replace prefix_sort_field with token_ranking_field since it conveys the meaning better.
2017-12-29 16:53:06 +05:30
Kishore Nallan
8eb9627869
Replica server should be read-only.
2017-12-25 20:37:47 +05:30
Kishore Nallan
21d3de6145
Improve handling of replication errors / edge cases.
2017-12-24 21:03:30 +05:30
Kishore Nallan
a84a0a55bc
Improve info and error messages shown in boot sequence.
...
Also, if the data directory does not exist, say so without crashing.
2017-12-21 07:36:45 +05:30
Kishore Nallan
01275c38f2
Use unorderd_map for low-volume meta datastructures.
...
Order of spp:sparse_hash_map during iteration is different in clang and gcc.
2017-12-20 09:16:15 +05:30
Kishore Nallan
8d5f7c18a3
Fix a couple of test compile warnings.
2017-12-17 21:42:45 +05:30