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/06/2008 10:44 *Reasons for the changes* *Attribute changes* - "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? See http://permalink.gmane.org/gmane.comp.java.sesat.kernel.devel/100" ------------------------------------------------------------------------------- *Comments* - By Jon Martin Solaas - 06/06/2008 10:44 --- "Problem parsing 1### prefix moved to http://sesat.no/scarab/issues/id/SKER4771"
_______________________________________________ Kernel-issues mailing list [email protected] http://sesat.no/mailman/listinfo/kernel-issues
