vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=127868

ubuntu-geek 06 Oct 2006 14:14

Yeah I have yet to find a better forum solution. And at this point with Threads: 269,003, Posts: 1,588,154, Members: 175,576 I am not going to try and move it. We average like 4,000 users online at once during peaks and alot of that is search traffic.

So cheers orban for finding and sharing this search solution. I was about to implement a google search wrap in the forum template. (ghetto style)

orban 06 Oct 2006 14:17

I wish google offered a service to crawl your website in a closed environment for $ and then a search form. Like that google search appliance (?) but as an online service.

Oh well :)

ubuntu-geek 06 Oct 2006 14:24

Shrug yep.. Gee I knew people would complain about three letter searches... :)

orban 06 Oct 2006 14:26

Haha ;)

ubuntu-geek 06 Oct 2006 14:55

Any thoughts on adding the option to display results as threads/posts?

orban 06 Oct 2006 15:05

Well let's have a look:

Search posts and display as threads:

Let's say somebody searches for "book" and returns 150.000 posts. Those 150.000 posts are in 40.000 threads. If you find any way to fetch all 150.000 threadids, sort them and make a unique list of them, then let me know, but I really have no idea how to do that. I also think that this is a major problem of the vB search...(there are queries with several tens of thousands threadids in them).

Search threads and display as posts

I assume that "posts" mean "first posts in a thread"? You can probably add "firstpostid" as a new group for the thread index and then grab those...

Curse vB for adding those options :(

ubuntu-geek 06 Oct 2006 15:10

Quote:

Originally Posted by orban
Well let's have a look:

Search posts and display as threads:

Let's say somebody searches for "book" and returns 150.000 posts. Those 150.000 posts are in 40.000 threads. If you find any way to fetch all 150.000 threadids, sort them and make a unique list of them, then let me know, but I really have no idea how to do that. I also think that this is a major problem of the vB search...(there are queries with several tens of thousands threadids in them).

Search threads and display as posts

I assume that "posts" mean "first posts in a thread"? You can probably add "firstpostid" as a new group for the thread index and then grab those...

Curse vB for adding those options :(

Gotcha now I understand.. The users will just have to adjust.. Easy as that..

orban 06 Oct 2006 15:28

I don't understand anyway what exactly the problem is....

If you are searching in thread titles, then the search returns a list of threads.

If you are searching in posts, then the search returns a list of posts.

ubuntu-geek 06 Oct 2006 15:30

Quote:

Originally Posted by orban
I don't understand anyway what exactly the problem is....

If you are searching in thread titles, then the search returns a list of threads.

If you are searching in posts, then the search returns a list of posts.

Its all good :)

orban 06 Oct 2006 15:56

Quote:

Originally Posted by ubuntu-geek
Its all good :)

No I meant why vB implemented this behaviour. Not you're asking for it. My english ahah :confused:

ubuntu-geek 06 Oct 2006 16:10

Hmm got an interesting issue going on. When doing a search from forumdisplay i get this..

Warning: assert(): Assertion failed in /includes/sphinxapi.php on line 249
Query failed: searchd error: invalid or truncated request.

ubuntu-geek 06 Oct 2006 16:26

Looking at the html source of the forumdisplay it looks like its getting set..

<input type="hidden" name="forumchoice[]" value="73" />

ubuntu-geek 06 Oct 2006 16:32

Yeah.. exactly what I have.

orban 06 Oct 2006 16:36

Add a "if ($vbulletin->userinfo['userid'] == 1) echo $forumchoice;" somewhere....to check if the value gets set...dunno... :(

ubuntu-geek 06 Oct 2006 16:55

Yeah its getting set.. hrm... What version of php do you use?

137
Warning: assert(): Assertion failed in /includes/sphinxapi.php on line 249
Query failed: searchd error: invalid or truncated request.


All times are GMT. The time now is 21:30.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.