[Xapian-discuss] Omindex: what are the default numbered indexes?

xapian at catcons.co.uk xapian at catcons.co.uk
Tue Apr 26 13:12:33 BST 2011


Hello :-)

How to make Omega CGI remove duplicate documents from its query output?

Apparently scriptindex can be used to add numbered indexes via the
INDEX_SCRIPT as documented at http://xapian.org/docs/omega/scriptindex.html.


Using Omega to query an index built with omindex suggests there are some
default numbered indexes.  Setting &COLLAPSE=<index number> in the URL
(where <index number> was 1, 2 or 3) got a listing that seemed to have
duplicates suppressed, the same number of documents for each of the three
indexes.

Before rolling this out to the users it would be nice to know what these
default numbered indexes are and which, if any, can be safely used to
suppress duplicates.

Is there a way to interrogate the index database?  Are the default numbered
indexes described in the documentation?

Best

Charles




More information about the Xapian-discuss mailing list