Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 SQL Server full-text searching
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 6

-gary
Development Team Member

406 Posts

Posted - 18 August 2004 :  13:10:15  Show Profile
Updated the link in the original message to download version B. Only the search_mssqlft.asp file has changed.

Changes:

  • Script checks that there are search terms remaining after removing noise words

  • If no terms remain and user is not specified, then graceful error

  • If no terms remain and user is specified, then continue search without terms



If you still receive an error about only ignored words, make sure the strNoiseWords string contains all of your servers ignored words.

KawiForums.com


Go to Top of Page

Jeepaholic
Average Member

USA
697 Posts

Posted - 18 August 2004 :  19:39:57  Show Profile  Visit Jeepaholic's Homepage
BEAUUUU-tee-ful!

Thanks, Gary...

Al Bsharah
Aholics.com

Jeepaholics Anonymous
Broncoholics Anonymous
Network Insight
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20579 Posts

Posted - 25 August 2004 :  18:31:17  Show Profile  Visit HuwR's Homepage
quote:
Originally posted by HuwR

well, actually the mod works with all databases from what I can tell, but if you are using Access it just uses the existing search code.

I am going to install the code here later today so everyone can see the improvement.



The code has been running here for about a week, I have not implemented "full text" but you can still see a massive improvement in the search times. (for those that bother to use it )
Go to Top of Page

nickw
Junior Member

Ireland
193 Posts

Posted - 26 August 2004 :  15:22:49  Show Profile
So... how do I add "Noise words"? Please ;)

I assume edit the search_mysqlft.asp and....?

Nick
Go to Top of Page

-gary
Development Team Member

406 Posts

Posted - 26 August 2004 :  15:33:46  Show Profile
Edit the search.asp file, line 49.

KawiForums.com


Go to Top of Page

nickw
Junior Member

Ireland
193 Posts

Posted - 26 August 2004 :  16:07:42  Show Profile
Also.. if I may... I cannot seem to index any of the tables in SQL. Something about Keys :) Appreciate anyones help.

Thanks,

Nick
Go to Top of Page

nickw
Junior Member

Ireland
193 Posts

Posted - 26 August 2004 :  16:18:28  Show Profile
quote:
Originally posted by -gary

Edit the search.asp file, line 49.



Sorry, that was totally obvious :)

Anyone on the full text issue... I have looked at the page mentioned on creating Full Text indexes, but I get an error on the tables when I try to add them. That error is:


The selected table has no
unique single column index on a column that does not allow NULLS.

Database: ForumDB

Table: [dbo].[FORUM_TOPICS]


Nick
Go to Top of Page

-gary
Development Team Member

406 Posts

Posted - 27 August 2004 :  10:46:14  Show Profile

  • Go to the SQL Enterprise manager and right-click on forum_topics.

  • Select "Design Table".

  • Click the "Manage Indexes/Keys" button or right-click in the open space to the right of the columns and select "Indexes/Keys".

  • Click "New".

  • Under "Column name", select TOPIC_ID.

  • Check the "Create UNIQUE" box.

  • Check the "Index" radio.

  • Click "Close".

  • Do the same for the FORUM_REPLY table on the REPLY_ID column



Or run the commands in the CreateIndexs.sql file I've added to the Version C link in the original topic above.

KawiForums.com


Go to Top of Page

nickw
Junior Member

Ireland
193 Posts

Posted - 27 August 2004 :  13:44:08  Show Profile
Thank you! Worked like a charm. WOW, it is fast :)

Nick
Go to Top of Page

nickw
Junior Member

Ireland
193 Posts

Posted - 27 August 2004 :  13:53:59  Show Profile
One last recommendation.

The Forum_A_Topics and Forum_A_Replies need the same done.

Thanks,

Nick
Go to Top of Page

therookery
Starting Member

29 Posts

Posted - 29 August 2004 :  12:40:53  Show Profile  Visit therookery's Homepage
Would love to have this mod but the zip file in the first post is empty. Can someone point me to the correct zip file?
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 29 August 2004 :  13:24:16  Show Profile  Send ruirib a Yahoo! Message
Click on the link for version D in the first post of this thread.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

nickw
Junior Member

Ireland
193 Posts

Posted - 29 August 2004 :  17:20:47  Show Profile
Also, try save to disk as opposed to open. Winzip sometimes gives the effect of no data.

Nick
Go to Top of Page

nickw
Junior Member

Ireland
193 Posts

Posted - 30 August 2004 :  14:36:19  Show Profile
Just had a report from a forum user that the following happens on search:

Type in the name of a forum member and nothing else. Click search.
You will see 10 or 20 pages of results, but, when you go to page 2 or 3 it gives the "use must enter keywords" message.


Nick
Go to Top of Page

-gary
Development Team Member

406 Posts

Posted - 30 August 2004 :  19:01:01  Show Profile
Posted version E. This should take care of all variables between using the member drop-down and typed in members that created the paging error. Also cleaned up the display of the search paramaters a bit.

Replaced: search.asp, search_mssql.asp, search_mssqlft.asp

KawiForums.com


Go to Top of Page
Page: of 6 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.25 seconds. Powered By: Snitz Forums 2000 Version 3.4.07