Highlighted search term

Hello,
     I have integrated a 3rd party search in the Portal using <a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5e514b57-0701-0010-3796-deb3636835fa">this</a>. The problem is that the search term is not highlighted in the search result list for results coming from 3rd party. Whereas if the result is coming from TREX the search term is highlighted.
All I could find was that TREX takes care of highlighting the search term and then this gets displayed. See the <a href="http://help.sap.com/saphelp_nw04/helpdata/en/06/0ca63b4df12308e10000000a11402f/content.htm">Keep Content</a> parameter in this docu.
I guess this parameter is available only for indexes using the Trex Search Service and since my index uses my custom Search Service, I do not see this parameter in the config.
I want the search term to be highlighted in the 3rd party search result also?
Has anybody faced a similar problem and is there a way to achieve this?
Many Thanks,
Akhilesh

Hi Karsten,
Thanks for the explanation. I am looking for highlighting the search term in the content snippet. Yes the 3rd party returns an abstract and in my code i set the htmlSummary when creating the rawresult
rawResult.setHtmlSummary(resultElements<i>.getResultField(NewsSearchResult.RESULT_KEY_DESCRIPTION));
where NewsSearchResult.RESULT_KEY_DESCRIPTION returns the search result abstract.
But i cant see the search term highlighted in the search results page.
If i use the standard TREX service for searching through docuents the search term is highlighted in the results page.
Your help is much appreciated.
Thanks, Akhilesh

Similar Messages

  • How to highlight search term in a different color in search results?

    Hi
                  How can I highlight search term in a different color in the search results. Currently it is black, I would like to change it to green.
    Thanks in advance
    Regards
    Vidya

    Dear Bhanu,
    It might be possibe but i am not fully sure about it.
    try with different combination and check it.
    I need to check whether it is feasible or not.
    Best Regards,
    Arun Jaiswal

  • RoboHelp 5.0 - Highlight Search Terms

    Hello,
    I found the following page about highlighting search terms through Adobe’s forum:
    http://www.grainge.org/pages/various_rh_projects/highlighting/index.htm   
    However, I was unable to download the Javascript .zip file from http://www.calvinly.com/weblog/000111.html     (the actual link is  http://www.calvinly.com/robohelp/highlight_search_X5.zip ).   Is there another way to locate this file?
    Thank you,
    Connie

    Hello,
    I found the following information at
    http://www.grainge.org/pages/various_rh_projects/highlighting/index.htm
    Reference the Javascript File
    The script is referenced by adding the following to in the <head> section of the page.
    <script type="text/javascript" src="highlight.js"></script>
    You can name the javascript file whatever you want as long as you amend the above accordingly. You will also need to enter path details if the topic is not in the root of the project. Click here if you need help with setting the relative path.
    Call the Javascript Function
    The topic you are reading calls the script by inserting the following immediately before the closing </body> tag.
    <script type="text/javascript"><!--
    beginSearch ();
    //--></script>
    This looks like a great feature.  Can someone help me to locate a copy of the highlight.js file?  (when I tried to download this file from http://www.grainge.org/pages/various_rh_projects/highlighting/index.htm I got a "file not found" message).
    Many thanks,
    Connie

  • Highlighted search terms in links...

    If I search the forums, then the search terms are highlighted (yellow/bold) in the resulting messages. This is nice except when the search terms appear in a URL. The URL then does not function as a link anymore like it normally does in messages here.
    For example:
    http://otn.oracle.com/docs/products/oracle9i/content.html
    because of the highlighting becomes:
    http://otn.<font%20style='background-color:/#ffff00'><b>oracle</b></font>.com/docs/products/<font style='background-color:#ffff00'><b>oracle9i</b></font>/content.html)manual

    What you seem to require is the search to return a list of results and to know which topic the user requires to see. No search output works like that. It is possible to highligh the searched keyword once you have displayed the topic (even with CHM files) but as Rick says it will not take users directly to it. That is true of all output types. Most output types have a find facility (CTRL + F) that can be used to find a keyword it requires the user to manually enter a keyword.
      The RoboColum(n)
      @robocolumn
      Colum McAndrew

  • How to open PDF URL with highlighting search term ?

    Hello
    I am trying to open a PDF URL in a browser and would like the PDF to open at the page coataining the first hit of a specific term and at the same time highlighting all occurences found in the document.
    Apparently one way to do it is to add this #search=termsearched to the URL such as in http://thePdfUrl#search=termsearched
    However this seems to work in some cases but not all the time. Kind of issues I am seeing are:
    1 - Once you open the PDF the search string does not get highlighted in  some cases and the left nave (search window) does not come in focus as a  default view.)
    2 - Another issues identified  it is striping the 1st and last chars from the keyword.
    3- Initial search doesn't seem to always work...Only if you open the pdf a second time the find funcionality seems to work as expected.
    Is there a better way to do this and to avoid these inconsistencies and have a more robust behaviour ?
    Thanks

    Hi,
    I have the exact same problem but I don't have a bar. I'm trying to use this URL "http://translate.google.com/#auto/en/" but the script changes the # to %23. Any ideas? Thanks
    Edit:
    OK, that's starting to get weird. I tried using this URL instead "http://translate.google.com/#auto%7Cen%7C". When I put it directly in the browser it works which means that it is correct. When I use it through Automator it keeps changing the # to %23. Now the weird part. If I put #fr like the original poster it doesn't change it. It only change it with #auto. Anyone have any suggestions? Thank you.
    Message was edited by: j.giazlas

  • Auto-open DHTML dropdowns containing highlighted search result?

    I have submitted the following feature request.
    Does anyone know of a script or other "trick" that will produce this result?
    When returning search results in published output, automatically open DHTML dropdowns containing the highlighted search term. Otherwise, users go to the listed page but cannot see the highlighted search term. There may be many dropdowns on a single page, resulting in some inconvenience for end-users of published output.

    Hi Willam
    I stand to be corrected on this, but won't that cause all drop-downs to expand for all topics? I understood the issue to be that only when a term was found inside a drop-down was when the expansion was desired. So perhaps a single page has ten drop downs and a searched term is found that occurs in one of the ten, only expand that drop-down do the term would be visible.
    AFAIK this isn't possible.
    As an aside, it always did strike me as odd that someone would go to all the trouble of inserting drop-downs and expands, only to later want them all presented by default when the topic was opened. Isn't the idea behind them to hide information until the user wishes to see it?
    Scratching head.... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • In a Google search, clicking on a search result causes the new page to open with the search terms highlighted in yellow -- how can I turn off th

    In a Google search within a Firefox session, clicking on a search result causes the new page to open with the search terms highlighted in yellow -- how can I turn off this highlighting?

    Try to clear the Google cookies and redo those Google options.
    * "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"

  • PDF files are very faint and the search function doesn't highlight the search term when found

    I'm using Firefox 5 with Windows 7 64 bit. When I open a PDF file the file is very faint and the search function doesn't highlight the search term in the body of the PDF.

    Dear Peter,
    I met the following problem, and please help me.
    My English (not Chinese) operating system: Windows XP
    Version: 2002
    Before using RoboHelp 7 to generate Webhelp, I perform the
    following steps:
    1. Control Panel->Regional Options
    2. On the "Languages" page make sure make sure you check the
    box "Install files for East Asian languages".
    3. On the "Advanced" page select "Chinese" from the language
    dropdown list.
    Then I perform the following steps:
    1. Use RoboHelp 7 to generate Webhelp (my Webhelp project
    contains localized Chinese files).
    2. In the "Search" tab, input a Chinese character(For example
    "连接") and perform a seach.
    Result: Serching...(or 正在搜索) or
    No topics found (or
    未找到主题)。
    Expected result: I can get the result.
    Text

  • Search terms not highlighted

    When I search, the page moves down, but the search term is usually not highlighted. If I continue to search down, some results are highlighted. This is described by this message: http://forums.adobe.com/message/4010198#4010198. I would have commented there or clicked 'like', but there was no visible option on the page for me to do so.
    Is this Adobe Reader problem being fixed or is there possibly anything I can do to fix it?
    I have Windows 7 x64; Adobe Reader 9.4.5.
    By the way, you might want to consider putting a 'check for updates' control in your product to encourage users to get up to the latest version. I do appreciate the link to the help forums.

    Reply added to the thread you linked to.
    Hopefully it helps you.

  • Outlook 2013 Search Term not Highlighting

    Hi
    I have Outlook 2013 running on a Server 2012 RDS Server connected to Exchange 2010. When searching, the search term is not being highlighted in the results
    Can someone advise
    Zatdam

    Zatdam mentioned outlook running on server 2012 RDS. The search function definitely doesn't highlight results even with those options ticked and highlight color is anything but white. Have you tested this out in terminal server environment? It works
    fine on PCs and all but not in TS.
    We just moved a bunch of users from local workstations to RDS 2012 and they use Outlook 2013 in Online mode. Their search works but it will not highlight the matching terms. 
    Is this by design in a RDS environment? is there a fix for this?

  • Highlite oracle text search terms

    I have a report that I set up using the instructions for Oracle Text Application in APEX. It works very well however I have the actual document as a link and I would like the search terms highlighted in the actual document. Is there a way to do that in APEX?
    I use this Region Source:
    select score(1) relevance, filename, dbms_lob.getlength("DOCUMENT") Document, code_id
    from documents
    where contains (document, :P10_SEARCH, 1) > 0
    order by 1 desc
    I read something about using ctx_doc.snippet to highlight but can get that to work.
    Any suggestions or can APEX highlight terms when the actual document is used?

    '8265490,
    Take a look at the ctx_doc.markup procedure. I think it will do what you want.
    http://download.oracle.com/docs/cd/B19306_01/text.102/b14217/view.htm#sthref599
    My home server is on a moving truck, so I can only point you to some old forum posts for examples:
    Re: Using Oracle Text with Apex
    Re: Use apex to display email
    Doug

  • What character splits search terms (for different search result tabs), searching from the search box.

    When we type in a search term, in the search box, the results can be shown in a tab. But how can you split search terms while entering them all at once, each search term providing results in a new tab.
    "Search Term|Search Term Two", using |;\ etc only sends the term in entirety beyond. What does this box handle and how to make it open two tabs when given two separated search terms.
    So what is this special character or setting?
    Thank You

    Thank u so Bruce , I finally found an answer to my question.
    The solution u provided looks complete except that i am confused by the meaning of strField , may i didnt provide more details in my  post .
    The strField var i provided earlier was not meant to be placed in my code  , the correct one is shown below .However , the strField means according to me is the field against which the search operation should take place based on the ( search Term )
    the user provided . 
    Here is the code after applying the solution u suggested :
    'Information collected from the user      
     strWhereToSearch = IIf(.framSearchIn.Value = 1, "[quknotSubject]", "[quknotBody] ")       
    strCondition = strWhereToSearch & "  Like '* " & strTextSearch & " *' OR " & _
    strWhereToSearch & " Like '" & strTextSearch & " *' OR " & _ 
    strWhereToSearch & "Like '* " & strTextSearch & "'" 
    'Fill result search  Recordset      
    strSql = " Select  * from qryExtraTool_QuickNoteSubCatMainCat   "         
    strSql = strSql & " WHERE   " & strCondition & "  ORDER BY quknotDate"  
    'Control Source for the text box to display matches. ( Highlight the search word )     
    txtQuickNoteBody = SearchHilight(strWhereToSearch, strTextSearch)
    Tell me if my implementation to your code is right ?
    Thank u again Bruce ...

  • Search terms: boolean and exact phrase

    I constructed my search terms per the "tips" to find messages containing the exact phrase "save as" and the word corrupt:
    "save as" AND corrupt
    the search returned a list of messages with the word "corrupt" highlighted as I would have hoped, but it also listed messages with "as" highlighted and even more bizarre, with the word "and" highlighted.
    Did I miss something in the discussion of boolean expressions? Do I have to do something special to cause it to treat "and" as an operator instead of as a search string????
    and why is it highlighting "as"???

    I'm not seeing how that answered any of my questions.
    I think my answer goes to this question:
    Do I have to do something special to cause it to treat "and" as an operator instead of as a search string????
    To:
    Nor does it illustrate that the exact phrase operation is working.
    You are correct. All it does is help you to get better results than you got using AND.

  • Duplicate check on search term for BP creation in CRM

    HI,
    I want to do a duplicate check on search term for BP creation in CRM.
    i found one BADI ADDRESS_SEARCH. But the method address_search is not getting called.
    Is there any other BADI available? how can I handle this issue?

    hello,
    BP is BDT (Business Data toolset) enabled (you can check it by adding break point in FM BUS_PBO and executing BP transaction). You can add your check directly to standard view (the check will be executed each time when user pushes enter) or you could add you check to appropriate action (during saving etc.) there are number of actions which you could use it depends on your requirements. You can find a lot of info about BDT (if you are not familiar) in Wiki.
    br,
    dez_

  • I am having a big problem with entering search terms in Google

    Here is the problem. I enter several search terms and do a search. So far, so good.
    After I am finished clicking on one or more links I return to the Google search page to do a new search.
    Since most of the words are the same, except the last one or two, I backspace over the old words and start entering the new ones.
    Then very strange things happen much of the time.
    1. It may restore the old words (the ones I already backspaced over and erased) and put my new words behind the old ones.
    2. It may just restore the old words, that had been backspaced over, completely removing the new words I had just typed in.
    Any ideas why this keeps happening? Is it Google or Firefox causing the problem?
    It seems very strange that words that had been backspaced over (erased) magically reappear as if I hadn't removed them.
    Thank you.

    What is the problem?
    Does send work?
    Receive?
    Error messages?
    Does the account work on other devices?
    DId it ever work on an iOS device?
    Did yo Google for the setting to use?
    DId you delete the account on the iPod and tried again?

Maybe you are looking for

  • Fail2ban fails to send emails

    Good evening to everybody, guys! I've setup my Arch installation on a brand new laptop... Just to increase security I've decided to install Fail2ban to protect my system (and some well-known ports) from inappropriate login attempts. Ok, everything wo

  • Open MrSid files in Photoshop CS4

    Hi, I had a question about Photoshop CS4. Can MrSid files be opened and viewed with Photoshop CS4? I tried opening a MrSid file but it stated that it was not the right kind of document. Thank you in advance for your help. Brian.

  • Snow Leopard Issues Again

    Ever since I have installed Snow Leopard my camera profile doesn't seem to be right. My pictures look awesome on the back of my D3 and also in "Photo Mechanic" which I'm told is just a jpg preview of the RAW file, but once I import them into Lightroo

  • Updating podcasts to just the latest "new" one

    I used to have my podcasts set to manual and when I wanted new ones, I only wanted the latest new one. Not all of them as I dont have the time  for them all. I used to be able to downlaod them that way until iTunes 11. I have it set still to manually

  • Information regarding Portal user licensing

    Hello Experts, i am looking for some standard SAP documentation ,Article or PDF which describe the Portal users licensing procedure/process in detail. Also if in production Portal let say there are 1000 users and due to some reasons they are not usin