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

Reply
 
Thread Tools Display Modes
  #721  
Old 10-21-2009, 02:54 PM
UK Jimbo's Avatar
UK Jimbo UK Jimbo is offline
 
Join Date: Sep 2002
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Raun View Post
If I were to install it on both DBs would that work the same as copying the indexes?
There are two separate parts of using Sphinx.
  • Indexing (building up your index of data from the database)
  • Serving results with searchd

If you were able to serve results from either of the two machines then you'd be able to balance some of the load and also handle a failure of one of the instances.

To save processing time it should be quicker to index on one of the two machines and then copy the indexes across. The alternative is to have each of the machines create their own index which will use more processing power.
Reply With Quote
  #722  
Old 10-21-2009, 03:33 PM
Raun Raun is offline
 
Join Date: Mar 2009
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry for all the noob questions but I am a little new to this.

Once sphinx is installed on the DB and the config is setup how is it hooked into vb to serve the results there? Is that built into the config somewhere? Do I need to install anything else to get the results served?
Reply With Quote
  #723  
Old 10-29-2009, 09:46 PM
abuthabit abuthabit is offline
 
Join Date: Jul 2006
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello

sphinx installed in our forums and it works fine.. but when you type something that it's not included in the index for example " jkbljkhbjk" We got error as below

FireFox:
Content Encoding Error

The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.
* Please contact the website owners to inform them of this problem.

Safari

Safari can’t open the page.
Safari can’t open the page “http://www.****.com/ee/search.php?do=process”. The error is: “cannot decode raw data”

IE8
IE can't display this webpage

No errors in the log: lightty .. Mysql .. sphinx logs

sphinx/query.log :
[Fri Oct 30 01:36:31.808 2009] 0.000 sec [all/0/attr- 0 (0,500)] [threadtitles] jkbljkhbjk

Installation guide from the following post
https://vborg.vbsupport.ru/showpost....postcount=3877

How could I fix this issue?
Reply With Quote
  #724  
Old 10-30-2009, 06:49 AM
profanitytalker profanitytalker is offline
 
Join Date: Nov 2006
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can someone send me their edited search.php file? Mine won't work. I get confused by the last line of the edit...

Code:
Comment out "unset($datecut);" (-> "#unset($datecut);") so includes/sphinx.php can use it (for date range search). About line 12xx. You have to add a "#".
Where do I add the "#"?
Reply With Quote
  #725  
Old 10-31-2009, 09:35 AM
abuthabit abuthabit is offline
 
Join Date: Jul 2006
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by profanitytalker View Post
Can someone send me their edited search.php file? Mine won't work. I get confused by the last line of the edit...

Code:
Comment out "unset($datecut);" (-> "#unset($datecut);") so includes/sphinx.php can use it (for date range search). About line 12xx. You have to add a "#".
Where do I add the "#"?
This line:
unset($datecut);

add # before unset in the same line

so it should be like this

#unset($datecut);
Reply With Quote
  #726  
Old 11-13-2009, 09:53 PM
cobaku cobaku is offline
 
Join Date: Oct 2005
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This thing is too hard to set up. I have failed on my 10th try again.

ssh search works just fine

but search.php rejects to paste results to web !
i am guessing search_sphinx.php does not work on 3.8.4 which is my only guess

Anyone tried the new method on post #1 on 3.8.4 ? send search_sphinx.php pls.

Vbulletin Sphinx plugin is sold for 2000$
Reply With Quote
  #727  
Old 12-05-2009, 02:26 PM
ATForums ATForums is offline
 
Join Date: Oct 2009
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

Using this with great success - trying to allow 3 char words. I have changed sphinx to include 3 chars ("wii") and results are returned from the CLI, so Sphinx seems OK.

But, in VB, I always get a no results message when I search for "wii" - I changed the min search size in VB Options to 3, but it doesn't help.

Any ideas?

John

--------------- Added [DATE]1260032491[/DATE] at [TIME]1260032491[/TIME] ---------------

Quote:
Originally Posted by ATForums View Post
Hi,

Using this with great success - trying to allow 3 char words. I have changed sphinx to include 3 chars ("wii") and results are returned from the CLI, so Sphinx seems OK.

But, in VB, I always get a no results message when I search for "wii" - I changed the min search size in VB Options to 3, but it doesn't help.

Any ideas?

John
Err...stupid me....I needed to restart searchd....did that and now all is well...

Thought all I had to do was rebuild indexes...

John
Reply With Quote
  #728  
Old 12-10-2009, 07:23 PM
RedWingFan's Avatar
RedWingFan RedWingFan is offline
 
Join Date: Oct 2004
Location: Canton, MI USA
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sphinx 0.9.9-Stable is now out. I just compiled it on our dedicated box, killed and restarted searchd, and am rebuilding the indexes. So far, so good! I will have to wait until next month to see what new parameters I can work with to optimize it further (I'm under the gun for a paying job right now...gotta take the money while I can!)
Reply With Quote
  #729  
Old 12-22-2009, 07:15 PM
ivanp ivanp is offline
 
Join Date: Sep 2007
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any update for this plugin for vBulletin 4?
Reply With Quote
  #730  
Old 12-22-2009, 07:29 PM
columbusgeek's Avatar
columbusgeek columbusgeek is offline
 
Join Date: Sep 2007
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Is there any update for this plugin for vBulletin 4?
vB4 has been gold for less the 24 hours now. Are you serious?
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 01:53 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05135 seconds
  • Memory Usage 2,280KB
  • Queries Executed 14 (?)
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
  • (2)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete