vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Default Boolean Search Logic (https://vborg.vbsupport.ru/showthread.php?t=72353)

oldengine 12-01-2004 12:22 AM

Default Boolean Search Logic
 
Is there a way to change the search DEFAULT in both the regular and advanced search windows to AND logic? ie: this AND that.

My users aren't computer savvy and placing "AND OR NOT" in the search window most certainly escapes them, even with my posted instructions.

With 80,000 posts, an OR search brings up the world.

Andreas 12-01-2004 12:32 AM

Hmm ... i've got about 840.000 posts and my users don't complain about search function not working "properly"
(Well, I must admit - most of them don't even use id ;))

oldengine 12-01-2004 02:30 AM

Oh the search function works just fine as it stands, but if you couple your key words with AND in between them, you get much better results.

I'm sure this must be in the php code somewhere so that it could be changed from OR to AND. I'm used to Perl and I did this change on my old board. Most users just don't get it to change from "any" to "all" or in this case, to insert the "AND" in the key words.


All times are GMT. The time now is 06:32 AM.

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.01228 seconds
  • Memory Usage 1,708KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete