[Xapian-discuss] Indexing and searching on a custom data type
James Aylett
james-xapian at tartarus.org
Wed Jul 8 11:53:26 BST 2009
On Wed, Jul 08, 2009 at 11:08:12AM +0200, Thomas Chambon wrote:
> I'm working with Xapian (combined to acts_as_xapian on ruby on rails)
> and Postgresql. I implemented a custom data type on postgresql. I would
> like to index a table using that custom type as a term with xapian and
> being able to process searches and sorting with that term.
I think you should just be able to add (some suitable representation
of it) as a term, and probably also as a document value (for
sorting). Without knowing more (such as what the custom data type is,
and how you expect to search on it) I can't recommend anything more
detailed.
J
--
James Aylett
talktorex.co.uk - xapian.org - uncertaintydivision.org
More information about the Xapian-discuss
mailing list