On Dec 19, 2006, at 4:28 AM, Jens Kraemer wrote:

> On Mon, Dec 18, 2006 at 04:48:27PM -0500, John Bachir wrote:
>> With AAF I am seeing a strange situation, where a result set has 1
>> element, but the element is nil, or perhaps sometimes an empty array.
>> I realize this isn't much to go by, but the rest of my system, and
>> seemingly parallel queries, are working fine. Any suggestions are
>> much appreciated.
>
> this shouldn't happen. how do you use aaf ? any options you give
> to find_by_contents, i.e. sorting or active record conditions ?

I figured out my problem, and it was a silly one-- I was beginning my  
paging on element 1 instead of 0. Therefore, with queries with 1  
result, the total_hits is 1, but the result array has 0 elements.

John
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to