kishorenc
ef40516790
Fixing an issue with grouping across indices.
2020-06-18 18:17:33 +05:30
kishorenc
3f6f13baf1
Support for grouping overrides.
2020-06-16 16:28:14 +05:30
kishorenc
444633ce85
Merge branch 'master' into distinct-grouping
...
# Conflicts:
# test/collection_test.cpp
2020-06-12 21:16:49 +05:30
kishorenc
ae66d6a8d0
Schema response should contain optional field value.
2020-06-12 20:57:26 +05:30
kishorenc
b7dcb7367b
Expose group by params.
2020-06-10 19:58:55 +05:30
kishorenc
8ffb9c5154
Reuse KV pointers instead of copying as objects.
2020-06-07 17:36:27 +05:30
kishorenc
67185c9ee1
Limit per_page to a sane number.
2020-05-31 09:28:50 +05:30
kishorenc
a4a51846f7
Calculate max_hits dynamically from per_page and page params.
...
So we no longer need this parameter to be exposed.
2020-05-30 16:08:13 +05:30
kishorenc
f1d0f279c7
Support for pinning and hiding hits during query time.
2020-05-21 12:46:51 +05:30
kishorenc
6af35f5de8
Allow max_hits to be specified as "all".
2020-05-21 11:19:15 +05:30
kishorenc
88192820de
Free leaf indices during early return.
2020-03-26 14:05:59 +05:30
kishorenc
206fe5b833
Expose typo_tokens_threshold
parameter.
...
If the number of results found for a specific query is less than this number, Typesense will attempt to look for tokens with more typos until enough results are found.
2020-03-07 12:31:05 +05:30
kishorenc
63ecc841b5
Return fully highlighted values for specified fields.
...
Via the `highlight_full_fields` parameter.
2020-03-02 20:50:11 +05:30
kishorenc
31e9e4719a
Compute stats on all facet values regardless of facet query.
2020-03-01 21:18:45 +05:30
kishorenc
9622d59996
Parameterize snippet_threshold
for highlighting.
...
Strings under this length will be fully highlighted, instead of showing a snippet.
2020-02-27 18:50:31 +05:30
kishorenc
8a24d047ec
Compute facet stats for numerical fields.
2020-02-27 14:27:43 +05:30
kishorenc
991bf03bcb
Only the last facet query token must be treated as prefix.
2020-02-23 11:52:11 +05:30
kishorenc
2dfec18811
Fix comparator for facet sorting.
2020-02-23 08:13:37 +05:30
kishorenc
38bac77c43
Bug fix: incomplete string array deletion.
2020-02-22 17:30:14 +05:30
kishorenc
712d962cac
WIP: Highlight facet query results
2020-02-21 21:45:28 +05:30
kishorenc
4fa89ebf00
Implement facet filtering.
2020-02-17 21:59:47 +05:30
kishorenc
dfbe3888d8
Refactor facet search to use hash based mapping.
...
Also fixed a bug where filter fields marked as facets were being searched only verbatim.
2020-02-16 17:41:17 +05:30
kishorenc
b14cd3edca
Address some warning.
2020-02-11 20:19:46 +05:30
kishorenc
fd285b6fbe
Allow maximum hits returned to be configurable.
...
This obviously has a performance impact, but it might not be a big deal for most people and is now left to their discretion. The default of 500 results stays to maintain backward compatibility.
2020-02-10 20:54:38 +05:30
Kishore Nallan
9f788546c8
Return json object rather than string for convenience.
2019-08-17 19:40:58 +05:30
Kishore Nallan
237196204c
Persist override configuration.
2019-08-17 10:40:13 +05:30
Kishore Nallan
c1b9501351
Lay foundations for overriding search results.
2019-08-10 19:46:37 +05:30
Kishore Nallan
e6dad1682c
Parameter for controlling max number of facets returned during search.
2019-06-26 18:58:18 +05:30
Kishore Nallan
3f64a26399
When a write to on-disk storage fails, ensure that in-memory write is rolled back.
...
Otherwise, the memory and disk stores will not be in sync.
2019-05-31 19:11:30 +05:30
Kishore Nallan
d524b08884
Add test for bad import JSON.
2019-05-26 21:06:01 +05:30
Kishore Nallan
ba205222b7
Refactor bulk indexing process.
2019-05-25 22:28:13 +05:30
Kishore Nallan
ade8e1946f
Bulk import API.
2019-05-11 13:48:41 +05:30
Kishore Nallan
b5b7635dc7
Load the indices parallely from disk.
...
Decreases initialization and boot up time.
2019-02-09 16:34:39 +05:30
Kishore Nallan
35b7ba720b
Store the created timestamp as part of collection metadata.
2018-08-26 16:45:47 +05:30
Kishore Nallan
c5b7f3c7e2
Return snippets of best matched array elements instead of just the best matched element.
...
However, we limit the number of snippets returned to 5 for now.
2018-05-22 14:48:25 +05:30
Kishore Nallan
0014e19ea6
Highlighting should include all search fields, and not just the best matched field.
2018-05-14 14:11:14 +05:30
Kishore Nallan
95112a8086
Support inclusion and exclusion of document fields that are returned in search response.
2018-05-08 07:53:13 +05:30
Kishore Nallan
6ad5e36179
Allow configuring a threshold for dropping tokens.
...
Fixes https://github.com/typesense/typesense/issues/20
2018-04-12 19:25:59 +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
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
c3298ba6d8
Address -Wall and -Wextra warnings.
2018-01-25 20:08:13 +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
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
bae67169d6
Collection summary end-point now shows the schema.
2017-12-16 18:43:08 +05:30
Kishore Nallan
3d38b63d7f
Support upto 500 search results.
2017-11-24 17:53:38 +05:30
Kishore Nallan
d132098463
Free h2o related resources to have a clean shutdown. [Valgrind]
2017-11-19 20:41:31 +05:30
Kishore Nallan
eff61d2c25
Search for documents parallely.
2017-11-18 22:22:52 +05:30