search for: field_index

Displaying 4 results from an estimated 4 matches for "field_index".

2008 Jan 21
1
help writing a usb hid driver for existing ups
...;t want to learn all the HID stuff - just some basics (probably just an example) necessary to implement the driver. (*) their program is looping doing the following at regular intervals: 654 time(NULL) = 1200921228 654 ioctl(3, HIDIOCGUSAGE, {report_type=1, report_id=0, field_index=0, usage_index=0, usage_code=ffa00001, value=240}) = 0 654 select(4, [3], NULL, NULL, {3, 0}) = 1 (in [3], left {2, 990000}) 654 read(3, "\1\0\240\377\360\0\0\0\1\0\240\377\0\0\0\0\1\0\240\377\0\0\0\0\1\0\240\377\0\0\0\0\1\0\240\377\0\0\0\0\1\0\240\377\0\0\0\0\1\0\240\377\0\0\0\0\1\0\240\3...
2013 Apr 16
2
An error occurred while installing jk-ferret (0.11.8.3), and Bundler cannot continue.
...ompound_io.c:334:9: warning: too many arguments for format compiling document.c compiling except.c except.c:23:37: warning: initialization discards qualifiers from pointer target type except.c:24:29: warning: initialization discards qualifiers from pointer target type compiling ferret.c compiling field_index.c field_index.c: In function ''string_handle_term'': field_index.c:237:23: warning: operation on ''index->values'' may be undefined compiling filter.c compiling fs_store.c fs_store.c: In function ''fso_seek_i'': fs_store.c:252:9: warning: unknown c...
2008 Mar 05
0
Index Searcher Causes GC Memory Error: "irb: double free or corruption"
...(query, doc) query_obj = process_query(query) self.searcher.explain( query_obj, doc ) end # Segmentation Fault when index_searcher.highlight def highlight (query, doc_id, options = {}) query_obj = process_query(query) doc = self.searcher[doc_id] field_value = doc[options[:field] ] field_index = Ferret::I.new(:analyzer => SearchIndex::STEMMING_ANALYZER) field_index << {:keywords => field_value} fvh = field_index.highlight(query, 0, options.merge({ :field => :keywords }) ) return fvh rescue Exception => e puts "** IndexSearch.highlight(''#{query}...
2013 Apr 16
1
An error occurred while installing jk-ferret (0.11.8.3), and Bundler cannot continue.
...ompound_io.c:334:9: warning: too many arguments for format compiling document.c compiling except.c except.c:23:37: warning: initialization discards qualifiers from pointer target type except.c:24:29: warning: initialization discards qualifiers from pointer target type compiling ferret.c compiling field_index.c field_index.c: In function ''string_handle_term'': field_index.c:237:23: warning: operation on ''index->values'' may be undefined compiling filter.c compiling fs_store.c fs_store.c: In function ''fso_seek_i'': fs_store.c:252:9: warning: unknown c...