Fulltext-search using contains doesn't deliver the exspected result

Hello,
under SQL-Server 2012 I have a table like
create table test
  id integer not null,
  data varbinary(max) not null,
  constraint pk_test primary key (id)
and a fulltextindex on it like
create fulltext catalog fttest;
create fulltext index on test key index pk_test on fttest;
alter fulltext index on test add (data TYPE COLUMN fileext language 0x0407);
data contains a rtf with the word kettensäge1044 in it.
I search in the field using:
select * from test where contains(data, '...')
Instead of the points I use
"kett*", "kette*", "ketten'", "kettens*", "kettensä*", "kettensäg*", "kettensäge1*", "kettensäge10*", "kettensäge104*", "kettensäge1044*"  -> record
is found
"kettensäge*" -> record is NOT found.
Same as "schafwollenteppichknüpfer"
-> Search is working for "schaf*" till "schafwoll*", "schafwollent*", "schafwollentep*" til "schafwollenteppichknüpfer*"
-> Search is not working for "schafwolle*", "schafwollen*", "schafwollente*"
I don't understand this. Why behave the search different and why are some words are found and some not?
Greetings
Stefan Westner

Please check the links below that might helpful to you to understand full text search in SQL Server
http://www.developer.com/db/article.php/3446891/Understanding-SQL-Server-Full-Text-Indexing.htm
http://sqlmag.com/sql-server/sample-full-text-search-engine
http://msdn.microsoft.com/en-IN/library/ms142571.aspx

Similar Messages

  • HT3529 My iPod doesn't deliver the messages sent from Messages, what do I do?

    My iPod doesn't deliver the messages sent from Messages, what do I do? I've tried everything, from restoring it to simply restarting it.

    You cannot update your ipod from the ipod itself.  This is only possible once you have ios 5.
    You update it the you always have.  Open itunes, connect ipod.  It will prompt you to update, if an update is available.
    If you have the 1st gen ipod touch, then you have the latest upate:  3.1.3

  • The same selection doesn't return the same result in 2 identical systems

    Hi,
    After a copy we have 2 systems with same data.
    In a program the same selection doesn't returns the same result, it seems that the sort is different.
    I have checked indexes but they are ok in both systems.
    Here is the selection:
    SELECT but000~partner
    INTO TABLE lt_partner
    *UP TO 50 ROWS
    FROM but000
    JOIN but020
      ON but020partner = but000partner
    JOIN adrc
      ON adrcaddrnumber = but020addrnumber
    JOIN but100
      ON but100partner = but000partner
      WHERE but020~addr_valid_from LE '20100727000000'
      AND   but020~addr_valid_to   GE '20100727000000'.
    Is there a customizing point to define how the database must be sorted ?
    Thanks.
    Edited by: julien schneerberger on Jul 27, 2010 4:18 PM

    Hi,
    Thank you for your answer.
    Result is the same and I don't sort data after the selection.
    Do you think the system copy has "broke" the records order in database ?
    If it is the case it will be impossible to reproduce the same sort, is it right ?
    Edited by: julien schneerberger on Jul 27, 2010 5:19 PM
    Edited by: julien schneerberger on Jul 27, 2010 5:20 PM

  • I searched for "Download FireFox 5 - got the following results: Found 1023 results for download firefox 5 in English. Please save me from having to wade through 1023 results to locate this download!

    I searched for "Download FireFox 5 - got the following results: Found 1023 results for download firefox 5 in English. Please save me from having to wade through 1023 results to locate this download!

    Why do you want the 5.0 version and not the just released Firefox 6 version?
    *Firefox 6.0.x: http://www.mozilla.com/en-US/firefox/all.html
    *Firefox 3.6.x: http://www.mozilla.com/en-US/firefox/all-older.html
    *http://releases.mozilla.org/pub/mozilla.org/firefox/releases/latest-5.0/

  • When I click the URL bar or the search bar, it doesn't select the text or show the cursor like it used to.

    AS the question says, when I clicked the search bar in previous versions, "Google" would disappear and I would see the flashing cursor. When I clicked in the URL of a blank tab, it would select all the text, and I would see a cursor when I typed or backspaced to remove the selected text. Now, none of that happens.
    After a bit of troubleshooting, it appears that any theme I use causes this issue.
    In the previous version of Firefox, I used the exact same plugins add-ons and theme, and never had this issue.
    I went thru and tried disabling all the add-ons and plugins, and unless I run in safe mode, I have the same result. None of the add-ons or plugins causes this. It seems to be any theme I use that causes this.

    Firefox 15+ will still display the grayed placeholder text if you click an input field or text area.<br />
    The placeholder text will only disappear after you have typed at least one character.
    Does a present URL get selected if you click or double-click the location bar?
    There are some prefs to set what will happen if you click the location bar:
    * browser.urlbar.clickSelectsAll
    * browser.urlbar.doubleClickSelectsAll
    *http://kb.mozillazine.org/about:config
    *http://kb.mozillazine.org/About:config_entries

  • FullText Searching using a search term from a field

    Say I want to compare two tables using FullText searching, one table has the content to be searched, and the other table has a list of search terms (to be evaluated separately). I have not found a way other than using cursors to cycle through the search
    terms to capture the results. The FullText search term appears to only allow 'text strings' or @variables, but not [Field]'s. Is there a better way to approach this for batch processing?
    Another usage that I see merit for FullText searching is duplicates detection within existing data sets. Is there a way to perform INNER table joins using FullText - or do we have to fall back on CURSOR iterative methods again?
    Thanks,
    Jay :)
    If you shake a kettle, does it boil faster?

    Hi M.
    Apologies for the delay in responding...
    The links provided are for searching in multiple columns at once (a single search) or return ranked results (again single search). Is there a way to perform multiple searches at once, i.e. batch processing?
    Thanks,
    Jay
    If you shake a kettle, does it boil faster?

  • Select statement doesn't deliver the result !

    Hello,
    Can please someone help, why this SELECT statement doesn't deliver any result.
        SELECT TDNAME TDID TDSPRAS TDOBJECT FROM STXH
        INTO CORRESPONDING FIELDS OF TABLE I_TEXT
        WHERE TDOBJECT = 'MVKE'
        AND TDNAME = p_matnr
        AND TDID = '0001'.

    MVKE is the text which is sales org specific , right ?
    So i dont think you will have any text with the material name.
    it should be material concatenated with  Sales org and distribution channel atleast.
    go to se11 and see the table contents for STXH where object = MVKE... 
    try concatenate p_matnr p_vkorg p_vtweg into P_matnr.
    and do selection for this.
    Edited by: Sujamol Augustine on May 13, 2008 10:02 PM

  • Distinct Count doesn't return the expected results

    Hi All,
    I was fighting a little trying to implement a Distinct Count measure over an account dimension in my cube. I read a couple of posts relateed to that and I followed the steps posted by the experts.
    I could process the cube but the results I'm getting are not correct. The cube is returning a higher value compared to the correct one calculated directly from the fact table.
    Here are the details:
    Query of my fact table:
    select distinct cxd_account_id,
              contactable_email_flag,
              case when recency_date>current_date-365 then '0-12' else '13-24' end RECENCY_DATE_ROLLUP,
              1 QTY_ACCNT
    from cx_bi_reporting.cxd_contacts
    where cxd_account_id<>-1 and recency_date >current_date-730;
    I have the following dimensions:
         Account (with 3 different hierarchies)
         Contactable Email Flag (Just 3 values, Y, N, Unknown)
         Recency_date (Just dimension members)
    All dimensions are sparse and the cube is a compressed one. I defined "MAXIMUM" as aggregate for Contactable Email flag and Recency date and at the end, SUM over Account.
    I saw that there is a patch to fix an issue when different aggregation rules are implemented in a compressed cube and I asked the DBA folks to apply it. They told me that the patch cannot be applied because we have an advanced version already installed (Patch 11.2.0.1 ).
    These are the details of what we have installed:
          OLAP Analytic Workspace       11.2.0.3.0 VALID
          Oracle OLAP API 11.2.0.3.0 VALID
          OLAP Catalog 11.2.0.3.0 VALID
    Is there any other patch that needs to be applied to fix this issue? Or it's already included in the version we have installed (11.2.0.3.0)?
    Is there something wrong in the definition of my fact table and that's why I'm not getting the right results?
    Any help will be really appreciated!
    Thanks in advance,
    Martín

    Not sure I would have designed the dimensions /cubes as you,  but there is another method you can obtain distinct counts.
    Basically relies on using basic OLAP DML Expression language and can be put in a Calculated Measure, or can create two Calculated measures
    to contain each specific result.  I use this method to calculate distinct counts when I want to calculate averages, etc ...
    IF account_id ne -1 and (recency_date GT today-365) THEN -
    CONVERT(NUMLINES(UNIQUELINES(CHARLIST(Recency_date))) INTEGER)-
    ELSE IF account_id ne -1 and (recency_date GT today-730 and recency_date LE today-365) THEN -  
    CONVERT(NUMLINES(UNIQUELINES(CHARLIST(Recency_date))) INTEGER)-
    ELSE NA
    This exact code may not work in your case, but think you can get the gist of the process involved.
    This assumes the aggregation operators are set to the default (Sum), but may work with how you have them set.
    Regards,
    Michael Cooper

  • Search help selection doesn't transfer the value

    Hi.
    I have a strange situation. I have created a search help on a custom view. The results and everything is populated correctly in result but when i select the value it is not transferred to the input field. I have marked the field as exporting parameter so that it should go to input field but no avail.
    This search help is part of a collective search help and parameters of collective serach helpmatch with my custom additional search help. Both places the output field is marked as export parameter.
    Any help would be appreciable.
    I serached for notes: Note 571027 - Search help control: no values copied and note: 701123.
    Wanted to know if somebody has faced this issue.
    Regards
    Apoorva

    Hello,
    Sometimes it happens, my solution, in order to not take too long time I write for instance...
    FORM match01   TABLES   sel dest
                   USING    invalue
                   CHANGING selvalue.
      DATA: BEGIN OF t1 OCCURS 2,
        j_1afitp LIKE j_1afitpvt-j_1afitp,
        text60 LIKE j_1afitpvt-text60,
      END OF t1.
    * Returned value
      DATA: BEGIN OF r1 OCCURS 1.
              INCLUDE STRUCTURE ddshretval.
      DATA: END OF r1.
    * Select data
      SELECT * FROM j_1afitpvt
      INTO CORRESPONDING FIELDS OF TABLE t1 WHERE spras EQ sy-langu.
    * SAP standard function to display table as matchcode selection
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield     = 'J_1AFITP'
          window_title = 'Select'
          value_org    = 'S'
        TABLES
          value_tab    = t1
          return_tab   = r1
        EXCEPTIONS
          OTHERS       = 1.
    * Return selected value
      IF sy-subrc = 0.
        selvalue = r1-fieldval.
        SET PARAMETER ID 'ZJ_1AFITP' FIELD selvalue.
      ENDIF.
    And then I attach that metod to the corresponding event, either if it is a dynpro, or normal selection screen.
    Bye!!
    Gabriel P.-

  • Location bar search/keyword feature doesn't work the same as 3.x

    In 3.x I could type anything in the location bar and it would "resolve" it. I could type "google maps" and it would go to maps.google.com, "yahoo mail" and it would go to mail.yahoo.com. And if it couldn't figure it out then it would do a google search.
    Now, in 4, if I type the same things I get "This URL is not valid and can't be loaded." I tried to disable the fixup feature to see if that was interfering but that didn't help. I liked it the old way when I just typed what I was thinking and it would take me where I wanted to go. I've verified this many times as I still have 3 at home and 4 at work.
    I also hate that the refresh button moved.

    I have this same issue- I have tried changing it the way you say to, but every time I close the browser it resets and I have to change it every time I search- I should be able to type in "target" and be taken to target.com- it says that this works, but all it does is search for target and it won't even do that unless I change the settings every time I open the browser- I never had any problems with 3.5 or 6 and I am going to uninstall 4.0 and go back- it doesn't work like an updated browser should- it is worse!

  • Why Data Services Validation doesn't give the right result in XML?

    Hi,
    I am struggling with a dataflow that contains the following:
    - an Excel as source
    - a validation transform that check a specific value in one of the excel columns. If the value is equal, the record goes to the pass path and if not, it goes to fail path
    - a simple query on the pass path with a row_gen that selects all passed records and send it to an XML file (using XML target)
    - a CSV target file on the fail path that gets the failed record from the validation
    The result is unexpected: both files contain the failed records.
    Now, if you modify slightly the dataflow and add another pass path to the validation, which has a CSV file as target, suddenly, the result is what you would expect:
    - The XML file on the 1st pass path (with the query) now contains the successful records
    - The CSV file on the 2nd pass path contains the successful records as well
    - The CSV file on the fail path contains the failed records
    If you create a dataflow that doesn't have an XLM file as a target, this issue doesn't seem to happen. I have made several examples with datastore and with CSV files. Somehow it seems there is something happening wrongly when the only target for a validation path (pass or fail) is an XML file.
    I can send the ATL for both examples above
    Could someone help me understand if I do something wrong OR if there is indeed a bug that should be addressed?
    Thanks a lot!
    Isabelle

    Hi Manoj,
    Thanks for quick reply!
    To answer your questions:
    - in the validation transform what is the value of Action on failure option - send to fail, send to pass or both ?
       send to fail only
    - is delete and recreate option checked for the target xml file ?
      yes
    - how many rows do you see in monitor log for pass and fail ?
       In the 1st dataflow, the monitor show the following where the pass number is 26!
    Path name State Row Count Elapsed time (Sec) Absolute time (Sec)
    DFW_TransformationUsingValidation_5/SpinFormat_1 STOP 28 0.047 0.699
    /DFW_TransformationUsingValidation_5/Validation STOP 28 0.000 0.699
    /DFW_TransformationUsingValidation_5/Split STOP 26 0.000 0.699
    -DFW_TransformationUsingValidation_5/FailValidation_TransformationUsingValidation_5.csv STOP 26 0.000 0.699
    /DFW_TransformationUsingValidation_5/Row_Generation STOP 1 0.000 0.699
    /DFW_TransformationUsingValidation_5/CacheSplit STOP 26 0.000 0.699
    /DFW_TransformationUsingValidation_5/CacheSplitMemoryReader STOP 26 0.000 0.699
    /DFW_TransformationUsingValidation_5/Validation_Pass_1 STOP 26 0.000 0.699
    /DFW_TransformationUsingValidation_5/Query-Nest1: 0 STOP 1 0.047 0.699
    /DFW_TransformationUsingValidation_5/Query-Nest1: 1 STOP 26 0.000 0.699
    /DFW_TransformationUsingValidation_5/Query STOP 1 0.000 0.699
    -DFW_TransformationUsingValidation_5/GUID::'5e0a492d-1452-4e0b-be37-758c2249b7a4' LOAD MESSAGE PassXM STOP 1 0.000 0.699
    In the 2nd dataflow, just by adding another pass path filling a CSV file, the number of pass records is 2:
    DFW_TransformationUsingValidation_5/SpinFormat_1 STOP 28 0.047 0.689
    /DFW_TransformationUsingValidation_5/Validation STOP 28 0.000 0.689
    /DFW_TransformationUsingValidation_5/Split STOP 2 0.000 0.689
    -DFW_TransformationUsingValidation_5/PassValidation_TransformationUsingValidation_5.csv STOP 2 0.000 0.705
    -DFW_TransformationUsingValidation_5/FailValidation_TransformationUsingValidation_5.csv STOP 26 0.000 0.705
    /DFW_TransformationUsingValidation_5/Row_Generation STOP 1 0.000 0.705
    /DFW_TransformationUsingValidation_5/CacheSplit STOP 2 0.000 0.705
    /DFW_TransformationUsingValidation_5/CacheSplitMemoryReader STOP 2 0.000 0.705
    /DFW_TransformationUsingValidation_5/Validation_Pass_1 STOP 2 0.000 0.705
    /DFW_TransformationUsingValidation_5/Query-Nest1: 0 STOP 1 0.047 0.705
    /DFW_TransformationUsingValidation_5/Query-Nest1: 1 STOP 2 0.000 0.705
    /DFW_TransformationUsingValidation_5/Query STOP 1 0.000 0.705
    -DFW_TransformationUsingValidation_5/GUID::'5e0a492d-1452-4e0b-be37-758c2249b7a4' LOAD MESSAGE PassXM STOP 1 0.000 0.705
    Edited by: Isabelle Thore on Oct 8, 2010 6:53 AM
    Edited by: Isabelle Thore on Oct 8, 2010 6:54 AM
    Edited by: Isabelle Thore on Oct 8, 2010 6:55 AM

  • Firefox in a limited Windows account won't search using in-built search engines on the search bar + awesome bar.

    It works in the administrator account but not for all other limited accounts. I created a new limited account so it had no addons or changed options but search still did not work.
    If I enter anything in the awesome bar/ search bar, it shows "Looking up nameofwebsite.com" instead of "Waiting for nameofwebsite.com".
    I noticed that it searches using https:. If I search using google, I can take out the s part of https so that the http protocol is used, and when I press enter, it works, but the browser adds in the s and searches in https.
    Everything else works fine except for the search capabilities.

    Weird. Last time I tried Wikipedia, it came with a connection error. Now it doesn't and Wikipedia search now works. I think that simply restarting the computer fixed this Wikipedia problem. Now this is the status of Firefox:
    * Google Search = Works
    * Bing search = Works
    * Amazon Search = Works
    * Ebay Search = Works
    * Wikipedia Search = Works
    * Twitter Search = Certificate Error (Doesn't have the 'Add Exception' Option)
    * Yahoo search = Certificate Error (Has the 'Add Exception' Option)
    I previously added Google as an exception, but I discovered that Bing, Amazon, Ebay and Wikipedia now work too. I would like to find out if I can use these services securely because I'm worried that their encryption might be broken, etc.
    I would also like to find out how to fix Yahoo and Twitter Search.
    Is there like any settings under about:config that I could change or anything that I could look under the certificate that would help?
    When I type 'asdf' (without quotes) in Yahoo search, it autocompletes to 'https://search.yahoo.com/search?p=asdf&ei=UTF-8&fr=moz35'. If I do the same with Twitter search, it autocompletes to 'https://twitter.com/search?q=asdf&partner=Firefox&source=desktop-search'.
    I uploaded screenshots of the error pages:
    '''Yahoo'''
    https://support.cdn.mozilla.net/media/uploads/images/2014-07-18-01-20-57-241fe8.png
    '''Twitter'''
    https://support.cdn.mozilla.net/media/uploads/images/2014-07-18-01-22-52-b73c2d.png

  • What is the different between Sharepoint fast search service and Sql server fulltext search?

    HI ,
    I want to kow what is the different between Sharepoint fast search service and Sql server fulltext search?
    Or Can I abstract the Sharepoint fast search from the Sharepoint platform as a isolate component?
    Thank you.
    James

    They are very, very different beasts.
    Firstly FAST Search for SharePoint is the old name for the product and is only relevant for SharePoint 2010 not 2013. It got merged into the standard SharePoint search for the 2013 release.
    SharePoint search is aimed at providing a Bing or Google like experience for your intranet content, as well as providing some nifty features that are purely SharePoint releated along the way. That means it can crawl SharePoint content, file shares,
    outlook mailboxes, internal and external websites and probably fifty other different things if you really tried. Whilst i'm not an expert on SQL full text search I believe it's intended to provide a search feature for content held within SQL databases
    and tables.
    Can you run SharePoint purely for Search? Yes, definitely.

  • Why does firefox 4 freeze on the 1st result page of google search engine

    I updated to Firefox 4 yesterday and now every time I use the google search engine my screen freezes on the first results page and will not allow me to click on any of the links on it, saying that it is not responding before eventually the screen goes white.
    I tried to find a solution on the Firefox Support page but the only solution relates to McAfee Site Advisor. As I do not have this installed and never have I was wondering if it would be possible for you to tell me how do I fix it?
    Thank you.

    Hi, i had the same problem, and I also use Bullguard, I contacted them, just received answer, (in about 20 min). It is incompatibility of FF4 and bullguard (they know about it, and fix will be released soon), and probably most of the other antiviruses, as I see this is very popular problem. The solution though is very simple : in firefox disable addon "Bullguard Safe Browsing". It works. Or alternatively open bullguard go : antivirus - settings - safe browsing (unchek that). For those not using bullguard i would recommend to check their addons in FF and if there is any from your antivirus try to disable it for now.

  • Service Ticket: Search using Inbox & My Worklist in IC WebClient

    Dear Gurus,
    When I create a Service Ticket in the IC WebClient in CRM 5.0 and save it, the system generates a Transaction Number which I can then search for by using Interaction History, Inbox and My Worklist.
    When I search using Interaction History, I select the relevant Service Ticket and the system takes me to an Interaction Record, and from there I can navigate to the correct Service Ticket.
    When I search using Inbox, the system takes me to a Service Order, which I do not believe is correct.
    When I search using My Worklist, the system also takes me to a Service Order, which I do not believe is correct.
    Any recommendations?
    Rgs,
    Alan

    Hi
    You can search service ticket from inbox ideally by entering the object ID in the agent inbox or you can also search for service tickets in interaction record which is an activity transaction type if you maintain the copy control for service ticket from interaction record then you can search for service ticket through the interaction record as well.
    refer to best practice link for the service ticket custimiseing settings for icwebelient
    http://help.sap.com/bp_crmv250/CRM_DE/index.htm
    Reward points if helpful
    Regards
    Dinaker vikas

Maybe you are looking for

  • Confirmed qty- if Orders placed at same time

    Hi We have an issue with the Confirmed qty in the sales Order while creating the orders through VA01 for stock items. If 2 users are creating the orders at the same time with  same qty 30, both orders are confirmed and DO will be created (Immediate d

  • How can i use messages on windows

    im trying to use my imessage on my laptop is there like a software that doesnt require jailbreak to send messages on the laptop?

  • Setting cipher suite name in Httprequest header

    Is it possible to set the cipher suite name in http request header ?

  • ORA-04031: unable to allocate 64 bytes of shared memory

    Hi All, We are performing System copy on a distributed environment with OS Windows 2003 and DB Oracle 10.2.0.4 While importing the Database (ABAP) only ,we are facing error and 5 import steps are failing  in Import ABAP phase. Error is "ORA-00604: er

  • Low quality Youtube-videos in Safari

    Since the introduction of iOS 7 the quality of YT-videos which are embedded in a website I'm viewing with Safari is very poor (to say the least). Even when I know for certain the video is available on YT in e.g. 1080p, Safari still only shows it in -