I built secondary index for my data but when i try to test it using some sample data, i can’t get the correct result when querying from AQL. The result can be returned when querying with primary key. The issue might be similar to the one discussed here.
Can you provide steps to reproduce your problem? Sample record, number of records, number of nodes, secondary index on what bin, query… etc. Hard to figure out otherwise.