XAPIAN_CJK_NGRAM can work
Olly Betts
olly at survex.com
Tue Feb 13 18:47:48 GMT 2018
On Tue, Feb 13, 2018 at 03:51:24PM +0800, Peter Zhao wrote:
> When I used "env XAPIAN_CJK_NGRAM=1 indexer-command" indexer Eprints
> again, it can search Chinese by character level. But it is not so good
> for words or phrase level.
You also need to set it at search time for it to work properly. If you
do that then words and phrases should work (there's test coverage for
both in the xapian-core testsuite).
Cheers,
Olly
More information about the Xapian-discuss
mailing list