[Xapian-discuss] Facets with Multiple Values

Ryan Bates ryan at railscasts.com
Tue Jun 14 19:59:38 BST 2011


I'm trying to determine the best way to index facets with multiple
values. For example, let's say we have several books and we want an
Author facet where one can filter the books by the author. The problem
is each book can have multiple authors. Is there a way to index
multiple author names into a single value slot for each book?

I see there is a Xapian::StringListSerialiser class that appears to be
what I want, but I don't see this class in the Ruby bindings (I'm
using Xapian 1.2.2). If this is not available in the Ruby bindings,
are there any work-around solutions to this problem?

Ryan



More information about the Xapian-discuss mailing list