Error search results display

In my project,our database table contains UTF-8 code contents. the search results display like this:
���
63212119771216001x
作者: 胡国强
/search/query/display.jsp?type=table&id=7&k1=N80382&k2=N0&k3=N0&k4=N0&k5=N0&k6=N0&k7=N0&k8=N0&docid=30012 - 3 字节 - 已高速缓存 链接
how can resolve the problem

Hi Chasquad,
From the code in your post, you need to delete the "<!--#_ }_#-->" after the div.
I also recommend to add this div into the <div
id="OfficeLocator">, and the code should be like this:
<!--#_
if(has_olocator == true) {
_#-->
<div id="OfficeLocator">
<!--#_
var encodedolocator = $htmlEncode(ctx.CurrentItem.OfficeLocator);
var displayolocator = Srch.U.getSingleHHXMLNodeValue(hhProps, "OfficeLocator");
if ($isEmptyString(displayolocator)) { displayolocator = encodedolocator }
_#-->
<div id="OfficeLocatorValue" class="ms-srch-ellipsis" title="_#= encodedolocator =#_">OfficeLocator: <a clicktype="Result" id="NameFieldLink" href="_#= ctx.CurrentItem.OfficeLocator =#_">_#= ctx.CurrentItem.OfficeNumber =#_</a></div>
</div>
<!--#_
_#-->
Thanks,
Victoria
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Victoria Xia
TechNet Community Support

Similar Messages

  • When i am on the 4 step in Search Result Display options, i get errors after 2 radio buttons

    I am using Oracle portal 9.0.2 version
    When i am on the 4 step in Search Result Display options, i get errors after 2 radio buttons
    Default Search Results Page
    This Search Portlet
    An unexpected error has occurred (WWS-32100)
    User-Defined Exception (WWS-11230)
    Unknown Exception (WWC-45131)
    ORA-20101:
    ORA-06512: at &quot;PORTAL.WWSBR_STDERR&quot;, line 437
    ORA-06512: at &quot;PORTAL.WWPOB_API_PAGE&quot;, line 3369
    ORA-01403: no data found
    ORA-01403: no data found (WWC-11230)
    No data found (WWS-32101)
    ORA-1403: ORA-01403: no data found
    ORA-01403: no data found (WWC-36000)
    Error: An unexpected error occurred: User-Defined Exception (WWC-43000)
    Please help me with this one
    P.S I tried to run inctxgrn.sql, but it did not solve the problem

    i solved the problem by runing 2 scripts as a portal user
    You can refer to bug - 2418089. This was fixed in 9.0.2.3
    begin
    wwpre_api_value.set_value_as_number
    p_path => 'oracle.portal.search',
    p_name => 'searchresultpageid',
    p_level_type => wwpre_api_value.SYSTEM_LEVEL_TYPE,
    p_level_name => null,
    p_value => 6,
    p_commit => true
    commit;
    end;
    begin
    wwpre_api_value.set_value_as_number
    p_path => 'oracle.portal.search',
    p_name => 'searchresultpagesiteid',
    p_level_type => wwpre_api_value.SYSTEM_LEVEL_TYPE,
    p_level_name => null,
    p_value => 6,
    p_commit => true
    commit;
    end;
    NOTE - The difference is the value of 'p_name' attribute. If u see carefully it is 'searchresultpagesiteid'. The first time u run this the value is 'searchresultpageid'.

  • Search Results Display Preference as "Advanced" not working in R12

    Hi Everyone,
    I'm unable to do an Advanced search in R12(12.1.3) whereas "Standard" search is working fine at 'Search Results Display Preference' in Oracle Applications Home Page.
    Advanced search throws 'http 404' error in all upgraded instances.
    Is there any patch need to be applied or setups as part of R12 upgrade. Kindly help.
    APPS - R 12.1.3
    DB - 11.2.0.3
    OS - IBM AIX 6.1.0.0
    Thanks in advance,
    Lakshmanan

    Thanks for the reply.
    I got only below error in Apache log and no error message at application/server logs.
    10.15.29.7 - - [28/Jan/2013:10:39:41 +0000] "GET /OA_HTML/null/search/query/search?search_startnum=&search_endnum=&num=10&search_dupid=&exttimeout=false&group=null&q=&btnSearch=Search&search_p_main_operator=all&search_p_atname=Language&adn=Language&search_p_op=equals&search_p_val=en&search_p_atname=&adn=&search_p_op=equals&search_p_val= HTTP/1.1" 404 134 0 "http://myaixmachine.nonet:41400/OA_HTML/OA.jsp?OAFunc=APPSSEARCH_DEFAULT_RESULTS&SearchableGroup=All&SearchText=&searchGroupDisplayName=null&renderSESUI=Y&retainAM=Y&addBreadCrumb=RP&OAMC=K&_ti=1388080887&oapc=20&oas=JNSHKRyzArPiepE5EfDLFA.." "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; Tablet PC 2.0)"
    Thanks,
    Lakshmanan

  • Search results displays title from the document and not from its metadata

    Hi All,
    I have an issue with SharePoint 2010 Search results. While searching for any content in SharePoint, it displays the title value from the keyword in the document and not from the metedata.
    Scenario:- I have a document library and a document named "Bill Details C1234.doc" in it. The title for this item in document library is "Bill Details". However on searching with keyword "Bill" it displays the
    first word in the word document which is "I".It should display the title set in the document i.e. "Bill Details".
    Please suggest

    I think you're looking to do the reverse of this:
    https://social.technet.microsoft.com/Forums/office/en-US/c2ec4fc2-e04c-453c-8035-4f334f062d05/have-search-results-display-the-filename-of-a-word-doc-instead-of-the-title-metadata?forum=sharepointsearchlegacy
    check this out as well, again I think you want to reverse part of this where it references filename
    http://chris.gg/2011/06/display-filename-instead-of-document-title-in-sharepoint-search/
    So, where it references Filename, you would put title, but leave where it references title alone.  Or maybe I misunderstood and you are looking for exactly this, to make search display the filename and not the title, in which case I trust that you'll
    find this to be your answer.
    Stacy Simpkins | MCSE SharePoint | www.sharepointpapa.com

  • TS1368 No search results displays in iTunes

    I go to the iTunes app and type in a search for an artist or song for music, and nothing is ever displayed.  The screen stays white and nothing appears.

    Hi Willam,
    Sorry, not sure what happened with the previous post.
    That’s what I did to begin with. Since I knew that layout worked for me and took care of the issues with the corrupt (Theme1) layout for the other project, I imported that into the current project. There seems to be something wrong with the layout or the project itself, though, now. Whenever I compile the project I get multiple errors stating the Search result widget isn’t allowed in the Topic screen layout page. I even created a completely new project, imported all my topics from the previous project, and imported the layout again and still it keeps giving me the error that the Search result widget is not allowed in the Topic screen layout page.
    I don’t think this has anything to do with iOS, since I’m seeing the issues when viewing the help file on both a laptop and PC; haven’t even viewed it on a device yet. At any rate, I just don’t understand why I’m getting all these errors, having all these issues with the Responsive HTML5 format. It’s been especially frustrating since I thought I had already resolved the layout issue.
    Any other ideas??
    Thanks,
      Dave

  • Why won't search results display one page at a time?

    Search result pages using google automatically load so i can never get to options at the bottom of a page.
    Driving me nuts! Just want to load 1 page at a time!!!

    Some extensions have this feature, e.g., AutoPager. Can you check your extensions on the following tab for any that seem to imply that they make using Firefox faster or more automatic and try their Options button to see whether you can turn off this feature?
    orange Firefox button (or Tools menu) > Add-ons > Extensions category

  • Search results display a block of links highlited in blue below the normal search listings

    Here is the problem I am seeing:[[ NOTE: block of links appearing below each search item.]]
    Live telephone support number? | Firefox Support Forum | Mozilla ...
    support.mozilla.org › Home › Support Forum‎
    Sep 22, 2010 - Mozilla do not offer telephone support. The options they offer are this forum or a text based chat service (not always open). For more details of ...
    [[#2 | PR: ? | Google Cache Date: ? | Traffic value: ? | Age: ? | del.icio.us: ? | del.icio.us Page Bookmarks: ? | Stumbleupon: ? | Twitter: ? | OSE links to page: ? | OSE links to domain: ? | Blekko domainlinks: ? | Alexa: ? | Compete.com Uniques: ? | Trends | Cached: ? | dmoz: ? | dir.yahoo.com: ? | Botw: ? | Business | Whois | Yahoo position: ? | Majestic SEO linkdomain: ? | Google +1: ? | Unique linking domains to website: ? | Unique linking domains to page: ? | FB: ? | Pinterest: ? | Linkedin: ?]]
    How do I remove this block of links from my results pages

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

  • Why does my search results display in Korean despite all my settings saying that my default should be American English? (Yes, I am in Korea, but don't understand Hangul.)

    I am in Korea on Business and do not speak the language. I am an American and all of my settings on my computer and browser reflect this. However whenever I type in www.google.com I am automatically redirected to http://www.google.co.kr/. When I do a search from here it is in Hangul and I don't understand it. How can I get all pages to display in English? Is there an automatic translator that does this?

    Thank you I am now more educated about Google, and the intricacies of being in other parts of the world. This solution proved perfect and I set my homepage to reflect the "/ncr" which works perfectly.

  • Search results displaying all records, please help

    i did post this before but didnt have any luck I have used my search script before but tried it again and it is returning ALL the results from the DB..Can anyone see what i am missing?
    $var_SalaryReq_Recordset1 = "%";
    if (isset($_GET['SalaryReq'])) {
      $var_SalaryReq_Recordset1 = $_GET['SalaryReq'];
    $var_skills_offered_Recordset1 = "%";
    if (isset($_GET['skills_offered'])) {
      $var_skills_offered_Recordset1 = $_GET['skills_offered'];
    $var_location_Recordset1 = "%";
    if (isset($_GET['location'])) {
      $var_location_Recordset1 = $_GET['location'];
    $var_PositionReq_Recordset1 = "%";
    if (isset($_GET['PositionReg'])) {
      $var_PositionReq_Recordset1 = $_GET['PositionReg'];
    mysql_select_db($database_hostprop, $hostprop);
    $query_Recordset1 = sprintf("SELECT userid, FirstName, Surname, SalaryReq, PositionReq, location, otherComments, skills_offered FROM think_signup WHERE SalaryReq LIKE %s OR PositionReq LIKE %s OR location LIKE %s OR skills_offered LIKE %s", GetSQLValueString("%" . $var_SalaryReq_Recordset1 . "%", "text"),GetSQLValueString("%" . $var_PositionReq_Recordset1 . "%", "text"),GetSQLValueString("%" . $var_location_Recordset1 . "%", "text"),GetSQLValueString("%" . $var_skills_offered_Recordset1, "text"));
    $query_limit_Recordset1 = sprintf("%s LIMIT %d, %d", $query_Recordset1, $startRow_Recordset1, $maxRows_Recordset1);
    $Recordset1 = mysql_query($query_limit_Recordset1, $hostprop) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    the search feilds are
                <input name="PositionReq" type="text" class="textfeilds" value="Job Title" size="32" />
                <input name="skills_offered" type="text" class="textfeilds" value="Skills Required" size="32" />
                <input name="SalaryReq" type="text" class="textfeilds" value="Salary Offered" size="32" />
                <input name="location" type="text" class="textfeilds" value="Location" size="32" />
    thanks in advance

    $currentPage = $_SERVER["PHP_SELF"];
    $maxRows_Recordset1 = 5;
    $pageNum_Recordset1 = 0;
    if (isset($_GET['pageNum_Recordset1'])) {
      $pageNum_Recordset1 = $_GET['pageNum_Recordset1'];
    $startRow_Recordset1 = $pageNum_Recordset1 * $maxRows_Recordset1;
    $var_SalaryReq_Recordset1 = "xxxxx";
    if (isset($_GET['SalaryReq'])) {
      $var_SalaryReq_Recordset1 = $_GET['SalaryReq'];
    $var_skills_offered_Recordset1 = "xxxxx";
    if (isset($_GET['skills_offered'])) {
      $var_skills_offered_Recordset1 = $_GET['skills_offered'];
    $var_location_Recordset1 = "xxxxx";
    if (isset($_GET['location'])) {
      $var_location_Recordset1 = $_GET['location'];
    $var_PositionReq_Recordset1 = "xxxxx";
    if (isset($_GET['PositionReg'])) {
      $var_PositionReq_Recordset1 = $_GET['PositionReg'];
    mysql_select_db($database_hostprop, $hostprop);
    $query_Recordset1 = sprintf("SELECT SalaryReq, skills_offered, location, PositionReq, otherComments, userid, FirstName, Surname FROM think_signup WHERE SalaryReq LIKE %s OR PositionReq LIKE %s OR location LIKE %s OR skills_offered LIKE %s", GetSQLValueString("%" . $var_SalaryReq_Recordset1 . "%", "text"),GetSQLValueString("%" . $var_skills_offered_Recordset1 . "%", "text"),GetSQLValueString("%" . $var_location_Recordset1 . "%", "text"),GetSQLValueString("%" . $var_PositionReq_Recordset1 . "%", "text"));
    $query_limit_Recordset1 = sprintf("%s LIMIT %d, %d", $query_Recordset1, $startRow_Recordset1, $maxRows_Recordset1);
    $Recordset1 = mysql_query($query_limit_Recordset1, $hostprop) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    if (isset($_GET['totalRows_Recordset1'])) {
      $totalRows_Recordset1 = $_GET['totalRows_Recordset1'];
    } else {
      $all_Recordset1 = mysql_query($query_Recordset1);
      $totalRows_Recordset1 = mysql_num_rows($all_Recordset1);
    $totalPages_Recordset1 = ceil($totalRows_Recordset1/$maxRows_Recordset1)-1;
    $queryString_Recordset1 = "";
    if (!empty($_SERVER['QUERY_STRING'])) {
      $params = explode("&", $_SERVER['QUERY_STRING']);
      $newParams = array();
      foreach ($params as $param) {
        if (stristr($param, "pageNum_Recordset1") == false &&
            stristr($param, "totalRows_Recordset1") == false) {
          array_push($newParams, $param);
      if (count($newParams) != 0) {
        $queryString_Recordset1 = "&" . htmlentities(implode("&", $newParams));
    $queryString_Recordset1 = sprintf("&totalRows_Recordset1=%d%s", $totalRows_Recordset1, $queryString_Recordset1);
    the form is
                <input name="PositionReq" type="text" class="textfeilds" value="Job Title" size="32" />
                <input name="skills_offered" type="text" class="textfeilds" value="Skills Required" size="32" />
                <input name="SalaryReq" type="text" class="textfeilds" value="Salary Offered" size="32" />
                <input name="location" type="text" class="textfeilds" value="Location" size="32" />
    examples of search criteria are job title would be say police officer, location would be say london
    when using xxxx no results are being dispalyed

  • Changing search results display

    When I search in my iTunes library, I hate the layout of the window that shows my results. It's confusing, and not as easy to find what I want in the results. I liked the old look better. Is there a way to change the way the results window looks.

    Hi,
    Click on search field and untick search entire library. You can also filter search by song, album, artist or composer.
    Jim

  • OHJ search results displayed with title tag ???

    Hello,
    I've conversed a large help MS help system on a C/S forms application into an OHJ help system on behalf of the webforms version of this application.
    I've got the thing running allright, but one thing surprises me: the search function apparently returns the <TITLE> tags of the HTML help pages instead of the text descriptions <tocitem target="topic_18" text="Examenprogramma" /> as entered in the toc .xml file.
    I wonder why this is so. It supplies me with a lot of extra work - having to edit all these HTML files manually to include the description in the title tags.
    kind regards,
    Maike Dulk
    PSB
    Amsterdam, the Netherlands

    Maike,
    The reason is that the search runs over any HTML files in your index file. These HTML files need not be in your TOC at all. Therefore, we reuse the title from the HTML file instead of any information in your TOC.
    Ryan Pollock
    Oracle Help Team
    [Edited by: rpollock on Mar 24, 2004 11:13 AM]

  • Configure search results to display only this site

    HI
    when i search anything in my publishing site the search results display from all sites in sharepoint farm.
    how i configure search results to display only this site:
    i found there is no option in sitesettings>searcscopes 
    and i created a custom search results page.
    adil

    Hi adil,
    For your issue, you can go to Site Settings -> Site Collection Administration -> Search Settings -> set  "Site Collection Search Dropdown Mode" to "Show scopes dropdown":
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Display 'Modified By' property in search results

    Hello All,
    Can anybody help us to display the modified by information on search results.
    Current search results displaying 'Author'. But I want to display the user name who last modified the document.
    Please suggest.
    Thanks & Regards

    Hi,
    You will need to create a new 'metadata property' through search and map it as below (though there is 1 OOTB property but you cannot use it) -
    1) Create metadata property, say 'Modified By User' (text)
    2) Map it to - ows_Modified_x0020_By(Text) , ows_ModifiedBy(Text) , Office:8(Text)
    3) Run a full crawl
    4) After this, you need to modify the search results XSLT to add 'Modified By' in the results page. You will find good articles on this on MSDN/Technet (check here - https://msdn.microsoft.com/en-us/library/office/ms560074(v=office.14).aspx)

  • Incorrect search results in CRM2007

    Hi
    When i search for service contracts in the new UI, i specify the search criteria - status 'In Process'
    However the search result displays the contracts which have status In process, completed etc.
    Has anyone come across this issue and knows how to solve this ?
    Any helpful answers will be rewarded

    Nick,
    I have come across a similar thing in CRM 5.0 where the Agent Inbox ignored the Status.  It was an error in the status mapping configuration.  I also know that in CRM 5.0 the Inbox search logic was applied to the Account Overview to generate the results.
    It's a long shot, but it may well be that the specific searches in CRM 2007 use the Agent Inbox search logic, and that you need to maintain the status mapping for the Agent Inbox to correct this issue.
    This is available here (transaction SPRO, IMG):
    SAP Implementation Guide > Customer Relationship Management > Interaction Center WebClient > Agent Inbox > Map Item Attributes to Inbox Attributes > Map Element Status to Inbox Status
    Hope this helps, thanks!
    Andrew G.

  • Verity search results showing SQL code

    This site is still in development and that's why the domain
    hasn't transferred yet:
    http://financial-strategist.dataride-previews.com/index.cfm.
    If you perform a search for the word
    business, for example, some of the search results display
    the SQL query code. How can I eliminate this from being included in
    the search results?
    My results page is as follows:
    <cfsearch
    name = "fs_search"
    collection = "fsdocs, affdocs, bodocs, profdocs, wibdocs"
    criteria = "#Form.Criteria#"
    maxrows = "35">
    <CFOUTPUT QUERY="fs_search">
    <a
    href="#url#"><strong>#Title#</strong></a>
    <br>
    #Summary# <br />
    <br />
    </CFOUTPUT>

    There are two ways Verity can index your CF pages (that I know of). One is to do it through the CF Admin Verity Collection and the other is the command line vspider.exe. I believe only the vspider will actually process your CF pages (processing your SQL as well) and the Verity Collection method in the CF Admin will only "read" your CF pages, this "reading" will just display what's in the pages (minus CF includes, etc.).
    I could be wrong in this of course because I've learned by trial and error. My experience has been the CF community sites (this one, HOF and Dev Shed) are very slim on Verity help. So I'd say RTFM as much as you can. HTH

Maybe you are looking for

  • SSD Sloooow boot windows 7

    Hello, Happy new year. I have replaced  my old sata disk with a ssd disk . Intel 520 240 gb. on my  T520. I have a Windows 7 and a minor Linux partition. Dual boot. I have moved the old image  with Arconis True HD. However, there is a HUGE difference

  • CS5 dodge and burn overkill

    I don't know if anyone else has this problem but, since upgrading from CS4 to CS5 I've noticed a big difference in the dodge and burn tools.  In CS4 I'd always set them at 10% so that I'd get subtle changes - gradually building up to how I wanted the

  • Creating new transaction calling TC- GR55?

    Hi Abap-Experts, 1]I want to create new transaction. 2]The name of the new transaction should be ZMGRO. 3] It should call transaction GR55 and choose report group MGRO. 4] The first screen for the user should be the selection screen to run the report

  • Scrolling menu panel scrolls whole stage content, how to restrict EventListener to mouse.y 90 ?

    hei folks, the snippet attached works great, it scrolls (parallaxed) my menu horizontally left to right, when I move my mouse horizontally over the menu panel. But if I klick on the menu buttons nested inside this menu panel, they do appear, unfortun

  • Could not connect to X11 windows server

    Hi All, I am using OVM Server 2.2.1. I am having one VM which has Oracle VM template 10.2.0.4. I want to start GUI and install another Database. I have export DISPLAY variable to localhost and then try to start DBCA but failed to start and giving err