Mercurial > p > roundup > code
diff doc/installation.txt @ 5108:67fad01d2009
issue2550653: xapian search, stemming is not working
This is a partial fix for the issue. It does make stemming work
(so searching for silent will also return docs with silently in
them). However to do this we need to lowercase the text so the
porter stemmer will work. This means capitalization is not
preserved.
Tests in test/test_indexer for xapian backend all pass.
David Wolever (wolever) did the work.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 27 Jun 2016 22:10:45 -0400 |
| parents | e74c3611b138 |
| children | c54720396f40 |
line wrap: on
line diff
--- a/doc/installation.txt Mon Jun 27 18:50:39 2016 -0400 +++ b/doc/installation.txt Mon Jun 27 22:10:45 2016 -0400 @@ -67,6 +67,11 @@ Roundup requires Xapian 1.0.0 or newer. + Note that capitalization is not preserved by the Xapian search. + This is required to make the porter stemmer work so that searching + for silent also returns documents with the word silently. Note that + the current stemming implementation is designed for English. + Whoosh full-text indexer The Whoosh_ full-text indexer is also supported and will be used by default if it is available (and Xapian is not installed). This is
