Re: XAPIAN_CJK_NGRAM can work

Olly Betts <[email protected]>
Newsgroups gmane.comp.search.xapian.general
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.