mark | 16 Aug 20:48
Picon

FACET unsupported


hi
i am using xapian latest version from fedora 9 repository and the
latest xappy-0.5 version.
i am trying to add FACET field to the doc as in the
examples/introduction.html and i get this error below.

does xappy-0.5 version work with xapian 1.0.7?
thanks a lot!

    conn.add_field_action('category_name', xappy.FieldActions.FACET,
type='string')
  File "/home/mark/work/common/xappy/indexerconnection.py", line 177,
in add_field_action
    actions.add(self._field_mappings, fieldtype, **kwargs)
  File "/home/mark/work/common/xappy/fieldactions.py", line 308, in add
    raise errors.IndexerError("Action unsupported with this release of xapian")
xappy.errors.IndexerError: Action unsupported with this release of xapian

rpm -qa | grep xapian
xapian-core-1.0.7-1.fc9.i386
xapian-core-libs-1.0.7-1.fc9.i386
xapian-bindings-python-1.0.7-2.fc9.i386
xapian-core-devel-1.0.7-1.fc9.i386

emilmont | 17 Aug 02:11
Picon

Re: xappy causes deadlock with apache/mod_python


Xapian deadlocks with apache mod_python and mod_wsgi:
http://trac.xapian.org/ticket/185

On Jul 31, 11:26 am, nimrod <nsteinb...@...> wrote:
> Well, even just putting:
> import xappy
> caused apache to get stuck
> I used mod_wsgi 1.3 as it came from the ubuntu repo but had to compile
> mod_wsgi 2.1 myself. Maybe that made the difference.
>
> On Jul 31, 11:41 am, Richard Boulton <rich...@...>
> wrote:
>
> > Graham Dumpleton wrote:
> > > If you can provide a really simple hello world example independent of
> > > Django that demonstrates original problem that would help me, as could
> > > do some testing of my own.
>
> > That would also be most interesting to me, since I'd like to understand
> > why I havn't been able to reproduce the reported problems with even
> > mod_python...
>
> > --
> > Richard
Richard Boulton | 20 Aug 14:38

Re: FACET unsupported


mark wrote:
> hi
> i am using xapian latest version from fedora 9 repository and the
> latest xappy-0.5 version.
> i am trying to add FACET field to the doc as in the
> examples/introduction.html and i get this error below.
> 
> does xappy-0.5 version work with xapian 1.0.7?
> thanks a lot!

xappy-0.5 works with xapian 1.0.7, but not all features are available, 
as you have observed.  To use the FACET field action, you will need to 
use a xapian snapshot, which can be obtained by running the 
"libs/get_xapian.py" script, and compiling the xapian-core and 
xapian-bindings packages which this will download.

>     conn.add_field_action('category_name', xappy.FieldActions.FACET,
> type='string')
>   File "/home/mark/work/common/xappy/indexerconnection.py", line 177,
> in add_field_action
>     actions.add(self._field_mappings, fieldtype, **kwargs)
>   File "/home/mark/work/common/xappy/fieldactions.py", line 308, in add
>     raise errors.IndexerError("Action unsupported with this release of xapian")
> xappy.errors.IndexerError: Action unsupported with this release of xapian

--

-- 
Richard

(Continue reading)


Gmane