Sorry for the somewhat OT thread here, but I'm using Riddle with
Sinatra, trying to get GeoDist working, and I'm thoroughly confused.
I can get Riddle up and running, and do basic :extended match_mode
searches. It seems I need to use PH_SORT_EXPR for GeoDist, but I
can't seem to get it working.
Here's my terminal session:
> client.sort_mode = :expr
> client.query "hey"
=> {:status=>1, :attributes=>{}, :matches=>[], :fields=>
[], :error=>"index test2: syntax error, unexpected $end near
''", :words=>{}, :attribute_names=>[]}
Am I doing something wrong? Any kind of query causes the same error
after setting sort_mode to :expr.
Any help is greatly appreciated.
--
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.