Hit highlighted summary problems

I have an issue/question regarding the hit highlighted summary returned by SharePoint 2013 search.
I am using the api in c# ( Microsoft.Office.Server.Search.Query.KeywordQuery class)
to perform a search in order to return a list of documents and display them in a formatted list, I also want to display a few lines of the textual context.
In quite a few cases the correct documents are found when using a simple keyword, however the keyword used does not appear in the hit highlighted summary. I have tried increasing the number of sentences returned in the hithighlightedsummary property e.g.
keywordquery.highlightedsentencecount = 10 but still none of these sentences have the keyword in them.
Can anyone let me know what is happening here?
Thanks,
Neil

Hi Neil,
You can change the length of the search result summary using the Query.SummaryLength property.
More references:
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.search.query.query.summarylength(v=office.15).aspx
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.search.query.keywordquery_members(v=office.15).aspx
Best regards.
Thanks
Victoria Xia
TechNet Community Support

Similar Messages

  • Hit highlighting (PDF) is not working with Safari

    We have been facing a weird problem with PDF documents displayed in Safari. This problem is reproducible in many of our machines. The problem is like this..
    Adobe Reader has support for hit highlighting in PDF documents when it is being viewed in any browser. For example,
    http://www.mysite.com/myfile.pdf#xml=http://www.somesite.com/words.txt
    This URL should highlight the words specified in words.txt file. But, unfortunately many of our Safari browsers (on Windows machines) don't highlight any text in opened pdf file. The same URL works fine in rest of the browsers (IE, Firefox and Chrome). I could not figure out where the problem is!
    Can anybody please help me on this?
    Thanks in advance,

    Go step by step and test.
    1. If adware is installed without your knowledge,
        download  free AdwareMedic by clicking “Download ” from here
         http://www.adwaremedic.com/index.php
       Install , open,  and run it by clicking “Scan for Adware” button   to remove adware.
       Once scanning and removing the adware is done, quit the app by clicking AdMedic in the menubar
        and selecting “Quit AdwareMedic”.
    Safari
    2. Safari > Preferences > Extensions
        Turn those off one by one and relaunch Safari again to test

  • Hit Highlighting in PDF Web Search

    In Acrobat Reader 9, under Edit > Preferences > Search, "Enable search highlights from external highlight server" option is by default set to false. For those of us who use third party search engines to search PDF files on the web, this is a disaster. The only way to enable hit highlighting in this situation is to have users change their settings manually, which is a lot to ask of people who are not tech savvy.
    Does anyone know of a solution to this problem? Would Adobe change the default settings to true in future versions? Is there some kind of workaround?
    Thanks,
    Simon

    Why did Adobe change the defaut? I am installing dtSearch and it works great in Adobe 8 and below. But Adobe changed version 9 changed and so now the hits do not show and the "Jump to next Hits" and "Jump to previous Hits" does not show on the Adobe toolbar.
    My problem is that this makes dtSearch look bad - like their search page is no good.
    If I create web pages using dtSearch, the users will not know enough to set the Enable search highlights from external highlight server.
    Even if I put a big note on the web page, I know that people will not read it and they will think that the web page is buggy.
    I sure wish Adobe would put this back and make Enable search highlights from external highlight server the default.

  • Custom managed properties with hit highlighting Issue.

    Hi All,
    I have used this blog
     and implemented the hit highlighting as of now everything works well but some of the search term I am getting below errors. 
    I have tried a lot to fix this but not success.  Please suggest if I am missing something.  
    I am using the below code in item template.
     var title = Srch.U.getHighlightedProperty(id, ctx.CurrentItem, "Title");
                if ($isEmptyString(title)) {title = $htmlEncode(ctx.CurrentItem.Title)} 
                var Description = Srch.U.getHighlightedProperty(id, ctx.CurrentItem, "Description");
               if ($isEmptyString(Description)) {Description = $htmlEncode(ctx.CurrentItem.Description)} 
                if(ctx.CurrentItem.sourcename != null){  
                    if (ctx.CurrentItem.sourcename.indexOf('Purchasing')!=-1 && ctx.CurrentItem.sourcename.indexOf('Expenses')!=-1 ){  
                        if(!$isEmptyString(Description)){
                            var Description1 = Description.match(/.{0,100}<strong[^>]*>(.*?)<\/strong>.{0,100}/g);  // Reg ex to get the data
                            if(!$isEmptyString(Description1)){ 
                                ctx.CurrentItem.HitHighlightedSummary = Description1; 
                            else{
                                ctx.CurrentItem.HitHighlightedSummary  =Description;
    Thansk
    Basant Pandey

    Hi Vikas,
    The recommendation is not to modify the out of box display templates.  Whenever new patch or service pack applied Microsoft can update those out of box display templates, then you modified version will be lost.
    So, create a copy of the display template and make the changes as per your requirement.  Once created new display template you can map it with the required result type and query rules.  Please refer to the following article.
    http://www.abelsolutions.com/totm/creating-customized-search-results-in-sharepoint-2013/
    Please don't forget to mark it as answered, if your problem resolved or helpful.

  • Summary: Problem with export (maybe...terminated sucEE to XE issues exp/imp

    Summary: Problem with export (maybe...terminated successfully with warnings) and import (IMP-00022: failed to process parameters)
    I used PL/SQL developer to make a parameter file (initially I used it to export, then I just stole the file to try again). It contains 100 tables from a single schema.
    Export from prod DB using exp parfile=test.par: Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    server uses ZHS16GBK character set (possible charset conversion)
    About to export specified tables via Conventional Path ...
    . . exporting table     CONTRACT_INFO         12 rows exported
    EXP-00091: Exporting questionable statistics.
    'Export terminated successfully with warnings.' !!!I want to import into the cs2_user schema (same privileges as on the production DB) trying:impdp 'sys as sysdba'@danieldb schemas=cs2_user dumpfile=test01tables3.dmpThat gets the error: UDI-00014: invalid value for parameter, 'attach'
    I then thought maybe you have to use imp/exp or impdp/expdp instead of a combination (exp + impdp) so I tried: imp 'sys/admin as sysdba'@danieldb touser=cs2_party_owner file=test01tables4.dmpbut then I just get: IMP-00022: failed to process parameters
    Anyone see why its all failing? :s
    Mike

    you must input SID name into single-quotes like:
    C:\Tools\Oracle\product\10.2.0\db\NETWORK\ADMIN>expdp 'sys/manager@stb as sysdba'
    Export: Release 11.2.0.1.0 - Production on Thu Feb 9 13:46:16 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    UDE-06550: operation generated ORACLE error 6550
    ORA-06550: line 1, column 11:
    PLS-00201: identifier 'SYS.DBMS_UTILITY' must be declared
    ORA-06550: line 1, column 11:
    PL/SQL: Statement ignored

  • Hit highlighting

    I just upgraded to Reader X and discovered that it no longer supports hit highlighting. I used this feature extensively in version 9. Will the "enable search highlights from external highlight server" feature be restored in version X? If not I will  need to downgrade to version 9. Thank you.

    Read this:
    http://forums.adobe.com/message/3286586#3286586

  • Highlight banding problems NOT encountered in Capture One

    I have noticed one issue with Lightroom since I started using it that may become a deal-breaker if I am not able to find a solution (or at least an explanation). The Issue is this:
    In areas of intense, sharp highlights in my images (usually when a light source is in the frame) LR interprets these highlight areas in the Raw image much less smoothly than Capture One does. I have an example of each here (an exported JPEG that basically matches what I saw when looking at the Raw files):
    Lightroom:
    http://farm3.static.flickr.com/2375/1600778249_58791abf02_b.jpg
    Capture One:
    http://farm3.static.flickr.com/2106/1600776525_2e976c1b86_b.jpg
    Notice the much better handling of the blue tonal gradations in the highlights in the upper left corner of the example from Capture One.
    Is there anyone with enough knowledge of both LR and C1 to explain why the difference is so striking in the upper left corner? I've tried everything I can think of in LR (Recovery, adjusting the HSL sliders for blue and aqua, changing the contrast, exposure, etc...) and nothing works to solve the problem. Is this perhaps a color space issue? The image was shot in the sRGB color space, but the images were output in the Adobe 1998 space (this shouldn't matter and I assume the highlight problems would appear in an sRGB output as well). Or maybe it is just the way LR interprets Canon's Raw data? I find this all very confusing. Help!
    Does anyone have any suggestions as to how I can get the image to look like the C1 version in LR? Or is this impossible?
    The image was shot with a Canon 5D at ISO 800 without flash. I made only slight changes to the image in both LR and C1 to make the man's face less saturated. Other than that, this is the default handling of the Raw file from each program.
    I'm running LR and C1 on a G5 iMac with 2GB of RAM, an ATI Radeon 9600 graphic's card, and a calibrated monitor.
    Thank you to anyone who can shed some (smooth) light on this issue.

    Okay, so the deal is, this area is completely blown out, even in the RAW data. You prefer the way CO handles this situation on this particular image, and I tend to agree. However, in most cases, I prefer how LR handles this by adding contrast to try to recover detail from blown areas. In this case, adding that contrast is causing a problem.
    I can see no way to alter this particular image using LR/ACR to get what you want (a low-contrast diffuse transition from blown to unblown). If you have more of these, or if others have similar examples, that would be helpful.

  • Print with Comments Summary Problem

    Every Pdf that we try to print with Comments and summary option will not print the graphics. The summary comments print fine but the corresponding graphics previews/prints as a empty box with a keyline. MAc OSX 10.4.6 Acrobat 8.1.4 Professional.

    paul tech wrote:
    .....Sooooo nobody use this feature? Can this problem be confirmed/replicated?
    Can't address your orignal problem but your OS is severely out of date. OSX is up to OSX.4.11 It has improved a lot of things.

  • Data Guard Summary problem using Grid Control.

    I setup data guard using Grid Control and after completion, the console of the standby database shows: "Unable to determine Data Guard information." under the Data Guard Summary section. The primary database is not showing the standby. I'm using Red Hat Linux Server 5.7 (64bit) and Oracle 10.2.0.5. This is a standalone (no RAC or ASM involved). When I run show configuration, the following comes up:
    DGMGRL> SHOW CONFIGURATION;
    Configuration
    Name: PRODDB_ghph@ora01
    Enabled: YES
    Protection Mode: MaxPerformance
    Fast-Start Failover: DISABLED
    Databases:
    ghph - Primary database
    gsbh - Physical standby database (disabled)
    Current status for "PRODDB_ghph@ora01":
    SUCCESS
    I tried searching online and metalink but nothing. Any help in solving this problem would be appreciated. TIA
    Edited by: Gensis2001 on Jan 8, 2013 3:08 PM

    Gensis2001 wrote:
    Does this make any sense?
    SYS@gsbh> SELECT * FROM V$ARCHIVE_GAP;
    no rows selected
    SYS@gsbh> select process, status, sequence# from v$managed_standby;
    PROCESS STATUS SEQUENCE#
    ARCH CLOSING 60353
    ARCH CLOSING 60352
    RFS IDLE 60354
    MR(fg) WAIT_FOR_GAP 58673
    4 rows selected.Currently standby is waiting for the sequence *58673* but the later on archives of series 60353... are already archived.
    Can you confirm that only archive sequence * 58673* is missing or any more? If you have less number of archives are missing then see how the parameters you configured. like FAL_SERVER, LOG_ARCHIVE_CONFIG, LOG_ARCHIVE_DEST_n so on.
    Check below command and see any errors with remote destinations
    select severity,error_code,to_char(timestamp,'DD-MON-YYYY HH24:MI:SS') "timestamp" , message from v$dataguard_status where dest_id=2;Source: http://www.oracle-ckpt.com/dataguard_troubleshoot_snapper/
    If the archives are missing so many and you do not have backup, then certainly you have to choose incremental roll forward to synchronize the primary database, then only you can see the configuration status of Broker as valid. You can refer this article to perform incremental roll forward http://www.oracle-ckpt.com/rman-incremental-backups-to-roll-forward-a-physical-standby-database-2/

  • LMS 3.2 DFM Event Summary problem

    Hi all,
    I have two issues, and one question:
    Issues:
    1)
    In the DFM portlet, under DFM Evnets Summary I see a list stating that I have 2 devices that have Event Name as Duplicate. When I click on the number 2, it opens up Device Fault Manager - Alerts and Activities, but it's show with no records. This has been like this for quite some time now... Any ideas on how to fix this?
    2)
    I've got 5 devices in DFM that are in the DFM Device Status as Questioned. They don't exist in CS, RME nor any other place. I went to DFM Device Management and under Rediscover/Delete, and was going to delete the devices from DFM, but the delete button is grayed out. How can I remove the devices from DFM?
    And now for the Question:
    I sometimes get an event in DFM Alerts and Activities that looks like this:
    Name                                                          Value
    Event_Description:               InformAlarm
    Component:                         [FQDN DEVICE NAME REMOVED]: Cisco Configuration Management Trap
    Description:                         Cisco Command Monitoring -> Event Command Source: SNMP, Event Config Source: Running, Event Config Destination: Network TFTP
    Sometimes it gets cleared by it self... So I'm a bit interested to find out what does this event mean? and how to get rid of it?
    Any help is appreciated
    Gudvardur

    It sounds like your DFM databases may have gotten out of sync with the rest of LMS.  You can clear the first two problems by following the steps in https://supportforums.cisco.com/docs/DOC-8796 to reinitialize the dfmEpm, dfmInv, dfmFh, DFM.rps, and DFM1.rps databases.  Do not reinitialize the others.
    As for the delete button being grayed out, this is expected when DFM is in auto-manage mode.  To activate this button, go to DFM > Device Management > Device Import and disable auto-manage mode.
    The config management trap you're seeing will occur whenever the config changes on the device.  This event should clear on its own.

  • Highlight tool problem

    Having a recent problem with highlight tool. Once selected, it will highlight one item and then shut down– the “select” tool then automatically becomes active. It never used to work that way. I can only highlight one item at a time and need to reselect the highlight tool for each additional highlight. Running Adobe Acrobat Pro 9.5.5 and OS X 10.9.2. Thanks.

    Yes, thanks. That worked.
    It took a while to find out how to do this. Apparently, one needs to,
    "Select the tool (Highlight in this case), but don't use it yet Click on View> Toolbars > Properties Bar. This is were you can select "Keep Tool Selected""
    Thanks to dikaryonSOS, who posted the instructions on how to do this on Feb 15, 2011 9:18 AM.
    Harry

  • Specular Highlight colour problem - Leica M8 RAW files

    I have sent feedback to Apple regarding this problem.
    Use of the moire slider does not eliminate the coloured dots on bright specular highlights, for example sun reflecting off water droplets.
    By comparison, Capture One software produces bright white specular highlights.
    Hope Apple can improve this rendering in future versions of Aperture.

    Thanks Richard
    I downloaded them and read the feature on which they are based. Essentially it is what I have been doing to date. The settings there are probably more extreme than those I have been using in terms of saturation.
    My understanding is that LR/ACR identifies the camera name in the Metadata and then goes to a conversion routine/look-up table using hard-wired parameters which are based on Adobe's tests on those cameras. The presence of the IR cut filter makes a big difference to the look of the image. Thus I believe that the calibration for this internal setting mechanism needs to be amended after the camera has been reassessed.
    Accepting that Adobe have assembled major players to help devise the way in which to convert RAW files, I am not saying it will not work, just that the output for this particular camera is awry. It may be that other camera types produce good colour from LR/ACR on account of their calibration. Maybe not, are there with Capture One experience who also find the LR/ACR colour conversion lacking in comparison?
    Baxter

  • Financial Intelligence - Open Payables Summary Problems

    Good day.
    We have a problem with Daily Payables Intelligence (DBI 7.3), and i hope somebody solved next two issues:
    *1)* Reports using FII_AP_LIA_IB_MV MV are running very very slow. Are there some additonal indexes wich should be applied to this table?
    Already used ones:
    CREATE INDEX APPS.FII_AP_LIA_IB_MV_N1 ON APPS.FII_AP_LIA_IB_MV
    (GID, PERIOD_TYPE_ID, TIME_ID, ORG_ID)
    LOGGING
    TABLESPACE APPS_TS_SUMMARY
    PCTFREE 10
    INITRANS 11
    MAXTRANS 255
    STORAGE (
    INITIAL 16K
    NEXT 128K
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    NOPARALLEL;
    CREATE INDEX APPS.FII_AP_LIA_IB_MV_N2 ON APPS.FII_AP_LIA_IB_MV
    (GID, PERIOD_TYPE_ID, TIME_ID, SUPPLIER_ID, ORG_ID)
    LOGGING
    TABLESPACE APPS_TS_SUMMARY
    PCTFREE 10
    INITRANS 11
    MAXTRANS 255
    STORAGE (
    INITIAL 16K
    NEXT 128K
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    NOPARALLEL;
    -- Note: Index I_SNAP$_FII_AP_LIA_IB_MV will be created automatically
    -- by Oracle with the associated materialized view.
    *2)* Open Payables Summary - if there is a partly paid invoice, incorrect number of invoices is displayed (detailed report gives the right number!) at the open payables summary report.
    We already instaled the 7.3 : One off patch consolidation - 20 patch, wich should correct the issue (5981066), but it doesn't.
    AP bugs
    =======
    5688261 - PAYABLES MATERIALIZED VIEW AND MV LOG ISSUE
    5926028 - ORA-01006: BIND VARIABLE DOES NOT EXIST (PAYABLES STATUS DASHBOARD)
    6028881 - DBI INVOICE AGING REPORT DOES NOT HONOUR THE SUPPLIER PARAMETER
    6008414 - AMOUNT LINK ON RECEIVABLES MANAGEMENT DASHBOARD STILL ERRORS OUT
    5981066 - INCORRECT TOTAL NUMBER OF INVOICES DUE ON DRILLDOWN FROM OPEN PAYABLES SUMMARY
    Probably the cause of the problem (in the MV-s and report query):
    FII_AP_LIA_IB_MV (group by dates and invoice number):
    COUNT(CASE WHEN f.amt_for_open_inv_cnt <> 0 THEN f.open_count END) open_count
    Report query:
    case when SUM(f.amt_for_open_inv_cnt) <> 0
    then sum(case when f.due_date >= :ASOF_DATE_JULIEN
    and f.action_date <= :ASOF_DATE_JULIEN
    and f.entered_date <= :ASOF_DATE_JULIEN
    and (f.fully_paid_date > :ASOF_DATE_JULIEN
    or f.fully_paid_date IS NULL)
    then f.open_count
    else 0
    end)
    else 0
    end FII_MEASURE4
    So if there is a partly paid invoice (multiple rows for one invoice) every row is sumarized into open_count (only one should!!!!!).
    Thanks for any help.
    Kind regards!

    DTDunn wrote:
    After a failed attempt to restore my early 2009 Mac Pro to Snow Leopard (wasting many hours of time from my business), I am forced to return to Lion OS and all of the negatives associated with this "downgrade."
    I'm curious how you would "attempt" to install SL, and how such an "attempt" could possibly fail?
    You boot from the SL disc that came with your machine, you erase the HD, you install SL.  Then you restore your applications and your data files from your backup.
    Oh, wait, you don't think your critical files need to be backed up.  That's why you "lost" them.
    But you'd still have an SL machine again.
    Endless solutions for users (some bone-stupid and near impossible to screw up) to ensure that they had backups and could easily revert... *free* solutions... and the people who couldn't be bothered to take advantage of them want to blame *Apple*?  *** were you going to do if someone broke in and stole the machine?  What were you going to do when the HD died (HD's *always* die).
    People who claim to depend on machines, and don't make backups, deserve what happens to them.
    So.  If it's important to return to SL on this machine, detail why you think you can't, so people can help you.

  • Price summary problem

    Hi,
    I am running SRM-MDM catalog 3.0 SP03 Patch 6. We are experiencing issues in the price suumry area. I.e when you preview the shopping cart. Everything works fine as long as you have articles in the shopping cart with individual values less then 1000. But as sson as you step over 1000 for the individual item then the summary fails.
    Have anyone of you experianced the same problem?
    Regards
    Erik

    Dear Poster
    Your thread has had no response since it's creation over
    2 weeks ago, therefore, I recommend that you either:
    - Rephrase the question.
    - Provide additional Information to prompt a response.
    - Close the thread if the answer is already known.
    Thank you for your compliance in this regard.
    Jason Boggans
    SAP SRM SDN Moderator

  • Sync / iPod Summary problem. (Video / Pictures etc)

    Hello.
    I've got a bit of a weird problem going on. I've never had an iPod before nor have I used iTunes so I might be doing something completely wrong. Anyway on to my problem:
    When syncing movies/videos to my iPod it doesn't work then in the summary "Sync movies to iPod" isn't ticked nor is the picture one or any other apart from music. So I tick them and then click apply then it syncs and then when it finished it says "Cannot find "Dannys Ipod" The required disk space cannot be found". I've got enough space I'm sure of that and my iPod is connected correctly- otherwise the summary screen wouldn't show. Like I said my iPod and iTunes is new and I have restored it once or twice and it wouldn't work. I've also tried to tick "Enable disk use" and apply and still- comes up with the same error message.
    Any help on this would be appreciated, if you've had this problem how did you fix it etc.

    Well, I don't have an iPod video....maybe try the iPod forums, instead of iTunes for Windows?
    And I am totally not sure this will work, but try assigning your iPod a specific drive letter such as "W" or something not already used, and far away in the alphabet from any other drive letters that are being used.
    Windows confuses iPod with network drive or hard drive and may keep iPod from mounting or songs may seem to disappear

Maybe you are looking for

  • Scheduled Fax - Time off by one hour

    If I schedule a fax job on a remote computer and select "Send at" via the scheduler drop-down, it behaves differently in Tiger (10.4.6) than in Panther (10.3.9). In Panther, it works as I would expect. The default time is the current time, and when y

  • SQL error "-601" occurred when accessing table "SMEN_BUFFC

    Hi Guys I am getting the above error at tiem when i am logging on. The actual error message in the st22 dump is Database error text........: "SMEN_BUFH5 in R3EPT32000 type *SQLPKG already     exists. Job=018343/EPT01/WP00"  The termination occurred i

  • Object class deployment - Basic form question

    OK, I subclass calendar object from Oracle provided standard object class. What do I need to deploy to use this form now apart from calendar.pll and my fmx. What about the object class from which I sub-class. Do I need to compile and deploy that also

  • Back/Previous page function

    When reading a page on a website there is aften a third party link to take you to another page. When I've finished reading I used to be able to scroll back or click the back arrow to return to my original page - now I have to close Safari altogether

  • Color Quantization by Distinctiveness

    If I do a save for web & devices, I can quantize the colors. The problem that I am having is the Photoshop appears to be quantizing by frequency rather than by distinctiveness. The result is a color table with a lot of similar colors. Colors that are