Hi Patrick
Is that the entire query? If so, I'm surprised it works at all - the @geodist
attribute only exists when you supply a lat/lng pair, which you don't seem to
be doing…
Or are there other parts of the query that you've left out?
--
Pat
On 16/03/2012, at 11:37 AM, patrick99e99 wrote:
> So--- I am trying to do something simple:
>
> Post.facets(:with => { :@geodist => 0..100_000_000 } ).for
>
> I get:
> Sphinx Sphinx Daemon returned warning: index post_core: no such
> filter attribute '@geodist'
>
> ... If I ssh into my staging server, and try the same thing, I get a
> collection of records as I'd expect. BTW, I did a dump of my staging
> db and put it on localhost just to see if it was a data issue, and
> it's not. So my localhost and staging databases are identical. Also
> I did rake ts:rebuild to see if it just needed to be reindexed and
> that also did not work...
>
> my development.sphinx.conf and sphinx.yml files are:
> https://gist.github.com/02a03a3ee7fba1877e02
>
> -patrick
>
> --
> 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.
>
--
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.