FACET unsupported

2 views
Skip to first unread message

mark

unread,
Aug 16, 2008, 2:48:06 PM8/16/08
to xappy-...@googlegroups.com
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

Richard Boulton

unread,
Aug 20, 2008, 8:38:49 AM8/20/08
to xappy-...@googlegroups.com
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

Reply all
Reply to author
Forward
0 new messages