Full text search on varbinary max field containing RTF

I have a table in sql server 2008 (tblRTF) with the following columns
ID (numeric) (Primary key)
RTF (Varbinary(max)) (full text search index is created on this one)
Doctype (varchar) (contains the document type which is its extension. In my case it is .rtf)
I am storing RTF files in my 'RTF' field and the string '.rtf' in 'DocType' column. As mentioned, my  fulltext search index is created on 'RTF' field. My problem is - when I write queries using fulltext search for searching for rows, then it returns
me rows even if I provide words that are supposed to be within RTF tags.
Following is an example of my query -
SELECT *
FROM tblRTF
WHERE CONTAINS(RTF, 'rtf1')
The above query ideally should not return me rows because the string 'rtf1' occurs within RTF tags of an rtf and not within the body or text. Yet, when I write the above query, it returns me all the rows from the table
as each RTF will begin with the string - {\rtf1\
Can anyone tell me what wrong am I doing here? The very purpose of fulltext search is defeated if the word is searched for within the tags.
Thanks in advance.

Hello,
Check out the links and articles below. It may help you.
http://arcanecode.com/2009/05/28/full-text-searching-a-filestream-varbinary-max-column/
http://social.msdn.microsoft.com/Forums/is/sqldatabaseengine/thread/9695c531-ae1f-4dbc-82ba-9e73ac8349ce
http://stackoverflow.com/questions/726243/full-text-search-on-a-varbinary-column-is-it-possible-to-use-a-mime-type-rathe

Similar Messages

  • Disable Full Text Search in Records Management

    Hi Everyone,
    This is Shiva, we implemented SAP Records management & i am came in middle of this project. Right now client want to do some customizations in Records.
    Actually i need to disable Full Text Search under Records. Under Cross Query i disabled the Full text by the following process
    (Two sample element types are delivered with the service provider
    SRM_SP_QUERY:
    SRM_SPS_QUERY
    Search for records, documents, cases, record models and file plans
    SRM_SPS_QUERY_REC_DOC)
    Under(SPRO) Cross SP search based on Property Unification; you can able to disable the FullText search field(this will be effects only for Cross Query), but under Records, when you right click there will be one option called FIND in which i am unable to disable the FULL TEXT search.
    I used DMWB T-code under LOIO, i  search for Standard/free/instance attributes, but i didn't find any Full Text Search Field in that one.
    Can anyone please help me in this. I really appreciate your inputs & help.
    Thanks,
    Shiva.
    Edited by: Shivasap on Aug 2, 2010 6:01 PM
    Edited by: Shivasap on Aug 3, 2010 4:01 PM

    Dear Shiva,
    Full text search needs to be deactivated at content model level for attributes. You will find a document class in the element type of the record. In transaction DMWB, you will find LOIO & PHIO classes for the document class. For each attribute, you will find a checkbox "index-relevant" which needs to be unticked if you dont want to use TREX. For deactivating full-text search for which a field is given in the FIND popup, TREX needs to be deactivated. There is no option to deactivate just for a record element type in RM. Unfortunately, the field itself cannot be hidden. This is programmed in the logic.
    Best Regards,
    Pragya

  • Full-Text search is not working with PDF files - SQL Server 2012 64 bit

    Hi,
    We are in the process of storing PDF files in SQL Server 2012 with Full-Text search capability.
    I followed the steps as below and it works fine with word document but not for PDF files. I tried with PDF ifiler 11 & 9 and both are unsuccessful.
    Server/DB Level Settings:
    1)
    Enable FileStream
    2)
    Install Full-Text
    then restart
    3)
    Use [specific db]
    alter
    database [db name]
    add
    filegroup Files
    contains filestream;
    alter
    database [db name]
    add
    file (
    name = N'Files',
    filename =
    N'D:\SQL\DATA') to
    filegroup [Files];
    3)
    Database level
    Settings:
    FileStream:
    FileStream
    Directory name:
    [Set the name]
    FileStream
    non-transacted
    Access: [set Appropriate]
    3a)
    Add a
    datafile to DB
    with filestreamdata
    filetype.
    4)
    Share D:\SQL\DATA
    directory and
    add specific accounts
    with read/write
    access
    5)
    Give bulkadmin
    access to those
    specific accounts
    at server
    level
    6)
    From the
    page (link)
    download and
    install the *.pdf
    IFilter for
    FTS. Link:
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=5542
    7)
    To the
    PATH global system
    variable add
    path to the
    catalog,
    where you installed
    the plugin.
    Default for
    this version is:
    C:\Program
    Files\Adobe\Adobe
    PDF iFilter 9
    for 64-bit
    platforms\bin
    8)
    From the
    page (link)
    download a
    FilterPackx64.exe
    and install
    it. Link:
    http://www.microsoft.com/en-us/download/confirmation.aspx?id=20109
    9)
    Now from
    SSMS execute the following
    procedures:
    -sp_fulltext_service
    'load_os_resources',1
    -sp_fulltext_service
    'verify_signature', 0
    EXEC
    sp_fulltext_service
    'update_languages';
    -- update language list
    EXEC
    sp_fulltext_service
    'restart_all_fdhosts';
    -- restart daemon
    reconfigure
    with override;
    10)
    Restart the
    server
    11)
    select document_type,
    path from
    sys.fulltext_document_types
    where document_type
    = '.pdf'
    -select
    document_type,
    path from sys.fulltext_document_types
    where document_type
    = '.docx'
    12) Results are OK.
    Following is my Table /Index/ catalog script:
    CREATE
    TABLE dbo.DocumentFilesTest
    DocumentId  INT
    IDENTITY(1,1)
    NOT NULL
    PRIMARY KEY,
    AddDate datetime
    NOT NULL,
    Name nvarchar(50)
    NOT NULL,
    Extension nvarchar(10)
    NOT NULL,
    Description nvarchar(1000)
    NULL,
    FileStream_Id UNIQUEIDENTIFIER
    ROWGUIDCOL NOT
    NULL UNIQUE DEFAULT
    NEWSEQUENTIALID(),
    FileSource varbinary(MAX)
    FILESTREAM DEFAULT(0x)
    go
    --Add default add date for document   
    ALTER
    TABLE dbo.DocumentFilesTest
    ADD CONSTRAINT
    DF_DocumentFilesTest_AddDate
    DEFAULT sysdatetime()
    FOR AddDate
    EXEC
    sp_fulltext_database
    'enable'
    GO
    IF
    NOT EXISTS
    (SELECT
    TOP 1 1 FROM sys.fulltext_catalogs
    WHERE name
    = 'Ducuments_Catalog_test')
    BEGIN
    EXEC sp_fulltext_catalog
    'Ducuments_Catalog_test',
    'create',
    'D:\SQL\PDFBlob';
    END
    --EXEC sp_fulltext_catalog 'Ducuments_Catalog_test', 'drop'
    DECLARE
    @indexName nvarchar(255)
    = (SELECT
    Top 1 i.Name
    from sys.indexes
    i
    Join sys.tables
    t on 
    i.object_id
    = t.object_id
    WHERE t.Name
    = 'DocumentFilesTest'
    AND i.type_desc
    = 'CLUSTERED')
    PRINT @indexName
    EXEC
    sp_fulltext_table
    'DocumentFilesTest',
    'create',
    'Ducuments_Catalog_test', 
    @indexName
    EXEC
    sp_fulltext_column
    'DocumentFilesTest',
    'FileSource',
    'add', 0,
    'Extension'
    EXEC
    sp_fulltext_table
    'DocumentFilesTest',
    'activate'
    EXEC
    sp_fulltext_catalog
    'Ducuments_Catalog_test',
    'start_full'
    ALTER
    FULLTEXT INDEX
    ON [dbo].[DocumentFilesTest]
    ENABLE
    ALTER
    FULLTEXT INDEX
    ON [dbo].[DocumentFilesTest]
    SET CHANGE_TRACKING
    = AUTO
    ALTER
    FULLTEXT CATALOG
    Ducuments_Catalog_test REBUILD
    WITH ACCENT_SENSITIVITY=OFF;
    INSERT
    INTO DocumentFilesTest(Extension,
    Name,
    FileSource)
    SELECT
     'pdf'
    'BOL12006553.pdf'
    * FROM
    OPENROWSET(BULK
    'd:\SQL\PDFBlob\BOL12006553.pdf',
    SINGLE_BLOB)
    AS BLOB;
    GO
    INSERT
    INTO DocumentFilesTest(Extension,
    Name,
    FileSource)
    SELECT
     'docx'
    'test.docx'
    * FROM
    OPENROWSET(BULK
    'd:\SQL\PDFBlob\test.docx',
    SINGLE_BLOB)
    AS Document;
    GO
    SELECT
    d.*
    FROM dbo.DocumentFilesTest
    d WHERE
    Contains(d.FileSource,
    'BILL')
    Returns nothing. it should come from PDF file
    SELECT
    d.*
    FROM dbo.DocumentFilesTest
    d WHERE
    Contains(d.FileSource,
    'TEST')
    Returns from word document as follows:
    2           2014-06-04 10:11:41.393            test.docx docx           
    NULL   [BINARY Value]  [Binary Value]
    Any help is appreciated. Its been a long wait.
    Thanks,
    Vel
    Vel Thavasi

    Hello,
    Did you check the fulltext log files for more details about the errors. If the filter isn’t working, there should be errors in the error log file.
    The following thread is about similar issue, please refer to:
    http://social.msdn.microsoft.com/forums/sqlserver/en-US/69535dbc-c7ef-402d-a347-d3d3e4860d72/sql-server-2008-64bit-fulltext-indexing-pdf-not-working-cant-find-ifilter
    Regards,
    Fanny Liu
    If you have any feedback on our support, please click here.
    Fanny Liu
    TechNet Community Support

  • Can we enable full text search using TOAD ?

    Hi, i m new to oracle, i come from sql server background
    There is a server in israel where oracle 10 g is installed. I stay in india. i want to connect to that database(with valid credentials) and want to know if i can enable full text search feature or any other related feature so that i can search a few keywords as i dont know what tables contain what data.
    Plz guide

    WhiteHat wrote:
    923860 wrote:
    Hi, i m new to oracle, i come from sql server background
    There is a server in israel where oracle 10 g is installed. I stay in india. i want to connect to that database(with valid credentials) and want to know if i can enable full text search feature or any other related feature so that i can search a few keywords as i dont know what tables contain what data.
    Plz guideyou want to be able to search all fields in all tables?
    I don't think this is possible to do in any RDMS! to be a developer you must know the schema. When I was working with Toad it had such an option. I guess it is still there. And that was one of the things that was really really useful.
    Of cause TOAD knows the schema. And you could choose where you want to search (include trigger code or not, include data, etc.).
    But I'm not sure if there are any requirements for this option. The question should be better asked in a quest-TOAD forum.
    Edited by: Sven W. on Mar 28, 2012 9:31 AM

  • Problems using and configuring Oracle 10gR2 database full-text search

    I am having problems trying to set up full-text indexing and search with Universal Content Management (UCM). I followed the Oracle Content Server Installation Guide for windows at [http://download-west.oracle.com/docs/cd/E10316_01/cs/cs_doc_10/documentation/integrator/install_cserver_win_10en.pdf].
    What I did was:
    1. Modify E:\oracle\ucm\server\config\config.cfg by adding SearchIndexerEngineName=DATABASE.FULLTEXT to the end of the file.
    2. Restart the content server.
    3. Rebuild the search indexing using Repository Manager.
    However, I keep seeing the following error when I query by entering words in the "Full-Text Search" box.
    Unable to retrieve search results. Unable to retrieve search results. Unable to create result set for query 'SELECT IdcColl1.dID, dDocName, dDocTitle, dDocType, dRevisionID, dSecurityGroup, dDocAuthor, dDocAccount, dRevLabel, dFormat, dOriginalName, dExtension, dWebExtension, dInDate, dOutDate, dCreateDate, dPublishType, dRendition1, dRendition2, VaultFileSize, WebFileSize, URL, dFullTextFormat, dFullTextCharset, DocMeta.*
    FROM IdcColl1, DocMeta
    WHERE IdcColl1.dID=DocMeta.dID AND (((CONTAINS(dDocFullText,'test') > 0 ))) ORDER BY dInDate Desc'. ORA-20000: Oracle Text error:
    DRG-10599: column is not indexed
    Some web searches suggested the following (all of which I have tried but not resolved this problem).
    1. Publish the schema using Configuration Manager (applet) and then rebuild index
    2. Set the dDocFullText as a "zone field". This is not possible, because dDocFullText does not show up under the list of fields under "Database" or "DatabaseFullText" for the Search Engine drop down (when using Zone Fields Configuration).
    3. Reboot the server (did not work either).
    I logged onto the Oracle database and checked the IdcColl1 table. There is indeed, no index for the field, dDocFullText. There is only 1 index for the field, did. The field, dDocFullText, is a BLOB. The question is, if I am supposed to create an index manually for this field, how would I do it? A web search has not been fruitful in answering this question.
    Here are my server settings.
    For UCM:
    Operating System: Windows 2003 Enterprise
    UCM : 10gR3
    Memory: 1 GB
    Web Server: Apache 2.2.11
    For Oracle:
    Operating System: Windows 2003 Enterprise
    Oracle: 10gR2
    Memory: 1 GB
    Thanks.

    I found out what the problem was. The problem was that I had to create the role, stellent_role, as described in the installation manual. After I created this role and assigned the database user to this role, a restart of the Content Server services and collection rebuild of the index fixed the problem.
    However, I did notice one thing. I checked in 3 PDF files, and when I used Repository Manager to do a collection rebuild, I noticed that for Indexer Counters, the count for Full Text was 0 and the count for Meta Only was 3.
    Anyone have any ideas? Is there something else that I missed? From reading the installation manual, it was not clear how database full-text indexing/searching would handle PDF files.

  • External URL Mapping and Full-Text Search Generation

    I have a dilemma,
    I can map external URL all fine e.g.
    <map version="1.0">
    <mapID target="Welcome" url="http://docweb.net/help/test.html"/>
    </map>
    but the html files are not contained in the local directory, and thus the jhindexer is unable to (as far as i know anyway) generate full-text search using the externally linked html files
    also from using a decompiler I have found that you can "force" it to generate the help for external urls (as the indexer prefixes all urls with the "file:" protocol, but I can only get this to work under debug mode, else it gives a heapSpace exception, so I wish to avoid having to do anymore unneccesary digging/decompiling.
    Also just as a gripe, why is most of the java help source code unavailable, and the Indexer seems to be very inflexible (ontop of not having any documentation)

    That's the way it worked in X4 and later versions up but not including RH8. RH8 includes phrase searching in webhelp.
    See www.grainge.org for RoboHelp and Authoring tips

  • Full-Text Search has not worked since we upgraded to 2012

    I have a filestream database and table. Our full-text searches have always worked until we upgraded to SQL 2012 in December.  Now, no file that has been uploaded since December is searchable.  What has gone wrong here.  It should have been
    a clean upgrade.  We are not getting any error messages.  We are just not getting any records returned when we search on a word that we know are in the documents we've uploaded since December (for instance, the word 'aluminum'). 
    Filestream is enabled for the instance.
    A full-text catalog exists and contains a full-text index (the same one we've always had).  Full-text indexing is ENABLED.
    I've tried rebuilding the catalog and the index.  I've tried to do a FULL POPULATION on the table.
    We haven't changed our queries nor the way the files are uploaded.
    Nothing works.  I have been a database administrator since the SQL 2005 days and I have never seen anything like this.
    Please help.

    Hi GINGER PIERCE,
    Since the issue regards SQL Server Search. I will help you post the question in the related forums. It is appropriate and more experts will assist you.
    According to your description, in theory , if you can do a full-text search for SQL Server 2008, when upgrading the SQL Server version from 2008 to 2012, the Full text indexing feature should be run well in SQL Server 2012 databases. If not , you can try
    to restore your database from SQL Server 2008 to SQL Server 2012, create an new Full-Text Catalog and Index on the table or view in the database, and then use Full Text Index to search words, phrases and multiple forms of word or phrase via FREETEXT() and
    CANTAINS() with “and” or “or” operators.  check if it is normal that the full-text search feature is enabled in the SQL Server 2012 instance. For more information , see:
    Full Text Search step by step in SQL Server 2012.
    Note:  In SQL Server 2012 SP1 , the server will report that Full Text Search is not supported in this edition of SQL Server when it clearly is. The workaround is to create the initial catalog by using a T-SQL query:
    CREATE FULLTEXT CATALOG  
    In addition, since it is a fileStream database, we need to verify if you do Full Text Searches on documents in FileTables, if yes, you should enable FileStream database for your SQL Server, and enable FileTable options for the database. For more information,
    see:
    Full Text Searches on Documents in FileTables.
    Regards,
    Sofiya Li
    If you have any feedback on our support, please click here.
    Sofiya Li
    TechNet Community Support

  • Cannot do a full text search on pdf or Microsoft office Documents.

    I am using Oracle Content Server 10gR3
    Apart from the standard components and other components, I have InBound refinery Support and Oracle text Search Components enabled.
    I get the following error when I check in a pdf or a Microsoft office document.
    Text Conversion of the file '<repo_home>/.pdf' failed.*
    Content has been indexed with Info only. Resubmit should only be performed if the problem has been resolved.
    I am able to perform a full text search on *.txt and *.htm files.

    Here are some more errors from Console output log
    requestaudit     10.28 12:20:00.011     Audit Request Monitor     Request Audit Report over the last 120 Seconds****
    requestaudit     10.28 12:20:00.011     Audit Request Monitor     -Num Requests 349 Errors 345 Reqs/sec. 2.911 Avg. Latency (secs)0.309 Max Thread Count 2
    requestaudit     10.28 12:20:00.011     Audit Request Monitor     1     Service DOC_INFO     Total Elapsed Time (secs) 106.944     Num requests 345     Num errors 345     Avg. Latency (secs) 0.31
    requestaudit     10.28 12:20:00.011     Audit Request Monitor     2     Service COLLECTION_GET_REFERENCE     Total Elapsed Time (secs) 0.701     Num requests 2     Num errors 0     Avg. Latency (secs) 0.35
    requestaudit     10.28 12:20:00.011     Audit Request Monitor     3     Service COLLECTION_DISPLAY     Total Elapsed Time (secs) 0.211     Num requests 1     Num errors 0     Avg. Latency (secs) 0.211
    requestaudit     10.28 12:20:00.011     Audit Request Monitor     4     Service COLLECTION_GET_INFO     Total Elapsed Time (secs) 0.02     Num requests 1     Num errors 0     Avg. Latency (secs) 0.02
    requestaudit     10.28 12:20:00.011     Audit Request Monitor     ****End Audit Report*****

  • TREX Full-Text search on Solution Directory

    Hi Experts,
    I have a problem with Full-Text search on the Solution Directory.  Basically it doesn't work at all.
    In transaction SOLUTION_MANAGER I choose a solution and then ->Operation Setup -> Solution Settings.  At that point from the top menu I choose Solution Directory -> Find Document...
    When I trigger the search using normal attributes the process finds documents related to this Solution without any problem.  However, when I search using the "Full-Text Search" feature, the process doesn't find any document at all even though they exist.
    Why is this functionality not working?  Is this problem related to TREX?
    What should i do to fix it?  How do I create an index for these documents?
    I haven't been able to solve this issue as TREX seams to work fine... can anybody help me out?
    Any idea?
    Many thanks,
    Aldo

    David:
    I want to know if Oracle Context Option to need run over Oracle Application Server for to work search over multiple tables???
    Exist some method for this (Context) run without to use Oracle Application Server???
    select * from table_name where
    contains(column_name1, 'keywords')>0 AND
    contains(column_name2, 'keywords')>0However, using the Concatenated Datastore to create one index that has all the columns to be searched as sections will get better performance, since your query then only needs to use one contains statement across one index.
    select * from table_name where
    contains(indexed_column_name,
    '(keywords WITHIN section_name1) AND
    (keywords WITHIN section_name2) AND
    keyords')>0Note: The last keyword in this query is so you search the indexed column as well, which is not a section. You could also create a dummy column to create the index on, and make all columns to search sections of that.
    Cheers
    David<HR></BLOCKQUOTE>
    null

  • Using Punctuations in Full Text Searches

    Hi, I'm having a bit of trouble implementing full text search effectively in regards to punctuations.
    In my thesaurus file I have something along the lines of
    <expansion>
    <sub>intl</sub>
    <sub>int'l</sub>
    <sub>international</sub>
    </expansion>
    and when I run the query 
    select * from sys.dm_fts_parser('Formsof(freetext,"international")',1033,null,0)
    it show's that it is included
    international's
    internationals
    internationals'
    international
    intl
    int'l
    However when I do end up running the query using Contains, it ignores everything that contains int'l and only returns the results of the other matches.

    I am moving it to Search.
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Design & Programming
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • Full text search across books in iBooks for Mavericks

    Is there a way to do full text search of all documents under iBooks for Mavericks?
    I have quite a few books in categories and collections that are not mutually exclusive. It is becoming quite tedious to find the book I need when I need it. I have tried search in iBooks but it only seems to hit titles, maybe some keywords, and perhaps other fields, but not the full text of the documents.
    I cannot find any way in Spotlight preferences or in iBook preferences to specify that the body of documents under iBooks should be indexed/searched.
    Best regards,
    Tom

    Just to register that I have fixed the problem.
    I tried reinstalling RH, but that didn't work. I was about to
    give up when I noticed that an error was coming up when I compiled
    the project: the infamous "HHC6003: The file itircl.dll has not
    been registered correctly". I found out that you only fix that
    problem by registering another dll: itcc.dll
    Once you fix this, the compilation is perfect and the
    full-text Search works properly again.
    Thanks anyway for the interest.
    Paulo.

  • [iPhone SDK] Full text search in SQLite

    I'm trying to implement a search feature on my SQLite-stored data. Basically, the user gives me a list of keywords; I'd like to retrieve records which have all the keywords in at least one of two fields, and which also have a foreign key set to a specific value. As far as I can tell, the iPhone doesn't include SQLite's full-text search extension. Does anyone have a suggestion as to how I should implement this feature? My current idea is to simply create a table that maps every word in the record back to the record itself, but that might be a wasteful approach...

    I got SQLite working by getting the SQLite source
    (http://sqlite.org/sqlite-amalgamation-360.zip)
    added
    #define SQLITEENABLEFTS3 1
    at the top of sqlite3.c
    and added both sqlite3.c and sqlite3.h into the project.
    Make sure the standard SQLite framework has been removed.
    Build & Go and everything working perfectly with the latest SQLite and Full Text Search built in.
    (No idea if compiling and linking is preferential)

  • Full text search in a dynamic table

    Hi all,
    Can any one tell me how to do a full text search in a dynamic(ie. always have INSERT or DELETE action) table? I created a context index on the column which data type is LONG. But I can't get search results for those records that I inserted new data after Creating index.
    Thanks a lot!

    David:
    I want to know if Oracle Context Option to need run over Oracle Application Server for to work search over multiple tables???
    Exist some method for this (Context) run without to use Oracle Application Server???
    select * from table_name where
    contains(column_name1, 'keywords')>0 AND
    contains(column_name2, 'keywords')>0However, using the Concatenated Datastore to create one index that has all the columns to be searched as sections will get better performance, since your query then only needs to use one contains statement across one index.
    select * from table_name where
    contains(indexed_column_name,
    '(keywords WITHIN section_name1) AND
    (keywords WITHIN section_name2) AND
    keyords')>0Note: The last keyword in this query is so you search the indexed column as well, which is not a section. You could also create a dummy column to create the index on, and make all columns to search sections of that.
    Cheers
    David<HR></BLOCKQUOTE>
    null

  • Enable full text search

    Hi,
    Pls let me know whether we will face any ASE Server performance issues if we use full text search option on a bulk table which has more than 1 Crore rows after enabling "enable full text search" option.
    Sample query is mentioned below.
    select *
       frpm cust_text_search_tbl
    where id_type = “PanCard” 
        and CONTAINS ( id_no, 'X8036B' )
    select *
       frpm cust_text_search_tbl
    where and branch_code = “KL16”
    CONTAINS ( fname, 'JOMY' )
    select *
       frpm cust_text_search_tbl
    where CONTAINS ( id_no, 'X8036B*' | “34 4173*” )
    Regards
    Jomy
    Mob:91+9656622225

    Just enabling the option should not affect performance.
    Whether the performance of the feature meets your expectations depends on your expectations, I think you will just have to try it to see if it's performance is adequate for your needs or not.
    The effect of using the feature on the performance of everything else on the system depends on how heavily you are using it and the resources you have (number of cpu cores, etc.).
    -bret

  • Is it possible to ignore noise words conditionally in working with Full text search containstable

    I have a question on stoplist file. I need to search for exact phrase string("this is the incident") which contains   noise words. As part of the FT search engine, during parsing it eliminates noise word and search on remaining string in
    the given phrase. 
    let us say there are 10 rows which contains the term "incident" in the FT table . and 1 row which has the exact phrase.i.e."this is the incident".
    if we use containstable() to search for "this is the incident", we are getting 10 rows instead of 1 row.
    To resolve the issue, we have 3 solutions
    1.either stoplist file needs to be modified to remove the words (this,is,the)
    2. set stoplist = OFF.
    3.empty stoplist.
    Apart from the above solutions, is there any better solution with out touching noise words file list.
    If any solution that provides flexibility to ignore noise words conditionally at one time and not to ignore them. 
    Please provide your suggestion.
    kkprasad

    One question that I ask is:  Why would I want to exclude noise words?
    Noise words were created to limit the size of the full text indexes and avoid processing the many 'this', 'is', and 'the' common words.  But the disadvantage of doing so is that you cannot find some things as you would like.
    My feeling is that computers are more powerful and have more storage and it is often better to just index everything.  As long as your search does not include 'the', then the large number of 'the's in the system will pretty much be ignored. 
    NOTE: If you change the noise words, including SET STOPLIST = OFF, you have to rebuild the index in order for it to implement your decision.
    Of course, for very, very large full text indexes you would need to test.
    Is your full text search on relation database columns, e.g.  Description NVARCHAR(1000)  or are you searching Word, Excel, and other more complex data?
    If your full text is relational columns, it might be that you could:
    1. Select only the fulltextkey into a temp table (e.g. #FTSfulltextkey) from the full text index using noise words.  That would give you 10 rows.
    2. Then directly query the table to find the string as you define above.  (But remember that punctuation and symbols are generally ignored by Full Text Indexing, but would still be there in the string of text.)
    SELECT *
    FROM MyTextTable T
    JOIN #FTSfulltextkey K
    ON T.fulltextkey = k.fulltextkey
    WHERE T.Description like '%this is the incident%'
    Full text search is powerful, but it has limits. And the behaviour changes depending on the Language of the search.
    RLF

Maybe you are looking for

  • Error message in exit at ME21N

    Hi frieds, I'm needing some help with this problem. I'm trying to send a error message in EXIT_SAPMM06E_013 with the command line MESSAGE E000(ZM) WITH TEXT-002. The message shows correctly, but after my message sap show another one, "System error (e

  • Not Compatible with this version of Photoshop message.....

    Hi All, I am running Photoshop CS3 10.0.1 on an Intel Mac OS 10.4.11. I saved a 500MB PSD file which won't open. As mentioned the dialog box reads ..."Not Compatible with this version of Photoshop"... The file was not manipulated by any other compute

  • Patch Management config - Enable not applicable patches

    Hi, I am trying to clean our list of enabled patches in order to reduce the time taken by the analyze.exe. I plan to uncheck the "Enable not applicable patches" in the ZPM Configuation and asked myself when a patch is "not applicable", because there

  • Connection practically freezes when anyone views a video/downloads something

    Hi, I have a WRT54g (or gs, I'm not at home so I can't confirm). I have two computers hooked up to the router, wired connection, wireless is turned off.  Whenever anyone looks up a video like youtube, opens a graphics-intensive webpage, or downloads

  • Dynamically change flex variables with JSON

    I am trying to take different variables from within each other, and use that to dynamically change variables within flex, and I am not sure how to write it. For example, the JSON code would be something like:      "content" : [