search for: flag_cjk_ngram

Displaying 2 results from an estimated 2 matches for "flag_cjk_ngram".

2018 Feb 10
1
How to let Xapian support Chinese searching
I installed Eprints, but it can not search Chinese. EPRINTS use Xapian to index data, how to let Xapian support CHINESE searching? Thanks a lot!
2018 Feb 13
2
How to set environment variable XAPIAN_CJK_NGRAM?
...10, 2018 at 08:26:52PM +0800, Peter Zhao wrote: >> I installed Eprints, but it can not search Chinese. EPRINTS use >> Xapian to index data, how to let Xapian support CHINESE searching? > >Current releases support indexing ngrams for CJK text - to enable this >you need to pass FLAG_CJK_NGRAM to TermGenerator when indexing and to >QueryParser when searching. > >You can also activate this flag without code changes by setting >environment variable XAPIAN_CJK_NGRAM to a non-empty value (don't forget >to export it if you're setting it via the shell). > >There...