Ranking on FreeText Search

 Microsoft SQL Server 2012 (SP1) - 11.0.3368.0 (X64)
    May 22 2013 17:10:44
    Copyright (c) Microsoft Corporation
    Enterprise Edition: Core-based Licensing (64-bit) on Windows NT 6.2 <X64> (Build 9200: ) (Hypervisor)
This is my Search string.  I am using FREETEXTTABLE(dbo.pur_Item,ItemName,@searchfor) in the query.
DECLARE @searchfor varchar(500)
Set @searchfor = '4''0X6''8" 1 3/8" Composite Wood'
These are the results.   My question is why line 15 is ranked as 84. I would expect it to have a rank of 252 or at least
a higher ranking than line 10.

The exact algorithm for FREETEXTTABLE ranking (as of SQL Server 2008 R2) can be found here.  (I do not currently find a 2012 explanation of the algorithm, but I have no reason to believe it has changed.
http://technet.microsoft.com/en-us/library/ms142524(v=sql.105).aspx
Interesting things to consider:
ItemID 8903 is longer than the other lines showing.  It looks long enough to be in the next larger ranking bucket which might affect rank.
If the indexes are not merged, then it can affect the ranking of the row.
The LANGUAGE of your full text search will affect how some words are broken
Also FREETEXTABLE is a much looser search than CONTAINSTABLE, as you can see by the description and algorithms.
So, I cannot analyze this for you exactly, but there are factors that you can see from the documentation.
Experiments: 
Make a copy of ItemID 8903 and trim the length of the data to see if that changes the RANK.
Try recasting your FULLTEXTTABLE query as a CONTAINSTABLE query and see how that changes the results.
RLF

Similar Messages

  • Database fields at runtime and freetext search

    Hi,
    We have started to look into Kodo 3.0 and have used the reversemappingtool
    for generating java classes for our current database layout. We are
    considering if we should use Kodo/JDO to refactor some of old code.
    In our old system we have some features which we would like to move
    to the new implementation, but we are not sure if this is possible.
    1) At runtime we would like to a database field which we can maintain,
    use a default value when inserting and update with new value. Can
    it be done, do you have any example code ?
    2) In addition to 1, it would be nice if we at runtime could make a custom
    table and maintain it.
    3) Support for freetext search on Oracle and Sybase, how can it
    be done, do you have any example ?
    Best regards,
    Karsten Mathiasen

    Hi Kaushik,
    You can make use of APPCC class of your FPM application enhance your appcc class and write your logic to the post exit method. There you will have IO_OVP instance and this interface have all the method which can hide tabs from your application on runtime.
    But for the field hide you need to dynamically prepare your screen in your feeder class.
    For using APPCC you can refer http://help.sap.com/saphelp_nw74/helpdata/en/3e/741ac912a143368cded7cc418a4bc8/content.htm?frameset=/en/f5/823cdb32254707aec436de005e0ada/frameset.htm.
    Thanks
    Praveen Gupta

  • How to force topics to be ranked higher in Search?

    I am using RH9. I have read the articles about how Search results are ranked:
    In order, it is based on the search word appearing in:
    The topic title (as in Topic Properties and not to be confused with the Topic Heading)
    The topic keywords (Increasing the frequency of a word as a keyword will not help as it will be considered only once.)
    The topic headings in descending order so the word appearing in H1 will take precedence over the word appearing in H2
    The body of the topic. Each occurrence of a word in topic is summed to calculate overall weighting of a word in a topic.
    However this does not seem to be the case for me. I have a topic called "Supported Chart Types" that I would like ranked 1st when searching on "chart". However, it is ranked 22nd despite the fact that the word "chart" appears in the topic title and 18 times in the body (and is a keyword). The #1 ranked topic for this search term is "chart layer" which has the term appearing once in the topic title and only 6 times in the body (and has no keywords). Does anyone know why this is happening? Does anyone know how we can influence the ranking so that topics we decide are more important rank at the top?

    Thanks Colum
    Forgot to mention that. Indeed you would also want to ensure you include an Index keyword pointing to the desired topic.
    Another way to increase rank and stack the deck to favor a specific topic would be to have some hidden text in the topic formatted as Heading 1. Heading 1 terms are assigned more weight than basic text or lower headings.
    The bottom line is that this is somewhat of a "Black Art" and there are many different ways to manipulate the data to achieve specific outcomes.
    Cheers... Rick

  • Freetext search in sql server

    Hello all-
    This is much more a SQL Server question than a ColdFusion
    question- but I'm not using Transact SQL, so the SQL Server
    resources aren't really telling me anything I need to know.
    I'm using FREETEXT for full-text searching on SQL Server
    2000. (CF8 on Windows) Currently this gives me an 'OR' search.
    So if I put in 3 words such as: 'web policy manual' the
    search will come back with anything that contains ANY of those
    words.
    Does anyone know how to change that to an AND search that
    will return only the documents that contain all three?
    Thanks for any help-
    Karl

    I did end up using CONTAINS, but it took me a few tries to
    get it right.
    Contains with an 'OR' is easy, but contains with 'AND' means
    that each word in your search criteria needs to be in a different
    function. And none of those functions can fail, or the whole thing
    will fail.
    So first I had to clean up the search critiera, then do the
    search itself. I have attached code samples below.
    Thanks for the suggestions-

  • Ranking in RH8 Search

    Is it possible to remove ranking from Search?  If not, can you change Search so that when you search by title instead of by rank that it sorts alphabetically across ALL pages rather than by those appearing on each page?

    No options built in that I am aware of and no workrounds seen. There are posts about changing the column width so in theory you could hide the ranking column but that would not prevent it functioning.
    Take a look at the ZoomSearch article on my site. Would that provide what you want?
    See www.grainge.org for RoboHelp and Authoring tips
    Follow me @petergrainge

  • Ranking Results for Search not working

    We have just installed a trial version of RoboHelp Server 8. I have published 2 test projects in FlashHelp Pro using RH8. When we test the search results feature, the results display in the order the topic is found in the TOC instead of H1, Keywords, H2/H3, etc.
    I have looked high and low to find a setting that may be dictating this, but have found none. Is there something I'm missing?
    Oh and since I like to eat my cake too, is there a way to display a percentage of the result (i.e., topic one 80% meets search criteria, topic two 65% meets search criteria)?

    John -- thank you for your reply. I did read the post that you referred to, but that's not how this is working. Neither Server nor Client side search is ranking the results correctly, well at least I don't think so.
    Server Side Search
    When I search on Activities I get the following results in this order (all topics are in the TOC)
    1. Notepad Overview - word in text only.
    2. Empower Main Screen Layout - H3, H4, text
    3. Editing Activities - Topic Title, File Name, H1, text
    4. Adding Activities - Topic Title, File Name, H1, text
    5. Activities Overview - Topic Title, File Name, H1, text
    The items above are in the TOC in this order from top to bottom: 2, 1, 5, 4, 3.
    Client Side Search
    When I search on Activities I get: "No Topics Found".
    Other topics I search on seem to display. The results don't display in TOC order, however, they also don't display based on the rank as defined in the Help or the Post you recommended.
    Neither search works if I enter keywords in quotes. Nothing happens at all when I use quotes. At the moment, none of the Actitives topics have keywords.
    Slight tangent:  I am using, or trying to, FlashHelp Pro. Although the Online Help states I can select substring search and context results, there are no options on the layout screen to select this nor on the Window options. I see this if I setup the FlashHelp layout, but the client really wants the reports and other features that Pro offers so I need to get Pro to work as it should.
    RoboHelp Admin Info
    When I log into the Administrative side of RoboServer the Settings page displays Database and Search options when setup for Server Side search. When setup for Client Side Search, the Sever option disappears. If we stick with Server Side searching, what does it mean by "rescan search engine"?
    Is it possible that something wasn't selected correctly during the RoboServer Install? The IT department sits in a totally different state that I'm in and I don't know what the defaults are during the install process as I'm not there and we are doing this all via email.
    PS: Not to throw another wrench into this issue, but....we are not using an Index. This is the first time I have created Online Help without an Index. Is this having some sort of impact on the search functionality that I am unaware of?
    Regards,
    Cindy

  • How iTunes Ranks Podcasts When Searching by Keywords

    Hi all. I have a podcast called OperaNow! I have been doing since 2007. We have 125 reviews, almost 200 episodes and have been producing fairly regularly for that time. A few breaks here and there, but have stayed up-to-date.
    My question is how iTunes determines what is listed when you do a keyword search. If you search for "opera", and then filter down by "podcasts" on the right it has a listing if 10 or so opera related podcasts. You can then press "see all" to see w longer list. My show is buried so deep it's amazing. We used to be higher up but have dropped down over the years.
    Is this listing also determined by recent subscribers/activity? Some of the shows in the top 15 haven't producded new material in a few years, yet there they are. I'm just a bit confused as to how this is determined?
    Any ideas?
    -A frustrated podcaster

    The methods the Store uses for ranking searches and choosing featured podcasts are shrouded in mystery. they may well be related to the number of subscribers, the frequency of updates, the perceived interest of the podcast itself, or any other factors. We don't know, and they aren't telling.
    There isn't anything you can do about this except to make your podcast as interesting as possible, which I'm sure you are already doing. You are, though in competition with thousands of other podcasts.

  • HOW TO GET RANKED IN GOOGLE SEARCH ENGINE LIST

    Hello,
    My Name is Etay and We have published a website (Apex 4.x) few weeks ago : (http://www.postme.co.il)
    In order for google to rank the website I have used :
    1. Page 0 method.
    2. sitemap generated by : http://www.xml-sitemaps.com
    3. Rewrite Mod (to prevent ...the regular).
    4. Publised in Many websites.
    5. Followed some SEO tips.
    6. Did some facebook Ads (Paid) + Google Ad words (Paid)
    6. I am leaving in a small country and market is not that BIG.
    Seems that My Web site is hardly indexed.
    Can you suggest a Good document / Method / Step by step instructions of HOW to raise ranking in google ?
    Regards
    Etay G.

    Have you seen this thread??:
    Oracle APEX site unable to be crawled by Google crawlers / SEO?
    Thank you,
    Tony Miller
    Webster, TX
    Never argue with an idiot. They drag you down to their level, then beat you with experience.
    If this question is answered, please mark the thread as closed and assign points where earned..

  • Does Flash harm my website rank on Google search results?

    Hello.
    I know this might be the wrong place to ask this question but I thought I might give it a go anyway.
    This is my website: http://surround-sound.co.il
    Thanks guys.
    <moved from acrobat forum by kglad>

    This is the forum for Acrobat forms. I suggest you might try a forum related to Flash.
    A tip: don't link to your web site. Because some people use forums for spamming, adding links to your own sites in messages could cause you reputational damage, or even get you in Google's LAP (link abuse program) black list.

  • Search ranking (Autonomy) of weblogic portal's content management?

    Hi All,
    I would like to know is there any methods for me to manually customize the ranking of the search results of the contents in the content management repository provided by the weblogic portal? Either in Autonomy aspect or in Weblogic portal aspect is ok.
    What I prefer is to add some tags into the content document so that I can make the desired content to have a higher ranking in the search results.
    Thank you for yours help!
    Regards,
    Kevin
    Edited by kevin45 at 07/05/2007 3:44 AM

    Hi Kevin,
    If there is a single search you wish to order results for, and the search results are generally of a single ObjectClass, one way to do this is to add a new property definition of a numerical type to the ObjectClass.
    Make this an explicit property (which means you would need to manually add a column to the CM_NODE table).
    For each Node in the search result, you could assign this property value.
    You can then sort on the explicit property values in the search.

  • RH8 and RoboServer 8 Search Issues - no ranking and renders list most relevant last

    Hello
    I have a RoboHelp 8 project and I am publishing it to RoboServer 8 in Flash Help Pro format.
    The Indexing works great, but the Search process leaves a lot to be desired.  In the example below
    I searched for the word video, because I know I have a lot of videos in the project.  Notice (image below) in the search pane
    on the left that any topic that has the word video is located at the bottom of the list that was returned.
    I noticed that when this list was rendered, it appeared that "Distribute Your Survey Video" did come in
    first, but rendered at the bottom of the list.  Is there a way to get this to reverse and show the most relevant
    at the top of the list?
    Note, we were using Web Help previously and the Search in RH8 worked great along with the ranking, etc.
    With our new release of our product on January 22, we changed the help to Flash Help Pro and had someone
    design a new flash help skin that matched our product, so we need to use FlashHelp Pro and publish to
    RoboServer 8.
    I read up on this and found that there are two modes of search, one that defaults to the server search/indexing and one
    that defaults to the client search.  I modified the installation file on the server to accept the client side, because I thought it
    was the server that was causing the problem, but this did not help.
    Anyone, that has come across this problem and has a solution, I would be eternally grateful for your input.
    Thanks, Lana

    Hi Lana, CJ
    RoboHelp Server does support ranking of search results both for WebHelpPro and FlashHelpPro and also for both modes of indexing i.e. Server Side Indexing and Client Side Indexing.
    @CJ: The search results are sorted according to relevance by default and the only reason we do not show any ranking numbers in search results list in FlashHelp is because it's kind of obvious that the first results is #1 and second is #2 and so on . Even for WebHelp, starting with RoboHelp 9, authors have an option to hide the rank field in search result list because the ranks are kind of obvious and they unnecessarily take up a lot of space in search result pane.
    Now the reason your topic "Distribute Your Survey Video" is listed down in the list, could be that it is actually less relevant than otehr topics in context of search query "video". Relevance of a topic for a search query is calculated on basis of number of things which include:
    If searched word occurs in topic title
    If searched word occurs in headings within topic
    If searched word is a keyword in topic
    Number of occurences of searched word in topic
    It could be possible that other topics are ranked higher because they have more occurences of word "video" or some other combination of above mentioned reasons.
    To increase ranking for your topic "Distribute Your Survey Video", you can make "video" as a search keyword in that topic using the "Topic Properties" page in RoboHTML.
    Tulika
    Adobe RoboHelp Team

  • Muse sites not ranking in search engines

    Does anyone have any suggestions to offer?  I have two sites who rank low when searched by title.  For example, searching for The Chamber and the Cross (website www.thechamberandthecross.com ) the site is on the 6th page.  Yet the newly created facebook page is a first hit and the goodreads page with only one review is now even coming up higher.
    I have manually uploaded the site index to google.  The site has well placed keywords.  The name is in the text throughout the site as keywords, H1 text where appropriate, in the page descriptions, set as alt text on photos.  I have at least a couple other well-ranking sites with links to the site.  I don't know what else to do!  These are the only two sites I've developed using muse and I've never had an issue with any other site, so I must assume this has something to do wtih Muse itself.  The sites are hosted at bluehost and I upload them via a 3rd party ftp.

    Hi,
    Please check these posts for the similar discussion :
    https://forums.adobe.com/message/5012761#5012761
    Re: SEO in Muse
    Regards,
    Aish

  • Searching with large text

    Greetings,
    We are evaluating Oracle 10g specifically for its Oracle Text functionality and are having a difficult time trying to figure out how to use large text for searching.
    Specifically, we have a table containing large, full-text descriptions that we wish to find using smaller abstracts. Our full-text may be anywhere from ten thousand to a hundred thousand characters in length. Our abstracts tend to be much smaller; in the five hundred character range.
    We wish to use these smaller, five hundred character abstracts to locate documents that may be related based solely upon common keywords. We will eventually get into concept matching, but for now we simply wish to find document matches based upon keywords. This query is quite similar to ORing every term in the abstract and performing a CONTAINS query, but should hopefully be less clunky.
    SQL Server allows us to do this quite simply by performing a freetext search. We plug our abstract into the search algorithm and receive a listing of documents that it deemed to be similar.
    Does Oracle Text provide a similar functionality and, if so, can someone point me in the right direction?
    Many thanks,
    Kirk

    We are currently using a tool mandated by our client to cluster documents and perform concept (theme) based searching. This tool does not, however, perform keyword searching. We are looking to supplement its results with keyword search results from, say, Oracle Text or SQL Server (or Google or any of 100 other keyword search capable tools on the market).
    We already have a working prototype that uses SQL Server. Using fulltext keyword matching, it accepts an abstract and returns to us all of the documents that mostly closely match. We would like to also perform this test in Oracle Text, however, we are unable to figure out how to make Oracle accept a large text for searching without significant reformatting.
    For example, say my text is "Four score and seven years ago". In SQL Server, I am able to pass this in, as is, and it will return to me the Gettysburg Address as its highest ranking match.
    With Oracle Text, I was able to produce similar results, but I had to reformat the query string to "$Four$|score$|and$|seven$|years$|ago". I am looking for a way to pass in "Four score and seven years ago" without having to perform any gyrations on the text.
    Thanks,
    Kirk

  • Custom Field Searches in Acrobat possible?

    Hello,
    We have been given 2 projects to undertake.
    Project 1: Scan a number of annually published printed books to searchable (ocr) pdf format.  This isn't a problem.
    Project 2: The above annually published printed books are now required to be published electronically on CD.  We have the electronic content of the next book in Microsoft Excel format. The data is primarily made up of titles & headers and then a hundreds of names (surname, forename).  We are comfortable that we can dynamically create and format the PDF book from the Excel file.  However, our client has asked if it is possible to perform exact field searches on the data fields that we have imported from Excel.  So (rather than do an open freetext search) have the ability to search like:  surname = smith; forename = john.  The visitor would then see the results in a similar way as to how the index catalog output looks (ie. you see the matching page results on the left).
    Question: Is this possible using Adobe Acrobat 9 Pro?
    Question: If not, is there another product that could be used?
    Really appreciate your help with this.
    Thank you,
    Paul

    This can be done. In fact, it is kind of part of the PDFFolio system I developed some years ago. This system was, for example, used in the IRS Tax Products CDs for a few years.
    Feel free to contact me in private for further conversations in order to provide a quote.
    Hope this can help.
    Max Wyss
    PRODOK Engineering
    max at prodok dot com

  • Using "Restrict by app" in change query causes issues with Search Results

    Hello!
    I am hoping some experienced SP admin can help me out. I am having issues with the relevance ranking for my search results web part.
    I created a Wiki (OOTB) within a site collection and on the home page of the Wiki I was looking to apply a Search Box and Search Results web part for easy searching. I wanted to ensure the search results were restricted to the scope of the pages within the
    wiki. I did the following after adding the 2 web parts:
    Entered edit mode for the page
    Started to edit the Search Results web part
    Under Properties for Search Results clicked on "Change Query"
    Navigated to BASICS and clicked "Switch to Quick Mode"
    For Select Query, picked "Wiki (System)" option
    For Restrict by app, picked "Specify a URL" and input the wiki URL "http://webapp.com/sites/sitecollection/wiki"
    Click OK
    The web part has 6 automatic results when I hit the page. These are the only 6 pages in my wiki. When I search a word or title of a page, they are not ranked in order or relevance. The ordering is static to what was being shown before the search, but the
    keywords I'm searching are bold. With out the taking the steps above, I can easily search these pages and have them ranked appropriately so I'm not too sure what I'm doing wrong. 
    Other Details
    The pages have been crawled and can be searched from anywhere else in SP.
    I am only a site collection admin for this specific site collection.
    I other than the steps above, I have not made any changes or customization to the search web parts; they are both out of the box SP.
    The SP Farm admin we unable to pin point what the root cause is either.

    Hi Mikael,
    Sorry for the wait, I was unable to post pictures, which i felt would better describe my issue.
    Could you output the query template you are ending up with?
    If you can tell me how to accomplish this, then I can provide it. Please keep in mind that I am only a site collection admin.
    Also, is the ranking/sorting for your webpart set to ranking?
    When looking at the web part settings, I didn't see an option to modify the ranking. Unfortunately, some sites in my intranet are down now so I can't even double check. Once it's back up, I will verify this as well.
    And how do you know they are ranked incorrectly?
    I wanted to display an image showing what I meant by this. As the wiki is down, I'll do my best with words. When I visit the wiki home page, I already have the search and search results web parts there. Without searching anything, the search results
    web part displays 6 pages that are available in the wiki. When I search, I expect to see the most relevant result at the top. similar to the following: 
    *Search result from another section of the intranet site.*
    What I receive instead is the same list of wiki pages, in the same order. The most relevant result
    is not moved to the top like in the image above, but I can see that the word "rush" is highlighted in bold. I hope this helps.
    If you need more of a description, please let me know.
    Thank you

Maybe you are looking for

  • Charging iPod Nano in the car

    From other posts in this area it seems that the iPod Nano is able to be charged via an Apple Firewire/iPod cable but it will not sync (transfer tunes) via the Firewire cable. This seems OK provided that I can continue to use my Griffin car charger to

  • Compiling Apache 2.2 and php 5.2 from source on Arch

    Hi there Wanting to compile Apache 2 with PHP 5 on my Arch server. I figure this must be frequently done by people out there wanting more control over how their servers are setup, and was wondering if anyone had some good documentation for this? If n

  • Business Object's Hot Patches

    Hi, We are currently using Business Object XI Release 2, hot patch 2, we would like to upgrade to the latest hot patch. Our question is, if we take the latest Hot Patch would it include all the previous Hot Patches? Or, do we have to upgrade one patc

  • Error while trying to validate two input boxes at client side.

    This is the code i am using to validate two input boxes. I get an error in the IE which says: <b>'undefined is null or not an object'</b>        function validateInput(){             var noNull = validateNull();             var noNullTwo = validateNu

  • I cannot attach How do I get my bookmarks back and the attachments to work again?

    How do I get my bookmarks back and the attachments to work again?