Hi.
We need to enable searching by FullTextSearch, but don't know how to do
"partial" word search, so if i have the phrase "The quick brown fox",
searching for "uic" should match.
(May be this question is for SqLite but SO does not help...)
My View:
[vistaContactos setMapBlock:^(NSDictionary *doc, CBLMapEmitBlock emit) {
if([doc[@"type"] isEqualToString:@"RuteroMedicos"] && [doc[
@"estado_contacto"] integerValue] != 4 && [doc[@"estado_contacto"]
integerValue] != 2){
NSString *datoTexto = [NSString stringWithFormat:@"%@ %@ %@
%@ %@", doc[@"codigo_contacto"], doc[@"nombres"], doc[@"apellidos"], doc[
@"nombre_especialidad"], doc[@"direccion_visita"]];
emit(CBLTextKey(datoTexto), doc);
}
} version:@"2.0"];
--
You received this message because you are subscribed to the Google Groups
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/mobile-couchbase/857bc63d-7fc7-4c9d-8ce2-12aacf4d8a5f%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.