pike.git / src / modules / _WhiteFish / whitefish.c

version» Context lines:

pike.git/src/modules/_WhiteFish/whitefish.c:444:    for( i = 0; i<65; i++ )    field_coefficients[i] = (double)_field->item[i].u.integer;       res = low_do_query_phrase(blobs,numblobs, field_coefficients );    pop_n_elems( args );    wf_resultset_push( res );   }      static void f_do_query_and( INT32 args )   /*! @decl ResultSet do_query_and( array(string) words, @ -  *! array(int) field_coefficients, @ -  *! array(int) proximity_coefficients, @ -  *! function(string,int,int:string) blobfeeder) +  *! array(int) field_coefficients, @ +  *! array(int) proximity_coefficients, @ +  *! int cutoff, @ +  *! function(string,int,int:string) blobfeeder)    *! @param words    *!    *! Arrays of word ids. Note that the order is significant for the    *! ranking.    *!    *! @param field_coefficients    *!    *! An array of ranking coefficients for the different fields. In the    *! range of [0x0000-0xffff]. The array (always) has 65 elements:    *!
pike.git/src/modules/_WhiteFish/whitefish.c:546:    cutoff );       pop_n_elems( args );    wf_resultset_push( res );   }      static void f_do_query_or( INT32 args )   /*! @decl ResultSet do_query_or( array(string) words, @    *! array(int) field_coefficients, @    *! array(int) proximity_coefficients, @ +  *! int cutoff, @    *! function(string,int,int:string) blobfeeder)    *! @param words    *!    *! Arrays of word ids. Note that the order is significant for the    *! ranking.    *!    *! @param field_coefficients    *!    *! An array of ranking coefficients for the different fields. In the    *! range of [0x0000-0xffff]. The array (always) has 65 elements: