Re: [FTS Xapian] Beta release

2019-01-14 Thread Joan Moreau via dovecot
sjo.net>> Date: 13/01/2019 21:39 (GMT+02:00) To: Stephan Bosch mailto:step...@rename-it.nl>> Cc: Aki Tuomi mailto:aki.tu...@open-xchange.com>> Subject: Re: [FTS Xapian] Beta release I used the skeleton from Aki : https://github.com/grosjo/fts-xapian However, when I try to act

Re: [FTS Xapian] Beta release

2019-01-14 Thread Joan Moreau via dovecot
It is indeed better is you use the issue tracker of github: https://github.com/grosjo/fts-xapian/issues I updated the Readme accordingly On 2019-01-14 14:24, Stephan Bosch wrote: Op 14-1-2019 om 13:40 schreef Aki Tuomi: Just to remind that now that there is a github repo for fts-xapian,

Re: [FTS Xapian] Beta release

2019-01-14 Thread Stephan Bosch
ilto:step...@rename-it.nl>> Cc: Aki Tuomi mailto:aki.tu...@open-xchange.com>> Subject: Re: [FTS Xapian] Beta release I used the skeleton from Aki : https://github.com/grosjo/fts-xapian However, 

Re: [FTS Xapian] Beta release

2019-01-14 Thread Stephan Bosch
Op 14-1-2019 om 13:29 schreef Odhiambo Washington: Testing a compile on FreeBSD. [...] During `make`, the following warning is generated: /bin/sh ../libtool  --tag=CXX   --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I/opt/dovecot2.3/include/dovecot  -I/usr/local/include

Re: [FTS Xapian] Beta release

2019-01-14 Thread Paul Hecker via dovecot
Hi Joan, opened an issue here: > But no, this does not fix the crash, sorry. Thanks, Paul > On 14. Jan 2019, at 13:58, Joan Moreau via dovecot > wrote: > > THanks Paul > > Can you try indexing

Re: [FTS Xapian] Beta release

2019-01-14 Thread Joan Moreau via dovecot
THanks Paul Can you try indexing the same emails with "full=10" for instance in the dovecot.conf ? On 2019-01-14 12:19, Paul Hecker via dovecot wrote: Thank you. Here is the stack trace with all debug symbols: On 14. Jan 2019, at 11:07, Stephan Bosch wrote: Op 14-1-2019 om 10:55 schreef

Re: [FTS Xapian] Beta release

2019-01-14 Thread Aki Tuomi
ules --disable-rpath >> --disable-static >> >> Regards, >> >> Stephan >> >> >> On 2019-01-13 21:01, Tuomi, Aki wrote: >> >> You copied your Makefile.am there. Stephan made >>

Re: [FTS Xapian] Beta release

2019-01-14 Thread Odhiambo Washington
efix=/usr --sysconfdir=/etc --libexecdir=/usr/lib >> --localstatedir=/var --mandir=/usr/share/man \ >> --infodir=/usr/share/info >> --with-moduledir=/usr/lib/dovecot/modules --disable-rpath --disable-static >> >> Regards, >> >> Stephan >>

Re: [FTS Xapian] Beta release

2019-01-14 Thread Paul Hecker via dovecot
Thank you. Here is the stack trace with all debug symbols: (gdb) bt #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 #1 0x7f88b6cc742a in __GI_abort () at abort.c:89 #2 0x7f88b5b240ad in __gnu_cxx::__verbose_terminate_handler() () from

Re: [FTS Xapian] Beta release

2019-01-14 Thread Stephan Bosch
Op 14-1-2019 om 10:55 schreef Paul Hecker via dovecot: OK, got it (my fault, as always, put the LimitCORE in the wrong line). Here is the stack trace: If you want to get rid of those "??" stack trace elements, you'll need to install debug symbols for the xapian library. It depends on your

Re: [FTS Xapian] Beta release

2019-01-14 Thread Paul Hecker via dovecot
OK, got it (my fault, as always, put the LimitCORE in the wrong line). Here is the stack trace:(gdb) bt #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 #1 0x7fe342b0942a in __GI_abort () at abort.c:89 #2 0x7fe3419660ad in

Re: [FTS Xapian] Beta release

2019-01-14 Thread Joan Moreau via dovecot
Difficult to figure out without a coredump + gdb I have also battled quite a lot to make sure dovecot can core dump on my Archlinux servers. I remember that the key point was putting FS.SUID_DUMPABLE=2 in /etc/sysctl.d/ conf files, LIMITCORE=INFINITY in

Re: [FTS Xapian] Beta release

2019-01-14 Thread Paul Hecker via dovecot
gt; >>>> For Debian I use the following configure command: >>>> >>>> ./configure --with-ldap=plugin --with-ssl=openssl --with-sql=plugin >>>> --with-lua=plugin --with-pgsql --with-mysql --with-sqlite \ >>>> --with-gssapi=pl

Re: [FTS Xapian] Beta release

2019-01-14 Thread Paul Hecker via dovecot
Here it is: Jan 14 09:26:08 mail dovecot: indexer-worker(p...@iwascoding.com )<16777>: Debug: Effective uid=8, gid=8, home=/var/spool/mail/iwascoding/paul Jan 14 09:26:08 mail dovecot: indexer-worker(p...@iwascoding.com )<16777>: Debug:

Re: [FTS Xapian] Beta release

2019-01-14 Thread Joan Moreau via dovecot
n Moreau Date: 13/01/2019 21:39 (GMT+02:00) To: Stephan Bosch Cc: Aki Tuomi Subject: Re: [FTS Xapian] Beta release I used the skeleton from Aki : https://github.com/grosjo/fts-xapian However, when I try to act as a visitor, I reach teh follwoing error: # autoreconf -vi autoreconf: Entering di

Re: [FTS Xapian] Beta release

2019-01-14 Thread Paul Hecker via dovecot
Stephan >> >>> >>> On 2019-01-13 21:01, Tuomi, Aki wrote: >>> >>>> You copied your Makefile.am there. Stephan made you a working version, can >>>> you try that? >>>> (sorry for dup) >>>> Aki >>>

Re: [FTS Xapian] Beta release

2019-01-14 Thread Joan Moreau via dovecot
ile.am there. Stephan made you a working version, can you try that? (sorry for dup) Aki Original message From: Joan Moreau Date: 13/01/2019 21:39 (GMT+02:00) To: Stephan Bosch Cc: Aki Tuomi Subject: Re: [FTS Xapian] Beta release I used the skeleton from Aki : https://github.com/gros

Re: [FTS Xapian] Beta release

2019-01-13 Thread Odhiambo Washington
path --disable-static > > Regards, > > Stephan > > > On 2019-01-13 21:01, Tuomi, Aki wrote: > > You copied your Makefile.am there. Stephan made you a working version, can > you try that? > (sorry for dup) > Aki > Original message > From: Joan

Re: [FTS Xapian] Beta release

2019-01-13 Thread Joan Moreau via dovecot
9-01-13 21:01, Tuomi, Aki wrote: You copied your Makefile.am there. Stephan made you a working version, can you try that? (sorry for dup) Aki Original message From: Joan Moreau Date: 13/01/2019 21:39 (GMT+02:00) To: Stephan Bosch Cc: Aki Tuomi Subject: Re: [FTS Xapian]

Re: [FTS Xapian] Beta release

2019-01-13 Thread Stephan Bosch
ou try that? (sorry for dup) Aki Original message From: Joan Moreau Date: 13/01/2019 21:39 (GMT+02:00) To: Stephan Bosch Cc: Aki Tuomi Subject: Re: [FTS Xapian] Beta release I used the skeleton from Aki : https://github.com/grosjo/fts-xapian However, when I try to act as a

Re: [FTS Xapian] Beta release

2019-01-13 Thread Joan Moreau via dovecot
+02:00) To: Stephan Bosch Cc: Aki Tuomi Subject: Re: [FTS Xapian] Beta release I used the skeleton from Aki : https://github.com/grosjo/fts-xapian However, when I try to act as a visitor, I reach teh follwoing error: # autoreconf -vi autoreconf: Entering directory `.' autoreconf: configure.a

Re: [FTS Xapian] Beta release

2019-01-13 Thread Joan Moreau via dovecot
te: You copied your Makefile.am there. Stephan made you a working version, can you try that? (sorry for dup) Aki Original message From: Joan Moreau Date: 13/01/2019 21:39 (GMT+02:00) To: Stephan Bosch Cc: Aki Tuomi Subject: Re: [FTS Xapian] Beta release I used the skele

Re: [FTS Xapian] Beta release

2019-01-13 Thread Tuomi, Aki
You copied your Makefile.am there. Stephan made you a working version, can you try that? (sorry for dup) Aki Original message From: Joan Moreau Date: 13/01/2019 21:39 (GMT+02:00) To: Stephan Bosch Cc: Aki Tuomi Subject: Re: [FTS Xapian] Beta release I used the skeleton

Re: [FTS Xapian] Beta release

2019-01-13 Thread Joan Moreau via dovecot
I get the following error: # autoreconf -vi autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal -I m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'.

Re: [FTS Xapian] Beta release

2019-01-13 Thread Joan Moreau via dovecot
Please kindly check https://github.com/grosjo/fts-xapian On 2019-01-13 20:11, Aki Tuomi wrote: If you had looked at what I sent, you'd seen it's quite different from what you sent. Anyways, put the contents of skeleton.tar.gz and ./src/plugins/fts-xapian/fts-xapian-plugin.h

Re: [FTS Xapian] Beta release

2019-01-13 Thread Aki Tuomi
If you had looked at what I sent, you'd seen it's quite different from what you sent. Anyways, put the contents of skeleton.tar.gz and ./src/plugins/fts-xapian/fts-xapian-plugin.h ./src/plugins/fts-xapian/fts-backend-xapian.cpp ./src/plugins/fts-xapian/Makefile.am

Re: [FTS Xapian] Beta release

2019-01-13 Thread Joan Moreau via dovecot
THis is already what I send earlier (see : dovecot-xapian-1.0b2.tar.gz [1] ) What I would need is the files so one can download (git) it, and type some command (make ?) to compile it and place it in the right forlder (/usr/lib/dovecot/ or whatever is configured in the installed dovecot, which

Re: [FTS Xapian] Beta release

2019-01-13 Thread Aki Tuomi
You need the fts-xapian.c mostly. All the rest comes from automake (unless you decide to use cmake or something else). I have attached you a skeleton plugin, which should work against dovecot master. If you experience problems with the skeleton, let us know. Aki > On 13 January 2019 at 20:23

Re: [FTS Xapian] Beta release

2019-01-13 Thread Joan Moreau via dovecot
Ok for having a link on the FTS page. PLease clarify what files are necessary to package it as a separate package On 2019-01-13 19:03, Aki Tuomi wrote: Yes, from compiling point of view it is done. Unfortunately what is not done is all the other work involved, such as fixing all the

Re: [FTS Xapian] Beta release

2019-01-13 Thread Aki Tuomi
Yes, from compiling point of view it is done. Unfortunately what is not done is all the other work involved, such as fixing all the inevitable bugs it has and maintaining it. We do not want, at this moment, take up maintaining and developing yet another FTS plugin as we have plenty of things

Re: [FTS Xapian] Beta release

2019-01-13 Thread Joan Moreau via dovecot
The only point here of this fts-xapian is to get rid of solr (because it is just a nightmare to setup) and squat (because it is considere obsolete). I already sent the changed in configure.ac, makefile.am, etc.. in order to include it in the dovecot, and it compiles properly The only

Re: [FTS Xapian] Beta release

2019-01-13 Thread Aki Tuomi
> On 13 January 2019 at 17:05 Joan Moreau via dovecot > wrote: > > > Hi > > Please find attached the beta release of FTS Xapian, with the objective > to replace fts_squat that is being deprecated. > > Configuration is exactly the same as for fts_squat: > > plugin { > > plugin = fts

[FTS Xapian] Beta release

2019-01-13 Thread Joan Moreau via dovecot
Hi Please find attached the beta release of FTS Xapian, with the objective to replace fts_squat that is being deprecated. Configuration is exactly the same as for fts_squat: plugin { plugin = fts fts_xapian (...) fts = xapian fts_autoindex = yes fts_enforced = yes fts_xapian = partial=2