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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 656f9b07281a67e4704752b1fd4dab4c65a20baccf46af4ee25a7cc4583b9957
4
- data.tar.gz: a6dca3747b45555270de3b6db03e4e61811457c0e5c17fe350e421faa878d277
3
+ metadata.gz: 2f9d6c58062c8690651574c5c7d49d6d5065dbc369bec04764cf9ee866ed307f
4
+ data.tar.gz: b237eec68ad03765c8dc3f762e967068f92394cd2bfab1445cdd6ad26c099f83
5
5
  SHA512:
6
- metadata.gz: c1a882356959684c36ca7dce0652ea7a20de079af626ccea58e6600e3ce68ab2b51fcda34d917eaeee6a9c91b7f969daf993440a36fd35ebd664e993497fa5cc
7
- data.tar.gz: 0c92174949583fc74c59424b99539a87062be494274aa15dd27fad3539a027c6cfa1c3c6054689deecb5e34b1ec099e5e02ad5cfb8b68b0e6f2725cbb6dcdda1
6
+ metadata.gz: dc46f11da630727f02ebb5bb78fd979d45636ef4545ad6590301d58d92e3e18420f602aed5f44ca907f3154b61d367cc041374b1c08372e780b89495522dd262
7
+ data.tar.gz: a0e27cefff7381275dc78ccdfc7e0872bbd41a1d7d55f49701b5a8109282cfa4b1ed672eed71a52ecd80ef58b3d9e0c6cee4b56ef625782f7b4837d20e2091be
data/README.md CHANGED
@@ -1,6 +1,10 @@
1
- # isomorfeus-ferret
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
+ &nbsp;&nbsp;&nbsp;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 loger a goal to have
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
- td = sea->search(sea, query, offset, limit, filter, sort, post_filter, 0);
2705
- if (filter) frt_filt_deref(filter);
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
 
@@ -1,5 +1,5 @@
1
1
  module Isomorfeus
2
2
  module Ferret
3
- VERSION = '0.12.2'
3
+ VERSION = '0.12.3'
4
4
  end
5
5
  end
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.2
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: 2021-11-15 00:00:00.000000000 Z
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.2.22
303
+ rubygems_version: 3.3.3
304
304
  signing_key:
305
305
  specification_version: 4
306
306
  summary: Search for Isomorfeus.