Hi, I want to do an extra filtering on the results of a search in the "hitsSection" template. The items are returned by the search in the expected "vector1" of the hitsSection template, and i want to enumerate them, and check each of them for a specific attribute value (which i cannot use as an initial searchparameter due to the fact this is an attribute that is not defined in the CTD).
so in my hitsection template i do the following: (vector1 is expected to have all search results)
<ISPECT>Iterator itVector1 = vector1.iterator()</ISPECT>
<ISPECT>while(itV3.hasNext())
<ISPECT>TagObject oThis = (TagObject)itV3.next()</ISPECT>
<!--- i want to do some check on attributes of oThis here --->
</ISPECT>
but i always get an error: Error: Invalid cast from "com.intraspect.search.globalindexer.common.SearchResult" to "com.intraspect.reports.TagObject".
any idea how i should "cast" the "oThis" object ?
thanks for your help,
Herman