search for: r_search

Displaying 14 results from an estimated 14 matches for "r_search".

Did you mean: _search
2006 Aug 24
8
installing ferret
.../usr/local/lib/ruby/1.8/i686-linux -I. -c r_store.c gcc -fPIC -g -O2 -fno-common -I. -I/usr/local/lib/ruby/1.8/i686-linux -I/usr/local/lib/ruby/1.8/i686-linux -I. -c r_index.c gcc -fPIC -g -O2 -fno-common -I. -I/usr/local/lib/ruby/1.8/i686-linux -I/usr/local/lib/ruby/1.8/i686-linux -I. -c r_search.c gcc -fPIC -g -O2 -fno-common -I. -I/usr/local/lib/ruby/1.8/i686-linux -I/usr/local/lib/ruby/1.8/i686-linux -I. -c r_qparser.c gcc -shared -L''/usr/local/lib'' -Wl,-R''/usr/local/lib'' -o ferret_ext.so q_filtered_query.o priorityqueue.o hashset.o helper.o glob...
2007 Apr 06
1
0.11.4 tidings
...my own bugs, or the result of passing the wrong parameters to ferret methods, which I''ve had problems with before... I''ll keep trying and do a big test overnight, but so far, the news is..... ambivalent. As far as the 64-bit warnings go, most are now gone, with one exception: r_search.c: In function ''frt_td_to_s'': r_search.c:202: warning: format ''%d'' expects type ''int'', but argument 3 has type ''long int'' Dave, I''d like to thank you once again for your efforts in creating and maintaining Ferret....
2006 Oct 12
2
Patching ferret problems...
...uery, :limit => 1000).hits.each { |x| INDEX[x.doc].load.to_json } } => 7.38711595535278 >> Benchmark.realtime { INDEX.search(''type:hardware'', :limit => 1000).to_json } => 0.471335172653198 I patched that directly in /usr/lib/ruby/gems/1.8/gems/ferret-0.10.10/ext/r_search.c so i wanted to submit my modifications today, so i did : svn checkout svn://davebalmain.com/ferret/tags/REL-0.10.11 and tried to make my modifications into REL-0.10.11/ext/r_search.c where i discovered a T O T A L L Y different file... I tried to find the good one, but nothing.. ? And when my m...
2007 Mar 16
5
ferret on 64bit systems?
...d out when I install ferret on the server that I don''t recall seeing on my workstation. None of them seemed terribly noxious, but I haven''t really looked into what code causes these. Anyway, here are the warnings for 0.11.3: Building native extensions. This could take a while? r_search.c: In function ?frt_td_to_s?: r_search.c:202: warning: format ?%d? expects type ?int?, but argument 3 has type ?long int? ferret.c: In function ?object_add2?: ferret.c:69: warning: cast from pointer to integer of different size ferret.c:69: warning: cast from pointer to integer of different size f...
2007 Mar 29
2
Nasty looking warnings on Debian Etch AMD64 bit box
...4 has type ?off_t? ferret.c: In function ?object_add2?: ferret.c:69: warning: cast from pointer to integer of different size ferret.c:69: warning: cast from pointer to integer of different size ferret.c: In function ?object_del2?: ferret.c:88: warning: cast from pointer to integer of different size r_search.c: In function ?frt_td_to_s?: r_search.c:202: warning: format ?%d? expects type ?int?, but argument 3 has type ?long int? compound_io.c: In function ?cmpdi_read_i?: compound_io.c:135: warning: format ?%lld? expects type ?long long int?, but argument 4 has type ?off_t? compound_io.c:135: warning: fo...
2006 Oct 10
4
Need help for coding an extension to ferret
...e is my problem : I would like to load each document from ids in my TopDoc object, to make the json string myself from that, but i don''t know how to load my documents from this class... it''s really weirdo to me actually :\ hope somebody can help ! Here is my code, situated in r_search.c : static VALUE frt_td_to_json(VALUE self) { int i; VALUE rhits = rb_funcall(self, id_hits, 0); VALUE rhit; const int len = RARRAY(rhits)->len; long pos; for (i = 0; i < len; i++) { rhit = RARRAY(rhits)->ptr[i]; pos = FIX2INT(rb_funcall(rhit, id_doc, 0)); // // HERE I WOUlD...
2006 Apr 27
1
Ferret crashing Ruby
...e gotten several problems with C ferret crashing ruby. Here''s the stack trace of my latest case: #0 0x00000050 in ?? () #1 0xb74028ab in iw_close (iw=0x8685a40) at index_rw.c:947 #2 0xb7414359 in index_destroy (self=0x829ebc0) at ind.c:89 #3 0xb73f00bc in frt_ind_free (p=0x829ebc0) at r_search.c:1564 #4 0xb7f04dca in rb_gc_call_finalizer_at_exit () from /usr/lib/libruby1.8.so.1.8 #5 0xb7ee627d in is_ruby_native_thread () from /usr/lib/libruby1.8.so.1.8 #6 0xb7efe2b5 in ruby_cleanup () from /usr/lib/libruby1.8.so.1.8 #7 0xb7efe3cc in ruby_stop () from /usr/lib/libruby1.8.so.1.8 #8...
2006 Aug 27
6
how to get the words of a query
Hi, Using aaf to search pages, I wanted to present excerpts from the texts even when more than one term was used in the search. I came to some results, despite the difficulty caused by Unicode+ruby. The last problem I''m faced is to get the query words, without the logical articulation chars if any. Is there a clean way to get them ? -- Jean-Christophe Michel
2006 Aug 01
8
Problem importing lots of records
I run a script that imports a few thousand records into the database. The script runs once for each of several XML files. What it does is parse the XML and for each element of a certain type creates a record in a rails database that gets indexed with acts_as_ferret. This worked fine before but today after a few files (70000 records) this started to happen for any file I tried:
2006 Apr 26
1
Building native extensions fail on Macbook Pro
...-I/opt/local/lib/ruby/1.8/i686-darwin8.5.2 -I. -O -pipe -I/opt/local/include -c r_qparser.c gcc -fno-common -O -pipe -I/opt/local/include -fno-common -pipe -fno-common -I. -I/opt/local/lib/ruby/1.8/i686-darwin8.5.2 -I/opt/local/lib/ruby/1.8/i686-darwin8.5.2 -I. -O -pipe -I/opt/local/include -c r_search.c gcc -fno-common -O -pipe -I/opt/local/include -fno-common -pipe -fno-common -I. -I/opt/local/lib/ruby/1.8/i686-darwin8.5.2 -I/opt/local/lib/ruby/1.8/i686-darwin8.5.2 -I. -O -pipe -I/opt/local/include -c r_store.c gcc -fno-common -O -pipe -I/opt/local/include -fno-common -pipe -fno-common -I....
2007 Nov 30
0
Cannot install ferret gem on Leopard
...ib/ruby/1.8/i686-darwin8.10.3 -I. -fno-common -g -O2 -fno-common -pipe -fno-common -D_FILE_OFFSET_BITS=64 -c r_qparser.c gcc -I. -I/usr/local/lib/ruby/1.8/i686-darwin8.10.3 -I/usr/local/lib/ruby/1.8/i686-darwin8.10.3 -I. -fno-common -g -O2 -fno-common -pipe -fno-common -D_FILE_OFFSET_BITS=64 -c r_search.c gcc -I. -I/usr/local/lib/ruby/1.8/i686-darwin8.10.3 -I/usr/local/lib/ruby/1.8/i686-darwin8.10.3 -I. -fno-common -g -O2 -fno-common -pipe -fno-common -D_FILE_OFFSET_BITS=64 -c r_store.c gcc -I. -I/usr/local/lib/ruby/1.8/i686-darwin8.10.3 -I/usr/local/lib/ruby/1.8/i686-darwin8.10.3 -I. -fno-comm...
2007 Feb 25
9
Ferret 0.11.0-rc1
Hey folks, Sorry for cross posting like this but this is an important announcement for all Ferret users. ** Description ** Firstly for those who don''t know, Ferret is a full-text search library which makes adding search to your application a breeze. It''s much faster than MySQL full-text search as well most other search libraries out there. It allows you to do Boolean (+ruby +
2018 May 15
12
[PATCH libldm 00/12] New API: an ability to retrieve created device-mapper devices back after they have been created.
The main goal of these patch series is to implement a new API that allows to retrieve created device-mapper devices for volumes and partitions back after they have been created. As part of this patch: - required libdevmapper version was bumped to 1.02. I think it is safe because it was released more then 10 years ago; - newer version of libdevmapper allowed to simplify code base a little bit; -
2006 May 11
6
problem with solaris install
I was trying to install ferret 0.9.2 on solaris (SunOS 5.8) which does not have a sys/dir.h nix_io.c:5:21: sys/dir.h: No such file or directory make: *** [nix_io.o] Error 1 I couldn''t find an obvious way around this... any suggestions? Thanks, Rich Marisa Cornell Information Technologies Cornell University