API EJ GetSearchResult

Returns search results for the Encounter Journal.
 id, stype, difficultyID, instanceID, encounterID, itemLink = EJ_GetSearchResult(index)
==Arguments==
:;index: - search result index, ascending from 1 to (). 
==Returns==
:;id: - ID of the matching loot/encounter/creature/section or instance.
:;stype: - result type; ascending from 0 for loot, encounter, creature, section, and instance respectively.
:;difficultyID: : DifficultyID
:;instanceID: : JournalInstance.ID
:;encounterID: : JournalEncounterID
:;itemLink: : ItemLink
==Details==
* For item results, id specifies encounter journal loot id (and additional information is available through ), stype is 0, while instanceID and encounterID specify which encounter the item drops from.
==Patch changes==
==See also==
*