Depends a bit on the type of entities. If you are using persistent entities or non persistent. Non persistent is not saved in the database and only exists in memory.
If you want to save and link the result to your search, you would have to iterate over the list and set the association to the search. Then when committing the list, you will be able to retrieve the associated data (eg via xpath).
If you don't need to store them and you are using np entities, you can do the same, but then you can only retrieve via association.