94 |
} |
} |
95 |
|
|
96 |
/* set the search phrase to the search condition object */ |
/* set the search phrase to the search condition object */ |
97 |
est_cond_set_phrase(cond, query); |
if (strlen(query) > 0) |
98 |
|
est_cond_set_phrase(cond, query); |
99 |
|
|
100 |
/* minimum valid attribute length is 10: @a STREQ a */ |
/* minimum valid attribute length is 10: @a STREQ a */ |
101 |
if (attr != NULL && strlen(attr) >= 10) { |
if (attr != NULL && strlen(attr) >= 10) { |
192 |
est_doc_delete(doc); |
est_doc_delete(doc); |
193 |
} else { |
} else { |
194 |
elog(INFO, "no result from estraier"); |
elog(INFO, "no result from estraier"); |
195 |
values[0] = NULL; |
values[0] = DatumGetCString( "" ); |
196 |
values[1] = NULL; |
values[1] = DatumGetCString( "" ); |
197 |
values[2] = NULL; |
values[2] = DatumGetCString( "" ); |
198 |
values[3] = NULL; |
values[3] = DatumGetCString( "" ); |
199 |
} |
} |
200 |
|
|
201 |
|
|