Yeah, it was the first problem that out-of-the-ordinary... although  
I'm surprised the id causing the problem was so small (it's not  
anywhere close to hitting the maximum value of a 32-bit integer).  
Still, using normal ids is definitely the best way to go.

Good to know you've got it all sorted.

-- 
Pat

On 28/07/2009, at 6:44 PM, David wrote:

>
> I actually solved the hanging problem. I properly indexed my tables.
>
> I also can solve the first problem by changing the ids to reasonable
> numbers. Setting "sql_range_step: 10000000" does not seem to solve the
> problem.
>
> The id in question is 541702176.
>
> Thanks.
>
> On Jul 28, 9:46 am, David <[email protected]> wrote:
>> Hi guys,
>>
>> I guess this is not really a thinking sphinx problem but I am having
>> some trouble indexing my tables (when I run "rake ts:index").
>>
>> The first error I get is:
>>
>> ERROR: index 'user_core': sql_range_query: ERROR:  integer out of
>> range
>>  (DSN=pgsql://root:*...@localhost:5432/ 
>> robertson_scholars_development).
>>
>> The second error I get is that it hangs when indexing a model:
>>
>> distributed index 'assignment' can not be directly indexed; skipping.
>> indexing index 'custom_field_type_core'...
>>
>> It just freezes. There's only 20 records in the table.
>>
>> I know when I run "index .... --all" I get the same problems so that
>> leads me to believe something's up with sphinx and not TS. However,
>> any help on how I can debug these errors would be highly appreciated.
>>
>> Thanks.
>>
>> David
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/thinking-sphinx?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to