2024-11-28 - SearchResult linkPath comparison setting

From Izara Wiki
Revision as of 04:44, 28 November 2024 by Sven the Barbarian (talk | contribs) (Created page with "Service - Search Results = Overview = Performs a comparison on the results of a SortResult request at this link step. Comparison can be >/</>=/<=/high/low/highLow and can result in multiple identifiers being saved into IntermediateIds table. = Idea = * LinkStep sets comparison property with value one of: >, <, >=, <=, high, low, highLow. * LinkStep sets comparisonValue property. * if LinkStep has comparison then it must also have aggregate (sortResult) settings...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Service - Search Results

Overview

Performs a comparison on the results of a SortResult request at this link step. Comparison can be >/</>=/<=/high/low/highLow and can result in multiple identifiers being saved into IntermediateIds table.

Idea

  • LinkStep sets comparison property with value one of: >, <, >=, <=, high, low, highLow.
  • LinkStep sets comparisonValue property.
  • if LinkStep has comparison then it must also have aggregate (sortResult) settings.
  • if comparison is >/</>=/<= flow is the same as combined+aggregate because results for all parent identifiers can be mixed together before performing the comparison, adding combined=true will make no difference to the results.
  • if comparison is high/low/highLow then must also consider combined setting, if combined=true then same as combined+aggregate. If combined=false then must perform comparison for each parent identifier (multiple SortResult requests and Comparison result for each gets saved into IntermediateId table).