Results 1 to 3 of 3

Thread: SQL Server fulltext - Search failures

Threaded View

  1. #1

    Thread Starter
    Powered By Medtronic dbasnett's Avatar
    Join Date
    Dec 2007
    Location
    Jefferson City, MO
    Posts
    9,897

    SQL Server fulltext - Search failures

    After four years of working without error our full text searches have been returning results that are incorrect. Sometimes we get fewer matches than expected, sometimes more. Back to back searches for the exact same search criteria can give different results. This problem seems to come and go at random times. Mostly it works correctly.

    The full text table contains 30,038 entries and is rarely updated, two records per week would be a lot.

    MSSQL version 11.0.7493.4.

    You can try the search by visiting Missouri Revisor

    Any insights appreciated.

    The query to search for mule. which should return 14 matches.

    Code:
         SET NOCOUNT ON; SELECT [BID] FROM [StatConst].[revision].[SectFullText] WHERE  CONTAINS(body, '"mule" ') and [hist] Is Null
    [StatConst].[revision].[SectFullText] has four columns,

    BID int
    Body nvarchar(MAX)
    hashnum int
    hist int
    Last edited by dbasnett; Nov 22nd, 2021 at 01:45 PM.
    My First Computer -- Documentation Link (RT?M) -- Using the Debugger -- Prime Number Sieve
    Counting Bits -- Subnet Calculator -- UI Guidelines -- >> SerialPort Answer <<

    "Those who use Application.DoEvents have no idea what it does and those who know what it does never use it." John Wein

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width