You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Karl Wright (JIRA)" <ji...@apache.org> on 2013/01/21 23:02:13 UTC
[jira] [Updated] (CONNECTORS-618) MySQL orders null values to the
front of the index, which breaks the stuffing query
[ https://issues.apache.org/jira/browse/CONNECTORS-618?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karl Wright updated CONNECTORS-618:
-----------------------------------
Fix Version/s: ManifoldCF 1.1
> MySQL orders null values to the front of the index, which breaks the stuffing query
> -----------------------------------------------------------------------------------
>
> Key: CONNECTORS-618
> URL: https://issues.apache.org/jira/browse/CONNECTORS-618
> Project: ManifoldCF
> Issue Type: Bug
> Components: Framework core
> Affects Versions: ManifoldCF 1.0.1, ManifoldCF 1.1
> Reporter: Karl Wright
> Assignee: Karl Wright
> Fix For: ManifoldCF 1.1
>
>
> MySQL attempts to read all null values from the docpriority index before it encounters anything useful. If there are a lot of records from other stopped jobs around, this makes ManifoldCF stuffing very slow.
> There is no way to cause MySQL to order null values in indexes differently, unfortunately. So the only options are:
> (1) Use a special value instead of NULL, which is problematic because this column contains a float, and therefore has rounding errors;
> (2) Use null, but order the index backwards in the case of MySQL. This implies that we need to actually change what we put in as a data value based on database type - doable but also definitely scary.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira