Activity report on *[JIRA] Bug SKER4766 - Collection relevant query with no weight from Fast fails*
Scarab Link: http://sesat.no/scarab/issues/id/SKER4766 Module: Sesat> Kernel Activity generated by Jon Martin Solaas ([EMAIL PROTECTED]) at 06/04/2008 11:55 *Reasons for the changes* ** Issue created ** ------------------------------------------------------------------------------- *Attribute changes* - "Priority" set to "None" - "Status" set to "Unconfirmed" - "Version" set to "2.17" - "Severity" set to "Normal" - "Component" set to "Code - Search Command - Fast" - "Description" set to: "When adding the parameter relevant-queries=true to default-catalog-command in modes.xml AbstractSimpleFastSearchCommand.collectRelevantQueries will be triggered. This will look in the suggested querytransformations from Fast with name=FastQT_Synonym and messageID=8 and try to parse the query value as a BasicWeightedSuggestion. However, Fast will return transformed queries that are not weighted, but still fulfill the filtering criteria name + messageID. An example would be to search for "marina torshov". Fast will suggest a synonym query "oslo", which is not complex, probably because the syn.structure is hierarchical and there is only one parent syn, and hence no weight is assigned -this is my assumption only-. However, the parsing expect the syn value and weight to be encoded within some particular syntax, and when it is not the method will just throw an ArrayIndexOutOfBoundsException. Q: When the weight is omitted, there is only one suggestion, and no comparison of weights can be performed. Therefore one could assign a dummy/nil-weight to the suggestion in this case? " - "Summary" set to "Collection relevant query with no weight from Fast fails" -------------------------------------------------------------------------------
_______________________________________________ Kernel-issues mailing list [email protected] http://sesat.no/mailman/listinfo/kernel-issues
