Go Back   vb.org Archive > Community Discussions > Forum and Server Management
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-16-2008, 10:39 AM
crackers crackers is offline
 
Join Date: Oct 2008
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Some critical problems with Fulltext Search Engine

Hello,

I was satisfied from vb search engine to today when I saw that search doesn't find some polish words, eg. Piła (in a database as Pi³a). So I change a minimal word lengh in board and server configuration, I maked again Fulltext Index by VB CP and I updated a Counters againbecause I think that will help. Unfortunately no, this word and some other still was/were not searchable, but a lot of other 3-symbols words yes.

I camed into phpmyadmin and I saw that Title FullText in a thread table contain less records than my board have... This difference was comed to 20 000 records difference. Title FullText for post table contained a proper amount of records (same as amount of posts). I deleted manually a Title FullText in the thread table and after that was started bigger troubles...

Now FULLTEXT for both tables contain only... 1 record. Deleting and adding again fulltextes doesn't fix this problem - vb and mysql creates "castrated" fulltextes with only 1 record.

What is more on the other polish board on vbulletin, Piła word and other words which aren't searchable on my board, are searchable on that board. Maybe I have wrong configurated mysql server? And how can I proper add this fulltextes and "fix" castration problem? :P

MySQL charset: UTF-8 Unicode (utf8)
MySQL connection collation:: utf8_general_ci
Collation tables: latin1_swedish_ci

Maybe I write again Pila (that famous movie) word again in polish:

Please help me...

UPDATE: I see that my board is using the Vbulletin search engine now (because I see that word and postindex tables contain a lot of data), not fulltext, but in Admin CP > Search Type / Kind there is:

Your forum is currently using the Fulltext search engine.

If you wish to revert to the vBulletin search engine, please continue. You can leave the Fulltext indexes in place if you expect to return to the Fulltext search in the near future. Leaving them in place will cause added load on your system in the interim.
Remove Fulltext Indexes Yes / No
Reply With Quote
  #2  
Old 12-28-2008, 07:52 PM
crackers crackers is offline
 
Join Date: Oct 2008
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I found a solution for both problems :P

1) This is a new mysql versions' issue. Repairing huge tables with fulltext cause changing the Cardinality to value "1" but really FULLTEXT contain proper amount of records.

2) We have to set utf8_general_ci charset for tables: thread, post and search. All columns in this tables which have other charset have to changed to utf8_general_ci. Rest of tables can have default charset: latin1_swedish_ci
Reply With Quote
  #3  
Old 12-29-2008, 07:54 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mixing charactersets can lead to problems. All tables should be using the same.
Reply With Quote
Reply


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. The time now is 09:03 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03456 seconds
  • Memory Usage 2,168KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (3)postbit
  • (3)postbit_onlinestatus
  • (3)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete