tidwall
0d83b1ca53
Merge branch 'rshura-optimize-field-match'
2021-07-10 17:59:22 -07:00
tidwall
40105e6b7e
Include "distance" to output when user specifically requests
...
fixes #599
2021-03-30 11:49:01 -07:00
tidwall
f23b46cfc0
Hotfix for previous commit
2020-07-04 10:35:07 -07:00
tidwall
f3622c3756
Fixed wrong order for fields with SCAN
...
This commit fixes an issue that happens when running SCAN on a
collection that has objects with fields, causing field values
to be mismatched with their respective keys.
This only occured with json output, and is a regression from #534 .
Fixes #569
2020-07-04 10:12:06 -07:00
Alex Roitman
914f51de11
Fixes
2020-04-09 09:59:24 -07:00
Alex Roitman
fe0216c42c
Restore previous behavior where non-existing fields are treated as zero-value.
2020-04-09 09:54:47 -07:00
Alex Roitman
f3cc365d24
Pre-allocate where and wherein arrays.
2020-04-09 09:36:12 -07:00
tidwall
951fc58e02
Match geometry indexing to server config
2020-03-25 15:35:31 -07:00
Alex Roitman
d5132a9eae
Map field names to array indices in scanwriter, once per query.
2020-03-25 15:15:06 -07:00
Alex Roitman
27c6980f82
Copy array and only loop if we need to pad.
2020-03-25 15:14:37 -07:00
Alex Roitman
5faccc3b4c
Avoid sorting fields for each written object.
2020-03-03 13:39:43 -08:00
tidwall
c084aeedc2
Code cleanup
...
This commit cleans up various Go code in the internal directory.
- Ensures comments on exported functions
- Changes all *Server receiver in all files to be "s", instead
of mixed "c", "s", "server", etc.
- Silenced Go warnings for if/else with returns.
- Cleaned up import ordering.
2019-10-30 10:17:59 -07:00
Melissa Baker
46f5d2d224
Fixed nearby json field results showing wrong data
...
issue #453
2019-05-28 12:17:59 -07:00
tidwall
fc3e8b4359
Fix nearby with match query invalid results
...
closes #421
2019-03-01 06:55:26 -07:00
tidwall
07bae979a5
Added Cursor interface
2018-11-02 06:09:56 -07:00
Alex Roitman
0933c541f4
Refactor cursor/paging.
2018-10-31 22:01:37 -07:00
Alex Roitman
b94f3685b6
Move iterating up to the cursor before any tests.
2018-10-31 22:01:24 -07:00
tidwall
555e47036c
Replaced net package with evio
...
- Added threads startup flag
- Replaced net package with evio
- Refactored controller into server
2018-10-28 15:51:47 -07:00