oscaruser@programmer.net
2006-Jul-26 02:28 UTC
[Xapian-discuss] Removing duplicate URL domains from omega.cgi search results?
Is there a way to remove duplicates URL domains appearing in the search results at the omega.cgi level? My index script has URL field as an unique key, but not in the domain. Wondering if this is possible from a clever omega script FMT approach or if it requires modifying the omega.cc? Thanks title : weight=3 index truncate=80 field=caption url : field=url hash boolean=Q unique=Q html : unhtml index truncate=250 field=sample -- ___________________________________________________ Play 100s of games for FREE! http://games.mail.com/
James Aylett
2006-Jul-26 14:01 UTC
[Xapian-discuss] Removing duplicate URL domains from omega.cgi search results?
On Tue, Jul 25, 2006 at 05:28:19PM -0800, oscaruser@programmer.net wrote:> Is there a way to remove duplicates URL domains appearing in the > search results at the omega.cgi level? My index script has URL field > as an unique key, but not in the domain. Wondering if this is > possible from a clever omega script FMT approach or if it requires > modifying the omega.cc?You can do this by setting a document value of the domain. See COLLAPSE in omega/docs/cgiparams.txt . J -- /--------------------------------------------------------------------------\ James Aylett xapian.org james@tartarus.org uncertaintydivision.org