Full text search installed or not

前端 未结 3 661
走了就别回头了
走了就别回头了 2021-01-04 00:57

I have instaled SQL server 2008 R2 and when I run this SQL in SQL server management studio:

SELECT FULLTEXTSERVICEPROPERTY(\'IsFullTextInstalled\')


        
相关标签:
3条回答
  • 2021-01-04 01:26

    Easy way

    SELECT 
    CASE FULLTEXTSERVICEPROPERTY('IsFullTextInstalled')
        WHEN 1 THEN 'Full-Text installed.' 
        ELSE 'Full-Text is NOT installed.' 
    END;
    

    inspired by https://www.sqlshack.com/hands-full-text-search-sql-server/

    0 讨论(0)
  • 2021-01-04 01:29

    I just made the test on a new SQL Server 2016 Express installation without fulltext feature (did not used the "Advanced Services" setup).

    I can confirm you can perfectly create fulltext catalogs on databases even if fulltext feature is not intalled.

    But if you try to create a fulltext index, you'll get a clear error message stating the feature is missing :

    Executing :

    CREATE FULLTEXT INDEX ON dbo.tbltxt(coltext)  
       KEY INDEX ui_tbltxt   
       WITH STOPLIST = SYSTEM;  
    GO 
    

    ...will throws error :

    Msg 7609, Level 17, State 5, Line 87 Full-Text Search is not installed, or a full-text component cannot be loaded.

    0 讨论(0)
  • 2021-01-04 01:47

    My answer:

    If FULLTEXTSERVICEPROPERTY says it's not installed, then I would install from the original media. Run through the installer and simply add Full Text Search from the features page.

    FTS is fully in the SQL Engine in 2008 so if it thinks it isn't installed, then ya best make it happy.

    My opinions/ponderings:

    Did you move a database from a previous SQL installation that had full text installed? That might explain the row in sys.fulltext_catalogs.

    When you open a Database in SSMS, under the Storage Folder, Full Text Catalog folder do you have the option to add a New Catalog when you right click?

    In SQL Configuration Manager do you see the Full Text Daemon Launcher service?

    enter image description here

    0 讨论(0)
提交回复
热议问题