Go Back   CodingForums.com > :: Server side development > MySQL

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-08-2006, 03:10 PM   PM User | #1
bauhsoj
Regular Coder

 
Join Date: Jan 2005
Posts: 470
Thanks: 3
Thanked 0 Times in 0 Posts
bauhsoj is an unknown quantity at this point
Results undesirably randomized in fulltext search

I am running a simple query that performs a fulltext search and sorts by score. Everything has been running fine for months now when suddenly I am seeing random results returned in some cases, in others I see less results returned than should be, and in others I see results that are the same but randomly sorted.

I tried copying the database over to another server and ran the exact same fulltext query there. The results that come back are consistantly what is to be expected on this other server.

What could cause such differing results with the same database and query on two separate machines with the same setup?
bauhsoj is offline   Reply With Quote
Old 08-08-2006, 04:32 PM   PM User | #2
Kid Charming
Regular Coder

 
Join Date: Jun 2005
Posts: 804
Thanks: 0
Thanked 0 Times in 0 Posts
Kid Charming is an unknown quantity at this point
Different collations could cause different sorts. Are you getting these differences in direct queries or via a script? Can you post the query?
Kid Charming is offline   Reply With Quote
Old 08-09-2006, 03:16 PM   PM User | #3
bauhsoj
Regular Coder

 
Join Date: Jan 2005
Posts: 470
Thanks: 3
Thanked 0 Times in 0 Posts
bauhsoj is an unknown quantity at this point
Turns out the options file wasn't transferred during a recent server move. It simply lacked the correct settings to agree with the index that had already been built.

Works fine now.
bauhsoj is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:25 PM.


Advertisement
Log in to turn off these ads.