search for: accentnormalisingitor

Displaying 5 results from an estimated 5 matches for "accentnormalisingitor".

2006 Apr 05
1
build error : xapian-core-0.9.4_svn6707 with UTF-8 patch
...ser_internal.Tpo -c queryparser_internal.cc -fPIC -DPIC -o .libs/queryparser_internal.o In file included from /usr/include/glib-2.0/glib/gquark.h:30, from /usr/include/glib-2.0/glib/gerror.h:24, from /usr/include/glib-2.0/glib/gunicode.h:25, from accentnormalisingitor.h:22, from /u1/olly/xapian-svn-snapshot/trunk/xapian/xapian-core/queryparser/queryparser.lemony:24: /usr/include/glib-2.0/glib/gtypes.h:30:24: glibconfig.h: No such file or directory In file included from /usr/include/glib-2.0/glib/gquark.h:30, from /usr/include/...
2006 Mar 03
1
xapian-0.9.4 queryparser build errors after applying utf-8 patch
...rser_internal.Tpo -c queryparser_internal.cc -fPIC -DPIC -o .libs/queryparser_internal.o In file included from /usr/include/glib-2.0/glib/gquark.h:30, from /usr/include/glib-2.0/glib/gerror.h:24, from /usr/include/glib-2.0/glib/gunicode.h:25, from accentnormalisingitor.h:22, from /u1/olly/xapian-svn-snapshot/tags/0.9.4/xapian/xapian-core/queryparser/queryparser.lemony:24: /usr/include/glib-2.0/glib/gtypes.h:30:24: glibconfig.h: No such file or directory In file included from /usr/include/glib-2.0/glib/gquark.h:30, from /usr/inclu...
2005 Dec 09
1
QueryParser and utf-8 strings
...utf-8 encoding) "bo?e" as input for parse_query, the resulting query is something like: Xapian::Query((boaa:(pos=1) OR e:(pos=2))) which makes the parse_query quite unusable for UTF-8 strings (or indeed, for any encoding other than ISO8859_1). I tried to disable the transliteration in accentnormalisingitor.h and modified common/utils.h to contain: inline bool C_isalpha(char ch) { using namespace Xapian::Internal; return (static_cast<unsigned char>(ch)>=0x80) || (is_tab[static_cast<unsigned char>(ch)] & (IS_UPPER|IS_LOWER)); } inline bool C_isalnum(char ch) { using nam...
2006 May 17
3
QueryParser lowercase / uppercase and stemming
Hello. There are several problems I couldn't find a solution. 1. QueryParser does not perform stemming I am working with PHP5 and use the xapian wrapper written by Daniel M?nard I build a query using parseQuery. Output of the parsed query shows that terms are not stemmed, although a stemmer is set ( see code snippet) # create a XapianDatabase object to search in $db = new
2006 Oct 30
1
QueryParser and prefixes
Hi all, My app uses prefixes for user-defined labels and directory names. Since these are case-sensitive, I chose XLABEL and XDIR respectively. Labels and directories may start with an upper-case, so a ":" is always inserted between the prefix and the term itself. These prefixes are mapped with add_boolean_prefix to "dir" and "label". Let's imagine I index a