Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007


all groups > sql server full text search > recent posts

Full text search can not return result
Posted by ken at 1/16/2008 1:56:06 AM
Hi all, In my case, I build a full text search query. like "select * from _tt_fields where contains(string,'"development group"')", when I click F5 then execute the sql, it returned the records, but when I click execute the query more than 4 times, it does not return anything! From http://www.dev...more >>

Search multiple tables that have common parent
Posted by Jon Davis at 11/2/2007 2:57:28 PM
Hello - I have several different "content" types (articles, audios, videos, etc.) that have a parent->child relationship structure in my SQL Server 2005 DB. The parent table is called Content and all the common fields to these items are contained within it (e.g. title, name, description). ...more >>

FTS Newbie - Help Please!!
Posted by masterslave at 11/2/2007 2:10:41 AM
Hi! I've got a table SupplierItem with full text catalogue set up on it and I need to search two columns of it, Description2 and SupplierItemCode, for any combination of terms entered in any order with wildcards (ie if user puts in FOLDER, it finds FOLDERS as well) and also search for two co...more >>

Re: FTS Newbie - Help Please!!
Posted by Hilary Cotter at 11/2/2007 12:05:11 AM
What do you mean by it doesn't work? Are you able to find anything? Are there any error messages? -- RelevantNoise.com - dedicated to mining blogs for business intelligence. Looking for a SQL Server replication book? http://www.nwsu.com/0974973602.html Looking for a FAQ on Indexing Ser...more >>

Re: FULL TEXT SEARCH - PROBLEM
Posted by Hilary Cotter at 10/31/2007 7:25:21 PM
Is 1 in your noise word list? -- RelevantNoise.com - dedicated to mining blogs for business intelligence. Looking for a SQL Server replication book? http://www.nwsu.com/0974973602.html Looking for a FAQ on Indexing Services/SQL FTS http://www.indexserverfaq.com <in da club> wrote in me...more >>

Re: FULL TEXT SEARCH - PROBLEM
Posted by Daniel Crichton at 10/31/2007 5:30:26 PM
in wrote on Wed, 31 Oct 2007 17:11:39 +0200: > I have query like that > SELECT > Urun_ID > ,Urun_Ad > FROM TBL_URUNLER > WHERE CONTAINS(Urun_Ad, '"*mta1000-*"' ) Why are you using *? It doesn't work like that - FTS breaks up the indexed columns into words, you can use a * at the end ...more >>

FULL TEXT SEARCH - PROBLEM
Posted by at 10/31/2007 12:00:00 AM
I have query like that SELECT Urun_ID ,Urun_Ad FROM TBL_URUNLER WHERE CONTAINS(Urun_Ad, '"*mta1000-*"' ) it returns 62 MTA1000-1 When i chance the search phrase mta1000-1 it returns nothing. Urun_Ad is defined as NVARCHAR(50) in my tbl_urunler tabl...more >>

Re: Using CASE statement in CONTAINS predicate ( For FullText Sear
Posted by Vijay at 10/29/2007 7:19:02 AM
Hi Simon Sabin, Thanks for you reply. How about this implementation... SELECT [ID] ,[Source] ,[Description], name FROM [Search] WHERE (@allowSearchALL = 1) OR CONTAINS( Source , 'mail') Pls suggest if this option is fine? will there be any performance hit ..if i use the above query?...more >>



Can not get any search result using full text search in SQL Server 2005 Express.
Posted by dinesh.shrinath NO[at]SPAM gmail.com at 10/29/2007 3:42:11 AM
Hi I am using SQL Server 2005 Express for full text search. I have created catalouge and fultext index on the database and table. I checked all the properties of the full text index using the queries. select * from sys.fulltext_indexes and everything seems to be fine. But I am not getting a...more >>

hellow
Posted by ±èºÀÅ at 10/29/2007 12:00:00 AM
´ÚÃÄ!!!!!!!!¾¾ºÒ³âµå¾Æ ´Ï¹ÌÁ½ÀÌ´Ù¤»¤»¤» ...more >>

Re: Newbie question: unique index across nvarchar fields
Posted by Rémi at 10/28/2007 10:04:47 AM
Thanks for the tip. Found information on including non-key columns in non-clustered indexes in books online; methinks this is what I was looking for. Remi. ...more >>

Re: Newbie question: unique index across nvarchar fields
Posted by Hilary Cotter at 10/26/2007 10:52:10 AM
You could where you would do a check to see if the combination field exists and if not enter it. You will probably find that plain old non-clustered indexes will work better here, or even an indexed view. With SQL 2005 use the include option when creating your indexes. -- RelevantNoise.co...more >>

Re: SQL 2005 FT Issues (mass deletes blocked/slow, Queries against index stop working)
Posted by Hilary Cotter at 10/26/2007 10:50:37 AM
Full indexing only makes sense when a large portion of your datachanges at any one time. Incremental populations can sometimes work better than full depending on the amount of data deleted. For example if its 90% full would probably work better, if its 20% incremental could, if its smaller tha...more >>

Newbie question: unique index across nvarchar fields
Posted by Rémi at 10/26/2007 5:38:00 AM
Surely an easy question for those in the know... I have a contacts table, and I'd like to ensure uniqueness across first/middle/last name fields. Each field is an nvarchar(255) - as such, I can't create a regular index because the combined index size is greater than 900 bytes. I've briefly l...more >>

Re: SQL 2005 FT Issues (mass deletes blocked/slow, Queries against index stop working)
Posted by Michael Gold at 10/25/2007 12:00:00 AM
On Oct 24, 11:41 pm, "Hilary Cotter" <hilary.cot...@gmail.com> wrote: > When doing a big delete you should set change tracking to scheduled mode > instead of index in background. You might also find that a full-population > might work faster than change tracking. This will stop/minimize your lock...more >>

Re: Server Requirements
Posted by Hilary Cotter at 10/24/2007 11:43:00 PM
Get a high speed disk subsystem, preferably with 10 or more high speed disks in a single raid 5 array for your catalog. We are running a 3 terabyte sql fts search application on a single DL 585 quad, with 8 Gigs of RAM, 3 Ghz. -- RelevantNoise.com - dedicated to mining blogs for business in...more >>

Re: SQL 2005 FT Issues (mass deletes blocked/slow, Queries against index stop working)
Posted by Hilary Cotter at 10/24/2007 11:41:12 PM
When doing a big delete you should set change tracking to scheduled mode instead of index in background. You might also find that a full-population might work faster than change tracking. This will stop/minimize your locking problems. I am not sure what is causing the timeouts. It could be ...more >>

SQL 2005 FT Issues (mass deletes blocked/slow, Queries against index stop working)
Posted by Michael Gold at 10/24/2007 10:07:42 PM
Hi All, We are experiencing a couple of strange issues with FTI/FTS. Our environment: W2K3x64 Clustered SQL 2005 SP 1(2 instances) 4GB Ram, Dual Proc, lots of disk. We have one table (currently 425,000 rows) that has a FTI on 6 columns, all VARCHAR columns. Change tracking is set to Manual...more >>

Re: Using CASE statement in CONTAINS predicate ( For FullText Sear
Posted by Simon Sabin at 10/24/2007 7:38:26 PM
Hello Vijay, Daniel is correct. You don't have that option. You best solution from a performance perspective is to use dyanmic SQL and only add the criteria you need and then execute that. Make sure you use sp_executesql and parameterise your query. i.e. declare @sql nvarchar(max) de...more >>

Re: Keyword frequency skewing results
Posted by Simon Sabin at 10/24/2007 7:31:07 PM
Hello I'm afraid it is right. Thats how the ranking is supposed to work. Unfortunately there is no hitcount mechanism in full text to be able to rank in the way you want. Simon Sabin SQL Server MVP http://sqlblogcasts.com/blogs/simons > Hi > > I must be missing something obviou...more >>

Re: IFilter for Office 2007 Documents?
Posted by Simon Sabin at 10/24/2007 7:26:22 PM
Hi Bryan You have 2 options (sort of) Install Office 2007 on your server and then issue an sp_fulltext_service 'load_os_resource', 1 to load the iFilters The second option isn't available yet, but there will be an ifilter pack made available for Office 2007. Simon Sabin SQL Serv...more >>

Re: issues with exact phrase searching
Posted by Hilary Cotter at 10/24/2007 12:22:01 PM
This is an indexing services question and an NT 4.0 Index Server 1 one at that. To make your query Windows 200X Indexing Services 2.0 compliant you must do this: SELECT DocTitle, Filename, Vpath, Size, Write, Characterization, Rank FROM SCOPE() WHERE CONTAINS ('"computer''s technology"') ...more >>

Re: issues with exact phrase searching
Posted by ocelot4401 NO[at]SPAM gmail.com at 10/24/2007 12:12:43 PM
ok, changed my code back SQL now looks like: SELECT DocTitle, Filename, Vpath, Size, Write, Characterization, Rank FROM SCOPE() WHERE CONTAINS ('"computer''s hardware"') AND (Filename LIKE '%_%_%_%.pdf') still returns the wrong results. >.< i was hoping that was the issue >.< On Oc...more >>

Re: issues with exact phrase searching
Posted by ocelot4401 NO[at]SPAM gmail.com at 10/24/2007 10:37:12 AM
I tried this idea before and go the same responses, pdf files with either the word computer or the word technonolgy in them. NOT files with the phrase "computer's technology" in them. enumeration? how would this help and how would i turn it on? On Oct 24, 12:22 pm, "Hilary Cotter" <hilary.c...more >>

Keyword frequency skewing results
Posted by malbroadbent NO[at]SPAM hotmail.com at 10/24/2007 5:59:03 AM
Hi I must be missing something obvious. I'd like to write a query that ranks the row containing the most unique keywords first, rather than the row with the most keywords. 1) my user enters "red green blue" 2) my query include somthing like freetexttable (xxx,xxx, 'red green blue' ) I ...more >>

issues with exact phrase searching
Posted by ocelot4401 NO[at]SPAM gmail.com at 10/23/2007 10:19:42 AM
I'm finding that using CONTAINS () and any word or phrase containing an ' does not work. It seems to split the phrase up instead of doing an EXACT MATCH search. example: searching on "computer's technology" the SQL looks like: SELECT DocTitle, Filename, Vpath, Size, Write, Characterization,...more >>

Server Requirements
Posted by rein.vanspaendonck NO[at]SPAM gmail.com at 10/23/2007 8:30:57 AM
We are planning on renting a dedicated server for two of our web applications. I would appreciate it if someone could give us some advice on the server requirements in terms of the CPU and RAM. Here's our situation: Both these apps use Full Text Indexing on one column (varchar 255) in each da...more >>

Re: Using CASE statement in CONTAINS predicate ( For FullText Sear
Posted by Vijay at 10/23/2007 12:34:09 AM
Hi, I donot want to use Multiple IF blocks as my IF criterias are huge...i want to use some thing like SELECT [ID] ,[Source] ,[Description],name FROM [Search] WHERE Source = CASE WHEN @allowSearchALL = 1 THEN Source ELSE 'mail' END "Hilary Cotter" wrote: > You need an if stateme...more >>

Re: Using CASE statement in CONTAINS predicate ( For FullText Sear
Posted by Daniel Crichton at 10/23/2007 12:00:00 AM
Vijay wrote on Tue, 23 Oct 2007 00:34:09 -0700: > Hi, > I donot want to use Multiple IF blocks as my IF criterias are huge...i > want to use some thing like > SELECT [ID] ,[Source] ,[Description],name > FROM [Search] > WHERE Source = CASE WHEN @allowSearchALL = 1 THEN Source ELSE 'mai...more >>

Re: '%phrase%' search
Posted by Daniel Crichton at 10/23/2007 12:00:00 AM
Hilary wrote on Mon, 22 Oct 2007 20:55:24 -0400: > also SQL FTS will throw out the middle character. It knows something is > there, but not what. So it will match on > word!phrase word$phrase and word phrase amoung others. I think the word|phrase wasn't an explicit string, rather the | re...more >>


DevelopmentNow Blog