Hi ,

I have a very complecated view to search data from. The view joins 6
tables, incuding inner and outter joins. Triggers are used to update
data to help the join when data in the 6 tables are updated. As a
result, the view is very complicated.

I used thining_sphix to build index and searched on the view, it
worked pretty nice. But since it’s a view, I can not add column
“delta” into it and can not use the delta index as a result. But I
really need to use delta index as my data updates quite often.

The solution I can think of now is to use a table to replace the view.
And update data into the new table when any of the 6 related tables
are updated. Therefore I have to extract the logic in the view and
triggers and implement it somewhere. The side effect of this solution
is that synchronize the data in the new table and the other six is
quite messy.

Any suggestion will be appreciated. Thank you very much.

--~--~---------~--~----~------------~-------~--~----~
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