isomorfeus-ferret 0.12.2 → 0.12.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -3
- data/ext/isomorfeus_ferret_ext/frb_search.c +14 -2
- data/lib/isomorfeus/ferret/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f9d6c58062c8690651574c5c7d49d6d5065dbc369bec04764cf9ee866ed307f
|
4
|
+
data.tar.gz: b237eec68ad03765c8dc3f762e967068f92394cd2bfab1445cdd6ad26c099f83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc46f11da630727f02ebb5bb78fd979d45636ef4545ad6590301d58d92e3e18420f602aed5f44ca907f3154b61d367cc041374b1c08372e780b89495522dd262
|
7
|
+
data.tar.gz: a0e27cefff7381275dc78ccdfc7e0872bbd41a1d7d55f49701b5a8109282cfa4b1ed672eed71a52ecd80ef58b3d9e0c6cee4b56ef625782f7b4837d20e2091be
|
data/README.md
CHANGED
@@ -1,6 +1,10 @@
|
|
1
|
-
|
1
|
+
<h1 align="center">
|
2
|
+
<img src="https://github.com/isomorfeus/isomorfeus-ferret/blob/master/Logo.png?raw=true" align="center" width="216" height="234" />
|
3
|
+
<br/>
|
4
|
+
Isomorfeus Ferret<br/>
|
5
|
+
</h1>
|
2
6
|
|
3
|
-
Convenient and well performing indexing and search.
|
7
|
+
Convenient and well performing document store, indexing and search.
|
4
8
|
|
5
9
|
### Community and Support
|
6
10
|
At the [Isomorfeus Framework Project](http://isomorfeus.com)
|
@@ -9,7 +13,7 @@ At the [Isomorfeus Framework Project](http://isomorfeus.com)
|
|
9
13
|
|
10
14
|
Isomorfeus-Ferret is a revived version of the original ferret gem created by Dave Balmain.
|
11
15
|
During revival many things havbe been fixed, now all tests pass, no crashes and it
|
12
|
-
successfully compiles and runs with rubys >3. Its no
|
16
|
+
successfully compiles and runs with rubys >3. Its no longer a goal to have
|
13
17
|
a c library available, but instead the usage is meant as ruby gem with a c extension only.
|
14
18
|
|
15
19
|
It should work on *nixes and *nuxes and also works on Windows.
|
@@ -2651,6 +2651,9 @@ frb_sea_search_internal(FrtQuery *query, VALUE roptions, FrtSearcher *sea)
|
|
2651
2651
|
FrtPostFilter post_filter_holder;
|
2652
2652
|
FrtPostFilter *post_filter = NULL;
|
2653
2653
|
|
2654
|
+
int ex_code = 0;
|
2655
|
+
const char *msg = NULL;
|
2656
|
+
|
2654
2657
|
if (Qnil != roptions) {
|
2655
2658
|
if (Qnil != (rval = rb_hash_aref(roptions, sym_offset))) {
|
2656
2659
|
offset = FIX2INT(rval);
|
@@ -2701,8 +2704,17 @@ frb_sea_search_internal(FrtQuery *query, VALUE roptions, FrtSearcher *sea)
|
|
2701
2704
|
}
|
2702
2705
|
}
|
2703
2706
|
|
2704
|
-
|
2705
|
-
|
2707
|
+
FRT_TRY
|
2708
|
+
td = sea->search(sea, query, offset, limit, filter, sort, post_filter, 0);
|
2709
|
+
if (filter) frt_filt_deref(filter);
|
2710
|
+
default:
|
2711
|
+
ex_code = xcontext.excode;
|
2712
|
+
msg = xcontext.msg;
|
2713
|
+
FRT_HANDLED();
|
2714
|
+
FRT_XENDTRY
|
2715
|
+
|
2716
|
+
if (ex_code && msg) { frb_raise(ex_code, msg); }
|
2717
|
+
|
2706
2718
|
return td;
|
2707
2719
|
}
|
2708
2720
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: isomorfeus-ferret
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Biedermann
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -300,7 +300,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
300
300
|
- !ruby/object:Gem::Version
|
301
301
|
version: '0'
|
302
302
|
requirements: []
|
303
|
-
rubygems_version: 3.
|
303
|
+
rubygems_version: 3.3.3
|
304
304
|
signing_key:
|
305
305
|
specification_version: 4
|
306
306
|
summary: Search for Isomorfeus.
|