search for: index_rw

Displaying 7 results from an estimated 7 matches for "index_rw".

2006 Aug 01
8
Problem importing lots of records
...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: ./imports/../config/../vendor/plugins/acts_as_ferret/lib/acts_as_ferret.rb:510:in `<<'': : Error occured at <index_rw.c>:703 (StandardError) Error: exception 6 not handled: Could not obtain write lock when trying to write index from ./imports/../config/../vendor/plugins/acts_as_ferret/lib/acts_as_ferret.rb:510:in `ferret_create'' from /usr/lib/ruby/gems/1.8/gems/activerecord-1.14.3/lib/active_record/c...
2006 Aug 04
5
Mongrel Cluster Compatibility
Is anyone using ferret with Mongrel/Mongrel-cluster? The first one or two times I access the ferret index it works fine, but then it throws a write lock error StandardError (: Error occured at <index_rw.c>:703 Error: exception 6 not handled: Could not obtain write lock when trying to write index ): I need to do more testing on this to narrow down the problem/solution but just wanted to throw out the question to see if anyone was using this already succesfully or if someone (Dave? :) knew wh...
2006 Aug 04
5
A couple of ferret 0.9.4 exceptions
...two lighttpd instances both with read/write access to the index: 1) Error occured at <fs_store.c>:318 Error: exception 2 not handled: Couldn''t open the file to read This happened while adding a document to the index like so: gift_index << self.to_doc 2) Error occured at <index_rw.c>:2642 Error: exception 6 not handled: Could not obtain commit lock when trying to write index This happened while doing a search_each like so: gift_index.search_each The weird thing is that I would think the search each doesn''t need to write to the index. Both of these issues appe...
2006 Aug 15
2
Windows build with Visual Studio 2005 - some success
...fest to the $(DLLIB): target (this is required for VS2005 to generate compatible dlls): $(DLLIB): $(DEFFILE) $(OBJS) @-$(RM) $@ $(LDSHARED) -Fe$(@) $(OBJS) $(LIBS) $(LOCAL_LIBS) $(DLDFLAGS) mt.exe -outputresource:$(DLLIB);2 -manifest $(DLLIB).manifest 4. ran nmake in ext dir: index_rw.c(192) : error C2275: ''DocField'' : illegal use of this type as an expression VC also does not like statements before declarations. Changed index.rw (lines 190-192) to: DocField **fields = doc->df_arr, *field; text_buf[MAX_WORD_SIZE - 1] = ''\0''; 5. nmake agai...
2006 Apr 27
1
Ferret crashing Ruby
I''ve 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 0xb7...
2006 Apr 26
1
Building native extensions fail on Macbook Pro
...2 -I/opt/local/lib/ruby/1.8/i686-darwin8.5.2 -I. -O -pipe -I/opt/local/include -c index_io.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 index_rw.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 lang.c gcc -fno-common -O -pipe -I/opt/local/include -fno-common -pipe -fno-common -I. -I...
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