search for: c_isupdig

Displaying 1 result from an estimated 1 matches for "c_isupdig".

2005 Jan 14
0
Term prefixes (was: Xapian Feedback)
...uppercase prefix. If there's an ':' after this, it is ignored (not part of the prefix or the value). * Xapian::QueryParser uses this code: if (prefix.length() > 1) { unsigned char back = prefix[prefix.length() - 1]; if (back != ':') { if (!C_isupper(back) || C_isupdig(term[0])) { prefix += ':'; } } } which doesn't match what the Omega indexers do especially well. If the prefix is a single character, or already has a ":", this doesn't do anything. For a multi-character prefix, this adds a ":" if the last...