I’m using sphinx to search our database. In this example, I’m querying two indexes; index1 and index2.
$res = $cl->Query( $query, "index1 index2" );
The results are good, but I can’t distinguish the resulting IDs from index1 and index2 from within the code. Is there a way I can make all IDs coming from index1 look like: in1_1, in1_600, in1_x… So I can distinguish between them?
Just setup a attribute that identifies which index it came from, see
http://sphinxsearch.com/forum/view.html?id=5653