Sort order

Sort order

Postby » Fri May 02, 2008 3:51 am

I'm currently getting results not sorted top to bottom. What do we need to do to order it top to bottom? Is it to just change:

Code: Select all
   Searchoptions.SortProximityX1 = 0
   Searchoptions.SortProximityY1 = 0
   Searchoptions.SortProximityX2 = 0
   Searchoptions.SortProximityY2 = "100%"
Posts: 370
Joined: Thu Feb 17, 2005 11:57 am

Postby » Fri May 02, 2008 4:29 am

Using those four options, define a region. The results will then be ordered by their closest proximity to that region.

If you want to sort relative to the top, then the region you define should be a zero-width line along the top of the image, defined as:

X1 = 0
Y1 = 0
X2 = 100%
Y2 = 0

However, note that page position is not taken into account. So, a result at the top of page 3 will be displayed before a result half-way down page 2.
Stephen Bottomley
Senior Product Specialist
Tel: +44 (0)1223 226012
Posts: 675
Joined: Mon Jul 11, 2005 8:31 am
Location: Cambridge

Return to Indicius General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest