Displaying 2 results from an estimated 2 matches for "pos_inc".
Did you mean:
post_inc
2006 Mar 19
3
Ferret 0.9.0-alpha (port of Apache Lucene to pure ruby)
...almain.com/api
http://ferret.davebalmain.com/api/files/TUTORIAL.html
== Changes
* currently this version isn''t very extendable. For example,
you can''t write your own Analyzer, Filter or Query.
* changed Token#term_text to Token#text
* changed Token#position_increment to Term#pos_inc
* changed order of args to Token.new. Now Term.new(text, start_offset,
end_offset, pos_inc=1, type="text"). NOTE: type does nothing.
* changed TermVectorOffsetInfo#start_offset to TermVectorOffsetInfo#start
* changed TermVectorOffsetInfo#end_offset to TermVectorOffsetInfo#end
* added...
2006 Aug 15
2
Windows build with Visual Studio 2005 - some success
...fest $(DLLIB).manifest
--- ../../ferret/ferret/ext/analysis.h 2006-08-15 15:25:38.081297400 +1000
+++ ext/analysis.h 2006-08-15 14:54:01.574393500 +1000
@@ -19,7 +19,7 @@
Token *tk_create();
void tk_destroy(void *p);
-Token *tk_set(Token *tk, char *text, int tlen, int start, int end, int pos_inc);
+inline Token *tk_set(Token *tk, char *text, int tlen, int start, int end, int pos_inc);
Token *tk_set_no_len(Token *tk, char *text, int start, int end, int pos_inc);
int tk_eq(Token *tk1, Token *tk2);
int tk_cmp(Token *tk1, Token *tk2);
--- ../../ferret/ferret/ext/bitvector.h 2006-08-15 15...