Method Search.do_query_and()
- Method do_query_and
ResultSetdo_query_and(array(string)words,array(int)field_coefficients,array(int)proximity_coefficients,intcutoff,function(string,int,int:string)blobfeeder)- Parameter
words Arrays of word ids. Note that the order is significant for the ranking.
- Parameter
field_coefficients An array of ranking coefficients for the different fields. In the range of [0x0000-0xffff]. The array (always) has 65 elements:
Array int0body
int1..64Special field 0..63.
- Parameter
proximity_coefficients An array of ranking coefficients for the different proximity categories. Always has 8 elements, in the range of [0x0000-0xffff].
Array int0spread: 0 (Perfect hit)
int1spread: 1-5
int2spread: 6-10
int3spread: 11-20
int4spread: 21-40
int5spread: 41-80
int6spread: 81-160
int7spread: 161-
- Parameter
blobfeeder This function returns a Pike string containing the word hits for a certain word. Call repeatedly until it returns
0.