# ThinkingSphinx Indexing Problem

**URL:** <https://www.ruby-forum.com/t/thinkingsphinx-indexing-problem/145798>\
**Category:** Rails\
**Created:** [August 14, 2008, 2:12am UTC](https://www.ruby-forum.com/t/thinkingsphinx-indexing-problem/145798 "2008-08-14T02:12:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Avishai](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/bbe5ce/32.png) [@Avishai](https://www.ruby-forum.com/u/Avishai)\
**Post date:** [August 14, 2008, 2:12am UTC](https://www.ruby-forum.com/t/thinkingsphinx-indexing-problem/145798/1 "2008-08-14T02:12:30Z")

</div>

Hi, I’ve just installed Thinking Sphinx per the Railscasts  
instructions, and everything seems to have installed fine, but I can’t  
seem to get the indexer task to run:

I have a model called Place:

define\_index do  
indexes :name, :sortable =\> true  
indexes description  
has lat, lng, updated\_at, created\_at  
end

But, when I try to index I get this:  
$ rake thinking\_sphinx:index  
indexer --config /Users/avishai/nyapp/config/development.sphinx.conf –  
all  
Sphinx 0.9.8-release (r1371)  
Copyright © 2001-2008, Andrew Aksyonoff

using config file ‘/Users/avishai/myapp/config/  
development.sphinx.conf’…  
indexing index ‘place\_core’…  
ERROR: index ‘place\_core’: sql\_query\_range: min\_id=‘0’: must be  
positive 32/64-bit unsigned integer.  
total 0 docs, 0 bytes  
total 0.010 sec, 0.00 bytes/sec, 0.00 docs/sec  
distributed index ‘place’ can not be directly indexed; skipping.

Anybody have any idea why this isn’t working as advertised?

Thanks!

Avishai
