195 Commits

Author SHA1 Message Date
Kishore Nallan
7531f9b13c Add const in more places. 2017-05-22 18:59:14 +05:30
Kishore Nallan
61bfdf027b Fix valgrind errors, plugging other leaks. 2017-05-21 15:59:16 +05:30
Kishore Nallan
0bb8cf13bf Ensure that remove function really removes all auxillary indexing data structures. 2017-05-20 17:02:14 +05:30
Kishore Nallan
6d3613b750 Limit facets returned to top 10. 2017-05-20 15:25:12 +05:30
Kishore Nallan
a5cd45e362 Rewrite facet implementation. 2017-05-20 13:25:56 +05:30
Kishore Nallan
b6c9e395ea Check for presence of collection during deletion of document. 2017-05-20 11:53:47 +05:30
Kishore Nallan
8ec625b434 Fixed some build errors on benchmark/search targets. 2017-05-17 21:54:40 +05:30
Kishore Nallan
3478aef573 API for deleting a document by ID. 2017-05-17 20:31:24 +05:30
Kishore Nallan
56c539d0df Expose search, sort and facet fields to the API. 2017-05-16 20:55:06 +05:30
Kishore Nallan
a25d2f590d Sort order is required only during query time. 2017-05-14 17:36:48 +05:30
Kishore Nallan
1992d92eaf Tests for asc/desc sort order. 2017-05-14 12:25:59 +05:30
Kishore Nallan
060959ad70 Fixed wrong found counts. 2017-05-13 22:31:56 +05:30
Kishore Nallan
f62247cd32 Make the sort_fields take order of sorting. 2017-05-07 21:33:04 +05:30
Kishore Nallan
1baaa2b344 API - creating a new collection. 2017-04-29 17:39:42 +05:30
Kishore Nallan
a82765277f Typesense API skeleton. 2017-04-28 21:08:45 +05:30
Kishore Nallan
01871cc279 Http server skeleton. 2017-04-15 11:41:53 +05:30
Kishore Nallan
5d9995a9dc Link statically against cpp stdlib to make the binary portable. 2017-04-08 20:47:01 +05:30
Kishore Nallan
4cdc0ec47c Make loading of documents on start-up optional. 2017-04-08 20:46:35 +05:30
Kishore Nallan
57bff89a97 Should not crash when an empty index is queried against. 2017-04-08 20:45:20 +05:30
Kishore Nallan
de71afef50 Merge branch 'master' into docker-build 2017-04-07 09:00:29 +05:30
Kishore Nallan
8850f8b169 Patch RocksDB build to ensure that it links against only specific libraries. 2017-04-07 08:58:29 +05:30
Kishore Nallan
03388444a6 Importing RocksDB's build detection script for patching. 2017-04-05 14:30:21 +05:30
Kishore Nallan
582768d4ca Check for required libs at the start of the build. 2017-04-02 08:12:29 +05:30
Kishore Nallan
7b8452b7bf Fix failing test. 2017-04-02 07:25:02 +05:30
Jason Bosco
5478e75586 Merge branch 'master' into docker-build 2017-04-01 11:01:33 -07:00
Kishore Nallan
0225494001 Set OPENSSL_ROOT_DIR as environment var. 2017-03-31 19:27:00 +05:30
Kishore Nallan
812f91d26e Another attempt at fixing Mac OpenSSL build failure. 2017-03-31 18:06:08 +05:30
Kishore Nallan
49a6d77b7e Test for build result for libfor and rocksdb builds. 2017-03-31 18:05:52 +05:30
Jason Bosco
0a99fd11c0 Add dl to linked libraries.
More info here: http://stackoverflow.com/a/10368706/123545
2017-03-30 21:25:14 -07:00
Jason Bosco
8efe35df1a Merge branch 'master' into docker-build 2017-03-30 20:54:45 -07:00
Kishore Nallan
aacff2fd23 Fix OpenSSL path on Mac.
Explicitly add include and link directories.
2017-03-30 21:51:45 +05:30
Kishore Nallan
dde18c92da Tweak cmake build.
- Download files only if they aren't already on disk
- Trim H2O build: use OpenSSL
2017-03-30 18:29:18 +05:30
Kishore Nallan
c698c3be1a Fix a few compile warnings/errors. 2017-03-30 18:25:37 +05:30
Kishore Nallan
bf6df4587a Fix compile errors. 2017-03-28 19:06:46 +05:30
Jason Bosco
c1fc486bf7 Use docker for consistent build environment 2017-03-27 23:03:41 -07:00
Jason Bosco
f6d0e0571f Missing HEADER_FILES ? 2017-03-27 23:03:14 -07:00
Jason Bosco
5dd5a51c8b Fix order of include file 2017-03-27 22:56:25 -07:00
Kishore Nallan
70dda716c5 Parameterize the token ordering field. 2017-03-26 21:26:01 +05:30
Kishore Nallan
fab27d9f5c Handle fields not matching type declared in the schema during indexing. 2017-03-26 14:49:32 +05:30
Kishore Nallan
222e2c689a Handle indexing document that does not have all the fields defined in the schema. 2017-03-25 21:45:06 +05:30
Kishore Nallan
7af95e7f22 Refactored the facet implementation and as well as the query interface.
- Facetable and Rankable fields must be defined upfront during collection creation
- During query time, specific rank and facet fields can be mentioned but they should belong to the set declared previously
2017-03-19 19:25:42 +05:30
Kishore Nallan
4776b41dc1 Facet implementation. 2017-03-13 21:09:27 +05:30
Kishore Nallan
96921be016 Parse filter query string. 2017-03-06 21:17:13 +05:30
Kishore Nallan
0760e4d01b String based filtering. 2017-03-04 20:58:29 +05:30
Kishore Nallan
14168c48fc Support for "IN" style numerical filter. 2017-03-03 21:50:43 +05:30
Kishore Nallan
4378083e73 Searching for an int32 against an int32 array. 2017-02-12 17:35:43 +05:30
Kishore Nallan
aa9945c3c0 Implemented filter on a single int32 value. 2017-02-12 12:51:28 +05:30
Kishore Nallan
60cc05fe52 Fixed a bug in bulk indexOf forarray search. 2017-02-10 10:47:33 +05:30
Kishore Nallan
645355067a Don't initialize leaf_to_indices map for single token queries. 2017-02-08 08:20:21 +05:30
Kishore Nallan
c115c2c4a4 Use multi-key binary search to convert document IDs to corresponding indices.
Improved performance by 7x.
2017-02-07 22:42:58 +05:30