Displaying 20 results from an estimated 500 matches similar to: "How to set environment variable XAPIAN_CJK_NGRAM?"
2018 Feb 13
1
XAPIAN_CJK_NGRAM can work
Olly,
That's very kind of you to help me. 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. ICU would be better than CJK. Hope ICU can use soon!
Best wishes,
Peter
At 2018-02-13 11:44:46, "Olly Betts" <olly at survex.com> wrote:
>On
2018 Feb 13
0
How to set environment variable XAPIAN_CJK_NGRAM?
On Tue, Feb 13, 2018 at 09:32:26AM +0800, Peter Zhao wrote:
> I installed Xapian 1.2.25 on Ubuntu 14.04. How to set environment
> variable XAPIAN_CJK_NGRAM? I'm a newbie to Xapian.
This is really a generic Unix question rather than a Xapian one, and the
answer rather depend how eprints gets run.
When you're running a program from the shell, you can use env in front
of the command
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
1
How to set environment variable XAPIAN_CJK_NGRAM?
Not precise to setting an environment variable prior to running a specific command, IIRC Debian does not utilise an /etc/profile.d directory, but the Debian-based Ubuntu does, so one could write for that directory .csh and .sh scripts, make them executable and the environment variables in those shell scripts will then be loaded when a specific user logs in.
> I installed Xapian 1.2.25 on
2011 Feb 07
4
http://xapian.org/download RHEL instructions
Hello :-)
The instructions regards Tim Brody's packages are incomplete in that
rpm-eprints-org-key is needed by rpm-eprints-org-xapian-5-1.noarch. The RPM
for rpm-eprints-org-key is at
http://rpm.eprints.org/rpm-eprints-org-key-1-1.noarch.rpm
Best
Charles
2010 Nov 22
5
perl bindings
Hi All,
When are the XS-based Perl bindings going to be deprecated in favour of
the SWIG bindings?
Please remove the dead RHEL RPMs from:
http://xapian.org/download
I've built RPMs for RHEL5/CentOS5 (with a different signing key) here:
http://rpm.eprints.org/xapian/5/
RHEL4 is eol and shouldn't be used.
For my own convenience I have written an RPM for the repository:
rpm -ivh
2018 Feb 13
0
How to set environment variable XAPIAN_CJK_NGRAM?
On Tue, Feb 13, 2018, at 02:32, Peter Zhao wrote:
> At 2018-02-12 20:00:02, xapian-discuss-request at lists.xapian.org wrote:
> >There's also a patch to add support for using libicu to find word
> >boundaries:
> >
> >https://github.com/xapian/xapian/pull/114
> >
> >That'll get merged soon hopefully (mostly we need to sort out how to
> >manage
2018 Feb 13
1
How to set environment variable XAPIAN_CJK_NGRAM?
The last Debian version I installed on a Desktop was 5.0.0 (released 14-02-09).
The provided link indicates the relevant change was initiated in 5.3.
> Debian uses /etc/profile.d too (and has done for nearly 8 years):
> https://bugs.debian.org/545756
2018 Feb 14
0
How to set environment variable XAPIAN_CJK_NGRAM?
>> The last Debian version I installed on a Desktop was 5.0.0 (released 14-02-09).
Haven't used a Debian version since 2011.
> That's actually version 5.3 of the base-files package, rather than
> version 5.3 of Debian (there isn't a version 5.3 of Debian).
Yes, that's correct.
Debian 7 being released after that distro's developers conceded to the integration of
2013 Aug 26
2
Perl interface isn't working in 1.2.x
On 08/25/2013 05:02 PM, Olly Betts wrote:
> So the simple fix is
> probably just to install the perl-Search-Xapian RPM instead.
Thanks, the Centos 6 repos don't have that rpm and the
http://xapian.org/download page seems to only cover the XS bindings, if
I am reading this correctly:
But I was able to remove the rpm packages and compile and install the
core and swig from source.
2013 Apr 20
4
warning: dl() [function.dl]: xapian: Unable to initialize module Module compiled with module API=20050922
I installed xapian core on Centos system. On execution, I get this error message:
"warning: dl() [function.dl]: xapian: Unable to initialize module Module compiled with module API=20050922, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=0, thread-safety=0 These options need to match in /usr/share/php/xapian.php on line 22."
PHP 5.2.16 (cli) (built: Dec 17 2010
2018 Feb 09
0
How to ensure thread-safety
On 8 Feb 2018, at 15:18, Kim Walisch <kim.walisch at gmail.com> wrote:
> I have read the concurrency webpage from the Xapian documentation:
>
> http://getting-started-with-xapian.readthedocs.io/en/latest/concepts/concurrency.html
>
> But it is still not clear to me how to ensure thread-safety when using
> libxapian (C++ API).
>
> 1) Can many thread search the
>
2018 Feb 08
7
How to ensure thread-safety
Hi,
I have read the concurrency webpage from the Xapian documentation:
http://getting-started-with-xapian.readthedocs.io/en/latest/concepts/concurrency.html
But it is still not clear to me how to ensure thread-safety when using
libxapian (C++ API). Usually when doing multi-threading many threads can
read the same variable concurrently without locking provided none of the
threads modifies the
2012 May 10
2
Xapian 1.2.10 released
I've uploaded Xapian 1.2.10 (including Search::Xapian 1.2.10.0).
Unsurprisingly, you can download it from:
http://xapian.org/download
You can read an overview of the release here:
http://trac.xapian.org/wiki/ReleaseOverview/1.2.10
The full lists of user-visible changes are linked to from there, and also
from the "[news]" links on the download page.
As always, if you encounter
2015 May 12
1
RPM for RHEL7
On Mon, May 11, 2015 at 06:18:04PM +0000, Marc Fromm wrote:
> Marc Fromm:
> > Will the current RPM packages work on a RHEL7 system? I am upgrading
> > from a RHEL5 system that uses the omega search tool.
>
> Since there have been no replies, I take it to mean that there is no
> compatible package for RHEL7, thus I must remove the omega search
> tool.
I don't use
2012 Aug 30
1
path analysis help
Hi there,
I searched R-help list with "path analysis" as keyword, and learn that
sem package can do it. However, I don't figure out a way to construct
the model for the path diagram as Fig. 1. in Huang et al. (2002)[1].
I try the following code:
huang.cor <- readMoments(diag=FALSE, names=c('x1', 'x2', 'x3', 'y'))
0.76
0.91 0.72
0.94 0.77 0.83
2012 May 03
1
Incorrect line nums displayed in full text search
Hi,
Could you please clarify a query regarding full text search in Xapain?
I have installed LXRng (cross-referencer), which internally uses Xapain for
text search. I am using CentOS 6 & have installed the following Xapian
packages:
$ yum list installed | grep -i xapian
perl-Search-Xapian.x86_64
1.2.9.0-1.el6 @rpm-eprints-org-xapian
perl-Search-Xapian-debuginfo.i686
2018 Jul 25
0
Search requests should ignore accents (C++ API)?
On Wed, Jul 25, 2018 at 04:33:58PM +0200, Kim Walisch wrote:
> I am using libxapian in a C++ project (hence I am using Xapian's C++ API)
> and some user has requested that search requests should ignore accents.
> E.g. when the user searches for "Herr Müller" he expects that "Herr Muller"
> is also a search hit.
Simply stripping accents can be a reasonable
2018 Oct 04
0
Indexing Chinese?
We are a using a fork of Xapian for this at the Cyrus IMAP project [1], using the Unicode library word segmentation for Chinese, Japanese and Korean [2]. We are using it at FastMail in production since about 2 years and are generally happy with it, the search results improved over using ngrams. There's a pull request open to merge the patch upstream [3], but it's to be decided how to best
2011 Aug 23
2
Xapian for RHEL/CentOS 6.x
Hi All,
I've built RPM packages for Xapian 1.2.7 for RHEL 6. Instructions:
su
rpm -ivh http://rpm.eprints.org/rpm-eprints-org-key-1-1.noarch.rpm
rpm -ivh
http://rpm.eprints.org/xapian/6/noarch/rpm-eprints-org-xapian-6-1.noarch.rpm
yum update
yum install xapian-omega xapian-bindings-{php,python,tcl8,perl,ruby}
perl-Search-Xapian is available for those not using the SWIG bindings.
I had to