Ryan,

Ryan Bigg wrote:
> I don't want to "prcoeed the manual indexation". Delta indexing should  
> do this for me. I run the *same* code in script/console production and  
> it runs the delta indexing and I am able to find it for its new name.

Are you still have stale index issues? I've run into a problem that might
be related.

See gist 93555 for a session in my production console:
http://gist.github.com/93555

I start with a product, EAN 9781857230765. I can find it via sphinx, and
a search for 9781857230764 returns no results.

I change the EAN of the product to 9781857230764, after which a search
for *either* EAN returns that product. I would expect a searc for EAN
9781857230765 to return no results.

This is running TS 1.1.6 (via a gem) and rails 2.3.2.

Pat - any thoughts? It's not a *huge* issue for me, since users can
still find a record they're expecting to find, but it is a little odd.

My initial thoughts were something to do with the sphinx_document_id
being incorrectly generated when the delta index code attempts to mark a
record in the core index as stale. This seems to be the case in my
development environment, but not production.

-- James Healy <jimmy-at-deefa-dot-com>  Sat, 11 Apr 2009 22:47:33 +1000

Attachment: signature.asc
Description: Digital signature

Reply via email to