2

I am developing in C# MVC Visual studio using sql express. Running my application on localhost, then i push final app to production which runs sql server. I would like to know how do I add full-text indexing to my existing table:

CREATE FULLTEXT INDEX ON dbo.People
(  
    Title,  
    Authors,
    Description  
) 

So this query above where do i run it on visual studio as I am using sql express?

How about migrations? Do I need to add anything to my model.cs class? And do I need to enable migrations add fulltext search?

I could do this easily in php/mysql, but i am learning c# mvc so I am not sure what is required.

12
  • 1
    How does C# MVC relate to your fulltext searching problem? What technology are you using to connect to your database? Commented Sep 26, 2013 at 13:29
  • I don't think SQL Express even supports full-text search. What version are you using? Commented Sep 26, 2013 at 13:30
  • really there is no support for sql express, hmm. @Matthew what technology as in connecting with connection strings in my web.config? and changing the connection strings whenever i am pushing to production. is that what you mean? sorry i am not sure what you mean technology as i mentioned everythingi am using in the question. thanks Commented Sep 26, 2013 at 13:32
  • 1
    You can make this change from the server after the table is created in management studio. Commented Sep 26, 2013 at 13:35
  • 2
    Get sql server express with advanced tools for full text searching microsoft.com/en-gb/download/details.aspx?id=1842 Commented Sep 26, 2013 at 13:42

1 Answer 1

2

Get sql server express with advanced tools for full text searching here a link

If you expand the details section it states:

" Microsoft SQL Server 2008 Express with Advanced Services is a free, easy-to-use version of the SQL Server Express data platform that includes an advanced graphical management tool and powerful features for reporting and advanced text-based searches. This edition provides powerful and reliable data management tools and rich features, data protection, and fast performance. It is ideal for small server applications and local data stores. "

EDIT: For some coding pointers have a read of this SO post and it's replies and also look at the links on the lower right of this page for 'similar' topics that may well be of interest. Over there -------->

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.