> Turning on > the relevant-queries=true flag in modes.xml will trigger > AbstractFastSearchCommand.collectRelevantQueries(), and this will > attempt to collect the synonym query, based on the fact that it is named > "FastQT_Synonym" and has messageID=8. However the query value string is > assumed to be more complex than just "oslo", and the parsing throws an > ArrayIndexOutOfBoundsException when it tries to parse and store the > value in a BasicWeightedSuggestion.
You know more than me already :-) this was magnusE's area i believe. I'd really appreciate you filling in javadoc with what you have found out! My preference is to see collectRelevantQueries fixed to work for the simple synonym query that is returned in your (geo expanding) case. If you open a bug in sesat "collectRelevantQueries cant handle simple synonym queries" and put a little information in it so i can reproduce the problem quickly, i'll try and get this fixed in the next few hours. ok? ~mck -- "One of the easiest ways to avoid many common problems is to stop using Microsoft software." Mark Ward, BBC | www.semb.wever.org | www.sesat.no | www.sesam.no | _______________________________________________ Kernel-development mailing list [email protected] http://sesat.no/mailman/listinfo/kernel-development
