Unfortunately this is a limitation with the older releases of Sphinx - string 
sorting (ordinal) values are only calculated within the context of a single 
index - hence the core and delta indices for the model get different sorting 
values.

If you upgrade to Sphinx 2.x (and a recent release of Thinking Sphinx, if 
you've not done so in a good while), this should be fixed, as string attributes 
are sortable without any need for the ordinal values.

Cheers

-- 
Pat

On 09/03/2012, at 7:45 AM, kshet26 wrote:

> So I have a bunch of entries that are delta indexed.
> 
> Say I sort by entry ID. All of the entries will be ordered correctly.
> Now say I change something about the first record (other than the ID)
> and refresh the page. The changed record will now be located at the
> bottom! Example:
> 
> ID - Text
> 
> 1 - Some entry
> 2 - 2nd entry
> 3 - Another entry
> 
> change the first entry:
> 
> 2 - 2nd entry
> 3 - Another entry
> 1 - I got changed!
> 
> It's not until I reindex that the entries get placed back in the right
> order. Is this something that can be fixed?
> 
> -- 
> 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.

Reply via email to