DataSource Controls :: Using Full Text Indexing On Columns With "little" Data?

Jan 25, 2010

I know about the benefits that full text indexing provides when indexing columns that contain LOB such as varbinary(max), varchar(max) etc. But is there an overhead involved when using full-text indexing and full text search on columns that contain a small amount of data, such as varchar(50)?

View 3 Replies


Similar Messages:

DataSource Controls :: Full Text Indexing -arabic?

Jun 13, 2010

i have made fulltext index in 4 columns in a table ( 2 ARABIC columns (title,Desc(html) AND ENGLISH(title,Desc(html))it works fine locally when i use contains function in search but in sever arabic search doesnt work well .

View 2 Replies

DataSource Controls :: Multi Worded Full Text Index Search On 2 Columns?

Jan 12, 2011

I am having with the a full text index I am developing for a product catalog. It does all work to a degree I am just seeing some strange things happening.

From the database side I have a Products table that is being indexed on both the PartNumber and Description columns because I would like the users to be able to search either or using the search function.

Problem 1:

whenever I use multiple words in the search I don't always get the results I am looking for, this happens most notably when I am attempting to say put in a full part number (which for in this case would look like "I 10-9.2")

Problem 2:

I am not 100% sure that this is the most efficient way of completing what I am attempting to accomplish here since I have 2 columns that I need to perform the search on

Here is an excerpt from the click even when the user clicks the search button on the page:

[Code]....

And here is the search functions called from the click event to firstly check if there are any results and the second to display the results in a custom gridview:

[Code]....

View 1 Replies

DataSource Controls :: Get Excerpt From Full Text Searches?

Feb 16, 2010

I am using ContainsTable() to perform a full text search on a field (of type varbinary()) and am I wondering if there is a good way to return an excerpt of text around at least one location where the keyword matched the text in the field.Example:User searches for "computer science".The following sentence exists in the varbinary() field: "This book is about computer science and other IT related fields."I would like to return an excerpt around the words "computer science", something like: "...book is aboutcomputer science and other IT..."

View 1 Replies

DataSource Controls :: How To Parse Normal Search Text To Sql Server Full Text Search String

Feb 13, 2010

How i can make the normal search string to sql server full text search parse, because when we are user enyer search text "how to run windows schedule in C#", in database we have article to to this, but data not returning and sometime is say error in key word and etc.

View 1 Replies

DataSource Controls :: Lost The Full-text Catalogs File?

Jan 27, 2010

I would like to do an attachment on my database but I lost the full-text catalogs file. Sql server won't let me attach the database without it. What do I need to do to overcome this issue? Is there a way to tell Sql Server to skip the missing catalogs? If not, how do I generate another full-text catalogs file to replace to lost one?

View 3 Replies

DataSource Controls :: Auto Complete - Get Keywords From Full Text Catalog?

May 30, 2010

This is my first time using autocomplete. I have everything up and running, but I want to return a list of more relevent keywords or phrases from my full text catalog, or the table that I search against. I have no idea where to start as far as my getcompletionlist goes.

So If I type in knee
a list appears
kneepads

here's my getCompletionList
Public Function GetCompletionList(ByVal prefixText As String, ByVal count As Integer) As String()
Dim items As New List(Of String)
Dim myConnectionString As String
myConnectionString = GetSQLConnString()
Dim mySelectQuery As String = "SELECT ShortDescription FROM ProductInfo WHERE FREETEXT(ShortDescription, @prefixText) OR FREETEXT(LongDescription, @prefixText) OR FREETEXT(ProductHTML, @prefixText) OR FREETEXT(PartNumber, @prefixText) ORDER BY RANK()
OVER (Order BY PartNumber, ShortDescription, LongDescription)"

[Code]....

View 2 Replies

DataSource Controls :: Full Text Search Test - Works Without Parameters

May 28, 2010

I'm new with all stored procs - but I have a very basic Full Text Search going on...I created a stored proc, and linked it up to my application using Linq to SQL. If I use Linq to SQL to call the stored proc without any parameters (hard coded search string) i get results back, as soon as I add a parameter - the result set is 0 for some reason.

The funny thing is that I run Profiler and execute both queries its trying to do - and it looks identical

Here is the working parameterless query:

[Code]....

and according to Profile this is what it looks like when its called as a stored proc

[Code]....

I get 2 results as expected.
Here is the NON-working stored proc that takes in 1 string parameter

[Code]....

and here is the query that gets called when profiling

[Code]....

declare @p4 int

View 3 Replies

DataSource Controls :: Full Text Search In Sql Server 2005 Alternative?

Feb 7, 2010

I have a website which uses full text search. It was working fine on my web host. LAst month, I changed hosting to godaddy.com. They dont support full text search and now my website is not working properly. what change should i make in my stored procedures that they work same as they work with full text. what is alternative to full text search. I tried using LIKE but it doesnt work same way.

View 1 Replies

DataSource Controls :: Full Text Search Returns No Results On Production SQl Server?

Jul 2, 2010

I am actually using 2 type of queries in my website e.g

These Queries are from my stored procedures

SELECT * FROM TblName WHERE FREETEXT(ColumnName, @parameter)

AND

SELECT * FROM TblName WHERE CONTAINS((Column1, Column2), @parameter))

I have enabled Full Text Indexing on my tables both local and on my hosting company MS SQL Server.

The above queries are working fine on my local database and return results but these queries return nothing when i try to run them on hosting company MS SQL Server.

I have identical data on both MS SQL Servers and both servers are 2008.

View 2 Replies

DataSource Controls :: How To Add Full Text Search Feature To An Existing Instance Of Sql Express

Mar 30, 2010

I have installed sql server 2008 express along with visual web developer 2008 express (latest sp1) using web installer now I downloaded this file:

'Microsoft® SQL Server® 2008 Express with Advanced Services' from here: [URL] but when I run the installer and choose add new features to existing instance of sql server I get no full text search feature option in the list, There are only a few options that are selected and greyed out (because they are installed previously) in the list of available features. Why I don't have full text search feature in the list and how to find and install it? (mine is the 64bit version)

View 2 Replies

DataSource Controls :: SQL SERVER 2008: Full Text Search Can't Find Prefixes Correctly?

May 9, 2010

I'm implementing an AJAX autocomplete feature where the user types into a textbox and the webpage generates suggestions (pretty much like how Google's search box works). I got the AJAX part to work right, but for some reason, my database query does not.Let's say I want to find "Chicago". Using the following query does not find it.SELECT TOP 10 citynames FROM city WHERE CONTAINS(citynames, 'chi*')But using this query does.SELECT TOP 10 citynames FROM city WHERE CONTAINS(citynames, 'chicago')By the way, "citynames" is an ntext type field and I'm using SQL SERVER 2008.Does anyone know why my first query can't find "Chicago"? I've been staring at that query for hours, yet can't find anything wrong with it. Something wrong with the database maybe?

View 2 Replies

DataSource Controls :: Searches Using Full Text Index And 'contains' Fail When Include 'noise Words'?

Mar 11, 2010

I created a simple search form which populates a gridview from sql server. I use 'contains' on a varchar(max) field which has a full text index. I find if I do a search for "Mexico Argentina", I get multiple results, which is good.One thing my sql server stored procedure is doing is inserting the word 'AND' between words. I do this because I want all words to be found. So if the user inputs "Mexico Argentina", I am converting that to "Mexico AND Argentina"But if I have even one 'noise word' in the search string, I get no results at all. For instance, there might be a sentence in my database table saying "I prefer Mexico to Argentina" but if I put that sentence in, I get no results at all. The database is seeing my converted string:I AND prefer AND Mexico AND to AND ArgentinaAnd finds nothing.I also have another form, which does a more advanced search that allows 'exact phrase'. If the user chooses 'exact phrase', then I don't insert AND anywhere. Instead, I surround his phrase with 4 apostrophes - 2 before the phrase, and 2 after.So now the database sees:' ' I prefer Mexico to Argentina ' ' (I've put a space between apostrophes here to make it clearer to view.Now I not only get no results, I get an error message.

View 1 Replies

Avoid IndexOutOfRangeException Indexing DataReader Columns?

Feb 9, 2010

I am having a little trouble with an 'IndexOutOfRangeException'. I think it is because when the code tries to get the DateModified col from the database it sometimes contains NULLS (the users haven't always updated the page since they created it).

Here is my code;

s = ("select datemodified, maintainedby, email, hitcount from updates where id = @footid")
Dim x As New SqlCommand(s, c)
x.Parameters.Add("@footid", SqlDbType.Int)
x.Parameters("@footid").Value = footid
c.Open()
Dim r As SqlDataReader = x.ExecuteReader
While r.Read
If r.HasRows Then
datemodified = (r("DateModified"))
maintainedby = (r("maintainedby"))
= (r("email"))
hitcount = (r("hitcount"))
End If
End While
c.Close()


I thought (after a bit of msdn) that adding;

If r.HasRows Then
End If

after adding I am still getting the same old IndexOutOfRangeException

(ps, I have tried datemodified as string / datetime)

View 4 Replies

DataSource Controls :: SQL Server First Full Text Search Takes A Long Time To Return Results?

May 19, 2010

I am working on a website hosted with GoDaddy, SQL Server 2005. I have a table in my SQL Server database with a full-text index. On my website, a user can type in search terms and the terms are then passed to a stored procedure in the database which performs the search. The first search takes about 45 seconds to get results. Subsequent searches return results immediately. I found a description of this problem in a Microsoft knowledgebase article:http://support.microsoft.com/kb/915850/en-usGoDaddy tech support says I need to purchase a dedicated server to make the changes suggested in this article.Surely there is some other solution. Does anyone know how to avoid this delay without changing the server configuration?

View 1 Replies

DataSource Controls :: Word Search In Sql Server Without Full Text Search On Particular Column?

Jan 27, 2010

I want a word search i doing the search like this , but it is giving character wherever there is in the string,if i give two character like ok it is searching for a full string where ever Ok is there select * from table1 where textfield like '%word%' this query would match word but also wordabc how can i make it aware of delimitions

View 3 Replies

DataSource Controls :: Full Text Search Return No Result While "Like" Does?

Sep 7, 2010

I tried Restart the service I tried restart the server But the number of row affected is still zero :(

View 2 Replies

DataSource Controls :: Full Text Search -- How To Search Image

Mar 29, 2010

I am using SQL Server 2008 and Full Text search.

Its working fine for PDF / doc files but not working for .JPG files.

Basically i have some document scanned and stored it in varbinnary datatype in DB.

I am able to search for .doc /.xml /.pdf files .. but not able to search .jpg.

also i am not getting ".jgp" extension in result of following query

SELECT document_type, version, manufacturer
FROM sys.fulltext_document_types order by document_type

View 1 Replies

Forms Data Controls :: Full Hyperlinked GridView Row Not Just Text?

Jan 13, 2011

I am fairly new to ASP.NET I have implemented a GridView table so each row is databound to an ObjectDataSource and is hyperlinked.

Ideally, the webpage is to be used on a touchscreen interface so I would like the entire row not just the text within the rows/columns to be a hyperlink. I have been told this is possible by using AJAX but have been unable to find a way of going about it.

View 2 Replies

How To Make The Gridview Columns NOT To Expand And If The Data Needs To Show In Full

Feb 25, 2011

So i'm currently designing a site ( ) and i've made my skeleton master page.What i've noticed is that the gridview must be cut down a little to fit my 1024x768 design.

Now i have taken a note in the past to look at this but i couldn't find the time so i guess the time is now.
What i have problem with is shrinking the columns.If i have a name, say "jack R" and i make a gridview column,say width 15 then the name is included and all is ok.However if i have another name,say "jack the 3rd" then the column will expand to fill the name.So all the grid will expand to the right.I have tried in the past some stuff but it seems that if a value is longer than the column then i expands whatever i do.Also i was surprised to see that only the dates will not expand and go "down" instead of right.At least in the gridview i have.

So the 2 questions.How do i make the gridview columns NOT to expand and if the data needs to show in full then how do i make the data go DOWN and not expand right.I have no problem of the grid expanding downwards but i have a problem of the grid expanding to the right.

View 6 Replies

Forms Data Controls :: How Do Paging In Gridview With Sql Full Text Search Return Result

Feb 13, 2010

i know how do the paging with normal return query using row number in sql server, but i'm looking how to do the paging , sql server full text search returning result.

Can i use the same row number function or any good perfomance way?

whcih sql server full text search(FREETEXT,CONTAINS and etc) is best article site?

View 3 Replies

C# - Save A Binary File In SQL Server As BLOB And Text (or Get The Text From Full-Text Index)?

Mar 26, 2010

Currently we are saving files (PDF, DOC) into the database as BLOB fields. I would like to be able to retrieve the raw text of the file to be able to manipulate it for hit-highlighting and other functions.Does anyone know of a simple way to either parse out the files and save the raw text on save, either via SQL or .net code. I have found that Adobe has a filtdump utility that will convert the PDF to text. Filtdump seems to be a command line tool, and i don't see a way to use a file stream. And what would the extractor be for Office documents and other file types?-or-Is there a way to pull out the raw text from the SQL Full text index, without using 3rd party filters?Note i am trying to build a .net & MSSql solution without having to use a third party tool such as Lucene

View 5 Replies

DataSource Controls :: Removing Duplicates From Two Similar Columns Or Any Other Columns In A Database Schema

Apr 21, 2010

I have two columns first name and last name , that have duplicates, how can i remove the duplicates and only leave the distinct members intact?

View 6 Replies

Data Controls :: Columns Value Button Text Is Changing

Feb 27, 2014

URL....According to my requirement based on columns value button text is changing. But I want to apply some action on it. Means previously, I used Command Name for a button and in Row Command event I have written the code which was working. But now, after writing this code I am getting an error message. Because now the button is converted into template field.

View 1 Replies

Web Forms :: TreeNodes Of TreeView (with Custom Hierarchical DataSource) Not Indexing Properly

Jul 30, 2010

I've managed to render TreeView using custom made Hierarchical Datasource based on Linq queries on self referencing table. Rendered output looks well but... Every Node in NodeCollection has the same index = 0. Therefore when I click on any collapse button - the whole tree Collapses. In generated html every node has the same id = MainContent_TreeView1n0 I suppose n0 should increment to n1 n2 n3 and so on.

View 5 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved