[Xapian-discuss] Spelling and term prefixes

Simon Roe simon.roe at talusdesign.co.uk
Thu Jun 11 22:01:52 BST 2009


Hi,

According to http://xapian.org/docs/spelling.html, "Currently spelling
correction ignores prefixed terms.".

I'd like to know why this is, and if there is a workaround for it.

For example, if I index 2 distinct fields, with two prefixes ('title'
and 'body'), I'd like to be able to do (in python):

query = qp.parse_query(query_string, DEFAULT_SEARCH_FLAGS, 'title')

And have spelling work on it.  From the end users point of view, this
makes sense, but I understand it might be tricky tracking the
spellings for each prefix.

-- 
Help save the economy:
http://seriouschange.org.uk/

E: simon.roe at talusdesign.co.uk
M: 07742079314



More information about the Xapian-discuss mailing list