Ticket #49 (new enhancement)

Opened 4 years ago

Last modified 6 months ago

Ensure OP_ELITE_SET matches at least some document

Reported by: olly Owned by: nobody
Priority: lowest Milestone:
Component: Library API Version: SVN trunk
Severity: minor Keywords:
Cc: Blocked By:
Operating System: All Blocking:

Description

OP_ELITE_SET should never select groups of terms which don't match any documents. (Currently, will exclude those for which termfreq_max() is 0, but this may still result in a bad choice)

Change History

Changed 4 years ago by olly

  • status changed from new to assigned
  • severity changed from blocker to normal

Changed 4 years ago by olly

  • severity changed from normal to enhancement

Since OP_ELITE_SET performs an OR on the subqueries it selects, this can only be a problem if the selected subqueries are all something like 'a AND b' or 'a NOT b' or NEAR/PHRASE operations, and none of these match anything.

This is pretty obscure, and I'm not sure what the solution is. Perhaps read the first posting from each subquery before picking the elite set to determine if any are in reality empty?

Changed 4 years ago by olly

  • priority changed from high to lowest
  • rep_platform changed from Other to All
  • version changed from other to CVS HEAD
  • component changed from other to Library API
  • op_sys changed from other to All

Changed 19 months ago by olly

  • owner changed from olly to nobody
  • status changed from assigned to new

Changed 19 months ago by trac

  • platform set to All
Note: See TracTickets for help on using tickets.