Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support GEOSHAPE field type in RediSearch #191

Merged
merged 17 commits into from
Oct 17, 2023
Merged

Conversation

shacharPash
Copy link
Contributor

Closes #188

shacharPash and others added 6 commits October 3, 2023 17:39
* delete mock

* coverage

* fix test

* indent

* change to var - check

* cluster test

* add opthin to connect cluster with dotnet test

* use key in topk tests

* get env vars inside RedisFixture

* skip if redis

* add skip where needed

* Execute broadcast

* delete cluster tests

* RedisFixture fix

* add to contributing

* run cluster on CI

* wip

* fix /

* -d

* delete restore

* return restore

* add -RC3

* add RC3 to docker-compose

* try define both .net 6 and 7

* Skip if cluster where needed

* add names

* skip configOnTimeout if cluster

* try to fix win tests

* tests names +fix win version

* fix versions

* versions

* win verer

* wording

* change to OSSCluster

* isOSSCluster

* update skip reason to OSS cluster

* general dispose

* general dispose for the rest of the disposes

---------

Co-authored-by: Chayim <[email protected]>
@codecov-commenter
Copy link

codecov-commenter commented Oct 3, 2023

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (04e61da) 94.06% compared to head (174ca4d) 94.03%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #191      +/-   ##
==========================================
- Coverage   94.06%   94.03%   -0.04%     
==========================================
  Files          82       82              
  Lines        5109     5127      +18     
  Branches      483      483              
==========================================
+ Hits         4806     4821      +15     
- Misses        176      180       +4     
+ Partials      127      126       -1     
Files Coverage Δ
src/NRedisStack/Search/Query.cs 98.11% <ø> (ø)
src/NRedisStack/Search/Schema.cs 94.05% <77.77%> (-1.60%) ⬇️

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@shacharPash shacharPash marked this pull request as ready for review October 15, 2023 14:38
@shacharPash shacharPash requested review from uglide, chayim and a team October 16, 2023 13:55
@shacharPash shacharPash added the documentation Improvements or additions to documentation label Oct 16, 2023
Examples/GeoShape.md Outdated Show resolved Hide resolved
Examples/GeoShape.md Outdated Show resolved Hide resolved
Examples/GeoShape.md Outdated Show resolved Hide resolved
Examples/GeoShape.md Outdated Show resolved Hide resolved
Examples/GeoShape.md Outdated Show resolved Hide resolved
Examples/GeoShape.md Outdated Show resolved Hide resolved
Examples/GeoShape.md Outdated Show resolved Hide resolved
Examples/GeoShape.md Outdated Show resolved Hide resolved
2) "POLYGON ((1 1, 1 200, 200 200, 200 1, 1 1))"
```

### Point type
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Searching with Co-ordinates

Examples/GeoShape.md Outdated Show resolved Hide resolved
@@ -38,6 +40,7 @@ internal void AddSchemaArgs(List<object> args)
{
FieldType.Text => "TEXT",
FieldType.Geo => "GEO",
FieldType.GeoShape => "GEOSHAPE",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good

@shacharPash shacharPash merged commit b178f7a into master Oct 17, 2023
3 checks passed
@shacharPash shacharPash deleted the Issue188/GeoShape branch October 17, 2023 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for GEOSHAPE index fields and WITHIN and CONTAINS query operators
3 participants