Displaying 3 results from an estimated 3 matches for "field_cache".
2006 Sep 24
1
[patch] buffer overflow in q_parser.y
...===================================================================
--- c/include/search.h (revision 615)
+++ c/include/search.h (working copy)
@@ -819,6 +819,7 @@
char *qstr;
char *qstrp;
char buf[QP_CONC_WORDS][MAX_WORD_SIZE];
+ char *dynbuf;
int buf_index;
HashTable *field_cache;
HashSet *fields;
Index: c/src/q_parser.y
===================================================================
--- c/src/q_parser.y (revision 615)
+++ c/src/q_parser.y (working copy)
@@ -173,6 +173,11 @@
char *bufp = buf;
qp->buf_index = (qp->buf_index + 1) % QP_CONC_WORDS;
+...
2006 Apr 27
1
Ferret crashing Ruby
...usr/lib/libruby1.8.so.1.8
#9 0x080486b1 in main ()
This was while doing several identical searches ordered by a field.
The same code without the extensions throws this exception:
RuntimeError: no terms in field start_date to sort by
/usr/lib/ruby/gems/1.8/gems/ferret-0.9.1/lib/ferret/search/field_cache.rb:189:in `get_auto_index''
/usr/lib/ruby/gems/1.8/gems/ferret-0.9.1/lib/ferret/search/field_sorted_hit_queue.rb:172:in `comparator_auto''
/usr/lib/ruby/gems/1.8/gems/ferret-0.9.1/lib/ferret/search/field_sorted_hit_queue.rb:123:in `get_cached_comparator''
/usr/li...
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