|
Re: non-zero result set, but nil element: msg#00108lang.ruby.ferret.general
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 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: FerretDonors page added to wiki: 00108, Jens Kraemer |
|---|---|
| Next by Date: | [patch] Re: Strange error. Index corrupt on production server: 00108, William Morgan |
| Previous by Thread: | Re: non-zero result set, but nil elementi: 00108, Jens Kraemer |
| Next by Thread: | I'm back: 00108, David Balmain |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |