Content Enrichment Service and the Crawl Log

Hi,
I am wondering if there's a possibility to inject custom error details from the content enrichment service into the crawl log? If an item fails processing in the CEWS the crawl log shows
The item failed due to an error occurring when sending or receiving data to the external content processing
enrichment web service.
I would like to place my own custom error message depending on what went wrong during CEWS processing. How Can I do that?

If you look in the ULS logs you should see something like this:
Flows: [Microsoft.CrawlerFlow-6de14b76-2720-4b71-8dc9-3a06eb04f1f5] Evaluation Error: ContentProcessingEnrichmentClientEvaluator Microsoft.Ceres.Evaluation.DataModel.EvaluationException: The content processing enrichment service returned error code 9.
Where in this case I sent back the error code of '9' via the ProcessedItem.ErrorCode, you need to send back different error codes depending on what went wrong in your CEWS. You define what the codes mean.
See  http://msdn.microsoft.com/en-us/library/microsoft.office.server.search.contentprocessingenrichment.processeditem.errorcode.aspx
Gets or sets an optional error Id. It is up to the implementer to define errors. The default value of is 0, meaning no error.
I don't think you can send a message back, just an error code:
http://msdn.microsoft.com/en-us/library/microsoft.office.server.search.contentprocessingenrichment.processeditem_members.aspx
In the crawl logs I don't even see this error code!, all I see are these:
The item failed due to an error occurring when sending or receiving data to the external content processing enrichment web service. ( Failed to process the results returned by the content processing enrichment service.; ; SearchID = 7FB263D8-5B9B-446E-A140-78B07CC77B00
What I recommend you instead do is catch exception messages in your code and log them some other way... 

Similar Messages

  • Content enrichment service for SP 2013 not working

    Content enrichment service for SP 2013 not working
    Not able to debug content enrichment service.. Can you please specify the steps for debugging the content enrichment service
    Any help will be greatly appreciated.
    Regards
    BKPA
    BKPA

    Hi ,
    Please see the following articles, run and debug service with breakpoints using F5 from VS, then register the custom content enrichment service with DebugMode and long Timeout to SharePoint, then start a full crawl to call the web service.
    http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2014/04/08/how-to-use-the-sharepoint-2013-content-enrichment-web-service.aspx
    http://www.jeanpaulva.com/index.php/2014/05/21/content-enrichment-web-service/
    http://msdn.microsoft.com/en-us/library/office/jj163968(v=office.15).aspx#content_enrichment_configuration
    http://www.blendmaster.net/blog/2012/09/using-content-enrichment-web-service-callout-in-sharepoint-2013-preview/
    Thanks,
    Daniel Yang
    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]
    Daniel Yang
    TechNet Community Support

  • Content Enrichment Fields and OOTB Entity Extraction and hithighlightedsummary

    Hi guys, i have a strange problem. I add several properties at the content enrichment service. They all feature in the full text index. I can check this by searching for phrases that only occur in those properties. However, hithighlightedsummary is not generated
    for those properties and the companies OOTB extractor will not produce any results (although I have checked the companies extraction on the managed properties is turned on).
    This is in contrast to the development environment where both seem to work just fine. Is there something I have to do to turn these features on?
    Thanks, Emir

    ...great:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/19932af1-d461-4a3d-8f75-775c6adf9b69/hithighlightedsummary-empty?forum=sharepointsearch
    Looks like managed properties do not support hithighlightedsummary only the body property does ...

  • MDM web services and the MDM BP services

    Hi *,
    I need to know what is the difference between the standard MDM web services and the MDM BP services.  How do I decide which set to use?
    - Kris

    Sorry but what are BP services? Do you mean Business package?
    If yes the approaches are completely different - you use Web Services when you have to customise the application and build your logic/functionality into the app. CRUD operations are procided by Web Services - you need to form your wrapper application from scratch and develop!
    With BP - it involves least development effort bearing in mind that its all standard content and not yet completely customizable. So based on your requirements plan whether to go for Business Package or Web Services or Java API completely...

  • Since you don't allow emails any more – I suspect because of the numerous complaints with your service and the way you treat people that you don't want documented, I am calling and I want this call recorded for future reference. I have been a long time fa

    Since you don’t allow emails any more – I suspect because of the numerous complaints with your service and the way you treat people that you don’t want documented, I am calling and I want this call recorded for future reference.
    I have been a long time faithful customer of vzw and although the past year I have been late on payments many times and really couldn’t afford your exorbitant prices for services lots of other companies offer sometimes three times cheaper than what you charge, I have hung in there trying my best to meet my obligations.
    This month has been no exception. You don’t know the background; the whole story of people’s lives. I know you could care less because all you care about is the profit-the money that comes in.
    I was told when I agreed to pay my bill on the third per the recorded message that I had 14 days to pay…you cut me off anyway. The phones are not the tissue; your suspending my service means I cannot work. I may lose my job…how do you justify that? In any case? The least you could do would be to keep 4986 on and cut the phones off. But no. You refuse to compromise and meet the basic needs of your customer. What does that say about your company? I tried to call back on three separate occasions to tell you I couldn’t pay because of unexpected expenses but couldn’t get out of the automated system…sadly couldn’t get to a real person which also speaks volumes to me.
    All this tells me this is a company I don’t wish to be affiliated with any more. As soon as I can, I will discontinue service with you…I know you could care less. I will honor the remaining portion of the contract but that’s it. You don’t deserve my business. I am a good, hardworking person who, at the sacrifice of myself and my needs, always pays her bills…albeit late at times. I realize others tell you stories and lies to justify themselves. That’s not me. If you knew what I had been through the last 7 yrs you would marvel that I am  still on my feet…don’t judge too quickly. You could be wrong…and in my eyes you are by doing this to me.
    God will see us through this extremely scary time of that I have no doubt. No thanks to your company and lack of understanding and mercy. I am doing the best I can. Sadly you are not.
    See I have choices. MANY choices of providers for services you offer. I don’t have to be treated like this. I don’t have to succumb to your coldness and callousness. I intend to choose better (and cheaper). If your company doesn’t get the “people factor” back you will be sorry.

    Problem here is you admit you cannot afford the service.
    And you want to blame Verizon for losing a job because you have no cell phone.
    If your job depends on that phone I would pay it on time every time if you need a job to pay your bill.
    No other service is going to treat you any different. And if you cannot afford Verizon's monthly invoice how are you going to afford new devices, activation fees, possible security deposits on any other cellular carrier? You can't.
    Also if you made an arraignment to pay and then decide you cannot do so, why should Verizon extend you service or credit, or why is it you want to use the service and data and not pay for it as agreed.
    Get a prepay phone. Its evident the cost is too high for you to afford on post pay.
    Good Luck

  • If i  bring mac in for service and the service is expred what do they charge me to look and give me an estimate

    if i  bring mac in for service and the service is expred what do they charge me to look and give me an estimate

    There is no charge for diagnosis.

  • Poor service and the saga of the Home Hub 2.0

    Since upgrading to Total broadband 3 earlier this year, I've had problems with the Home Hub 2.0 (type a).  It keeps locking up/crashing.  Its the home hub rather than the broadband connection, which when used with a Linksys modem router works fine.  
    I've run through usual fault finding and rectification - hard reset, plugging into test socket, countless line tests.  of course trying to get BT call centre staff to understand its the home hub thats playing up/at fault, not the connection, is like banging ones head against a very hard wall.  For a piece of equipment less than a year old it should work without problem.  And I was tempted to go to PC world and buy a replacement modem, but decided to preserve with  BT's 'help' desk.
    Over the past 3 or 4 months I've probably made one help desk call about the same issue each month.  Have to repeat myself time and time again and get fobbed off with another excuse, or promise of call back.
    Eventually got through to a supervisor - after insisting when a call log was closed and marked 'resolved' when we were still having the problems and hadn't had a call back.  Repeated my issues for the 4th or so time, went through what I had done to date (restore to factory settings, checking its logs, etc etc)  he finally consented to send a replacement home hub.
    I get an email telling me it would be delivered on the 6th before 6pm.  But of course it wasn't.  And I did as the email said, and tried to phone the number to say it hadn't arrived only to get an answer phone message saying the help desk was shut.
    So wasted my lunch break today on the phone to BT trying to find out where it was, only to learn that BT had posted it to a previous address which I haven't lived at for 4 years.  Well done BT, it takes real skill to be that rubbish.
    Fingers crossed another new one is on its way to the right address.
    I have however a couple of questions, which as I can't face phoning the call centre again I thought I'd post on here:
    1) How on earth did BT manage to send  the replacement home hub it to the wrong address?  Especially since the original one was sent to the correct address & my delivery address is set  correctly on the web portal and the agent handling the call confirmed the address? - and what are you going to do to ensure it doesn't happen again (dare I mention data protection - as the home hub pack presumably has some personal details on it..)
    2) In the final call today I was asked for my date of birth and mothers maiden name so they could add it to the account - afterwards having not been asked by BT for this before on countless calls  I wondered is this standard practice - or should I now be worried?
    3) How do you have a sensible discussion with someone - preferably in the UK - about the customer experience?  As mine as has been rubbish (you might be able to tell from the tone of this post), and I'm regretting ever having upgraded and wishing I had instead gone to another broadband provider.
    4) Given that issues with certain models of home hubs seem to be known issues (at least to google) why do the call centre agents always focus on the broadband connection -(typical conversation with an  Agent "..so your connection keeps dropping", Me: "No the connection is fine.  The home hub has crashed again". Agent "So your connection has dropped"? and on and on) rather than actually listening to the customer. (Can you reset it - yes already have, several times  and so on)
    Any answers from a moderator would be welcome.
     I am actually happy with BT's  broadband product, and don't want to have to go through the hassle of changing provider, I'm just disgruntled at how bad the home hub has been, and how poor the customer service has been.
    Thanks.

    Hi EKandrew,
    To be honest I have not heard of the hub locking up before.  The questions you have been asked by our helpdesk are aimed specifically at your connection as most problems tend to occur here, either with slow speed or hub drops etc.
    Could you be more specific in how the hub locks/crashes? What do you notice when this happens? What way do you have your connection set up?
    As much info as possible would help
    In answer to your questions:
    1/ Sometimes we have an old address still on your account and this has not been updated for packages/correspondance.
    2/ Nothing to worry about, we ask these questions for additional security.  If you have quoted your account number previously this is normally enough for most things however the advisor probably just noticed we didnt have this info on file.
    4/ As above, this is not a common problem and most issues that come to us are to do with your connection.
    Thx
    Craig
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry but we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)”
    td-p/30">Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • BI cluster DOWN but the services and the admin server is all UP in OBIEE 11G.

    Hi
       Please suggest me some solution that if the BI cluster is DOWN and all the other components are all UP.Only the BI cluster and the Biserver_1 is DOWN under bicluster.so that the analytics is not working and showing in the Internet Explorer as "The Page Cannot be Displayed". But the EM and the Console are Working fine.

    Some times it may happen because of the services if they are not started in order
    ./startNodeManager.sh
    nohup ./startWeblogic.sh -Dweblogic.Management.username=username -Dweblogic.Management.password=password > AdminServerStart.log & tail -f AdminServerStart.log
    nohup ./startManagedServer.sh bi_server1 -Dweblogic.Management.username=username -Dweblogic.Management.password=password>bi_serverstart.log & tail -f bi_serverstart.log
    ./opmnctl startall
    Try this and let us know the out come.
    Mark if helps,
    Thanks,

  • SFTP and the FTP Log - DW MX2004

    Can anyone tell me why DW MX2004's FTP Log just records blank
    lines when using SFTP? Is there a way to change this and do later
    versions do the same thing?
    Thanks!

    Folks:
    Problem solved.
    It's clear that FTP and SFTP are fundamentally different protocols, but the DW protocol selection strongly implies similarity by offering SFTP as a minor option under the main selection of FTP.    I think it would be much clearer if SFTP were offered as a major option -- and then there would be an opportunity for offering SFTP options, too.
    Here's a way of distinguishing which of these two is active:  Connecting to the target site using FTP results in a succession of text entries in the optionally viewable FTP log  -- no surprise.   I discovered that connecting to the same site with the same credentials and the addition of checking the "Use SFTP" option results in only line feeds --scrolling, but no visible text-- in the FTP log window.  I guess that's a reasonable though a bit indirect way of informing users that the link is active and secure.   (What does one do to diagnose problems with SFTP for hosting services that don't support FTP?  I don't know there are such services but it should be the great majority of them.)  Works in DW CS3 but I didn't check CS5.
    Another option, untested but fairly obvious:  It's fairly easy these days to control host s/w (personal) firewalls -- even for low-tech users.  Establish and verify a link to your server using SFTP, then disable FTP; the link should fail.  And vice-versa.  This meets my specification of "simple" and should be  available with no extra expense and little trouble.
    Brief Editorial:  From the recent reading I've done on FTP versus SFTP,  it is clear that the time to discontinue all support for FTP  is long past.
    hen3ry

  • What exactly do the national instrument​s citadel nt service and the lookout citadel nt service run

    We have WhatsUp monitoring software set to monitor NI Lookout and the PC it is on.  It pings the PC, and polls the Lookout Citadel Server NT service.  If either one fails, WhatsUp sends an email notification.  I was under the impression if the Lookout Citadel Server service is down, then NI Lookout won't graph or record data, but that's not the case.  If I shut Lookout Citadel Server or National Instruments Citadel Server down, NI Lookout still graphs and records.  What exactly do these two services run?
    Also, is there a possibility that NI Lookout can be viewed through palm OS software, like a Blackberry?

    Lookout Citadel Server is for Citadel 4, which is used by Lookout 5 and DSC 7.
    NI Citadel is for Citadel 5, used by Lookout 6 and DSC 8.
    If Citadel is stopped, Lookout will start it up automatically when launched. But if Citadel is stopped when Lookout is running, there might be some unexpected issues, although the data logging seems to be working well.
    So I strongely recommend you not to stop those Citadel service when Lookout is running.
    Lookout cannot be running on palm OS.
    Ryan Shi
    National Instruments

  • Push notification service fills the system log with errors

    When I have the push notification service enabled, my system logs become filled with messages such as this:
    Sep 8 22:54:54 xserve jabberd/c2s[2175]: [7] [::ffff:192.168.1.100, port=50064] connect
    Sep 8 22:54:54 xserve jabberd/c2s[2175]: [7] [::ffff:192.168.1.100, port=50064] disconnect jid=unbound, packets: 0
    They occur at a rate of about two every second. What does that message mean and how do I stop it?

    When I took a look at push notification, I noticed that it was listening to a different port than what dovecot had been configured to use.(jabberd was set to listen to 5347, while Dovecot (email) was using the standard 5222 port for that open protocol. Not sure what the ichat server is set to use.
    Eventually, I did manage to get it working by updating the push notification config to listen to 5222. But it made no real difference because thunderbird and mail.app prefer imap updatings instead of push notification. So I turned it off.
    Not sure if this is of any help to you.
    Message was edited by: JFMezei

  • ASMX web service and The remote server returned an error: (500) Internal Server Error issue

    i have developed a very small web service and which is hosted along with our web site. our webservice url is
    http://www.bba-reman.com/Search/SearchDataIndex.asmx
    web service code
    namespace WebSearchIndex
    #region SearchDataIndex
    /// <summary>
    /// SearchDataIndex is web service which will call function exist in another library for part data indexing
    /// </summary>
    [WebService(Namespace = "http://tempuri.org/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    [System.ComponentModel.ToolboxItem(false)]
    // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line.
    // [System.Web.Script.Services.ScriptService]
    public class SearchDataIndex : System.Web.Services.WebService
    //public AuthHeader ServiceAuth=null;
    public class AuthHeader : SoapHeader
    public string Username;
    public string Password;
    #region StartIndex
    /// <summary>
    /// this function will invoke CreateIndex function of SiteSearch module to reindex the data
    /// </summary>
    [WebMethod]
    public string StartIndex(AuthHeader auth)
    string strRetVal = "";
    if (auth.Username == "Admin" && auth.Password == "Admin")
    strRetVal = SiteSearch.CreateIndex(false);
    else
    SoapException se = new SoapException("Failed : Invalid credentials",
    SoapException.ClientFaultCode,Context.Request.Url.AbsoluteUri,new Exception("Invalid credentials"));
    throw se;
    return strRetVal;
    #endregion
    #endregion
    when i was calling that web service from my win apps using
    HttpWebRequest
    class then getting error The remote server returned an error: (500) Internal Server Error
    here is code of my win apps from where i am calling web service
    string strXml = "";
    strXml = "<s:Envelope xmlns:s='http://schemas.xmlsoap.org/soap/envelope/'><s:Body><StartIndex xmlns='http://tempuri.org/' xmlns:i='http://www.w3.org/2001/XMLSchema-instance'><auth><Username>joy</Username><Password>joy</Password></auth></StartIndex></s:Body></s:Envelope>";
    string url = "http://www.bba-reman.com/Search/SearchDataIndex.asmx";
    HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url);
    req.Method = "POST";
    req.ContentType = "text/xml";
    req.KeepAlive = false;
    req.ContentLength = strXml.Length;
    StreamWriter streamOut = new StreamWriter(req.GetRequestStream(), System.Text.Encoding.ASCII);
    streamOut.Write(strXml);
    streamOut.Close();
    StreamReader streamIn = new StreamReader(req.GetResponse().GetResponseStream());
    string strResponse = streamIn.ReadToEnd();
    streamIn.Close();
    i am just not being able to understand when this line execute
    StreamReader streamIn = new StreamReader(req.GetResponse().GetResponseStream());
    then getting the error The remote server returned an error: (500) Internal Server Error
    not being able to understand where i made the mistake. mistake is in the code of web service end or in calling code?
    help me to fix this issue. thanks

    Hi Mou,
    I just tried your win app code about calling web service, but failed. I got the 500 error after I called your service:
    The error message I quoted from Fiddler:
    <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><soap:Fault><faultcode>soap:Client</faultcode><faultstring>System.Web.Services.Protocols.SoapException: Failed : Invalid credentials ---&gt; System.Exception: Invalid credentials
    --- End of inner exception stack trace ---
    at BBAReman.WebSearchIndex.SearchDataIndex.StartIndex(AuthHeader auth)</faultstring><faultactor>http://www.bba-reman.com/Search/SearchDataIndex.asmx</faultactor><detail /></soap:Fault></soap:Body></soap:Envelope>
    I am not totally sure that error occurred by the authentication. But I suggest you can try to add this service into your project using this method below:
    1.right click the Reference and select Add Service Reference
    2.input your service link and click "Go"
    And you can use this service as the following:
    private async void callService()
    ServiceReference1.SearchDataIndexSoapClient client =new ServiceReference1.SearchDataIndexSoapClient();
    var Str= await client.StartIndexAsync(new ServiceReference1.AuthHeader { Username = "Admin", Password = "Admin" });
    Please try it.
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • EDI processing and the application log

    All,
    It is my understanding that when an EDI message is processed if there is more than one error the errors will be put in the application log.   If only one error it is not placed in the application log.  
    Does any one have any ideas why on occassion if there is one error the process will put it in the application log?  
    Thanks
    Sandra

    We discovered that if the idoc has several line item segments and they all have the same error that results in the error count being greater than one.   So the process will put the error on the application log - but it does not repeat the same error so it looks like it was only one error when in fact it was several.   For example:
    the idoc has 3 line items all for GRbasedIV where the delivery is not done.
    the idoc process will identify 3 errors (1 per line item missing a delivery)
    the process will put the errors on the application log because the error count is greater than 1
    because the error is the same only one of the 3 errors shows up on the application log.
    Regards,
    Sandra

  • Web Services and the Portal

    Are there any versions of the portal that have native support for communications to Web Services? Is it going to be eventually possible to dynamically discover channels via a discovery method like UDDI?

    Currently no, in the next release we have preliminary support for web services and there might be web services provider but eventually no time frame yet we do plan to support UDDI ..

  • Idocs and the application log

    Hello there,
    i have a general question. I am about to integrate idocs into an interface managing program and i wanted to know if idocs are known to use the application log for writing (error) messages.
    I know they have the possiblity to do so, but i do not know if this is frequently used or even used at all. At least it is not on my system.
    Thanks in advance for your answers.
    Kind regards
    Jonas Liebstückel

    no, I am thinking this has to do with the IDOC-type - either you can flag the use of the application log somewhere in the IDOC-configuration or the processing funciton modules are doing it. I would have to dig around to find out, but so can you: just check along the WE* with MATMAS and look at the function modules that are behind the processing code ... WE41

Maybe you are looking for

  • How to configure ACS 5.2 for policy condition on TACACS+ Service

    In https://supportforums.cisco.com/message/3953175#3953175 thread, I was able to get the ACS 5.2 work with SRX for both SSH CLI and J-Web TACACS+ accounts. However, I found the behavior is different on our production environment. I found our ACS 5.2

  • Seeburger Mapping

    Hi, I am venkatesh , working on EAI mainly in EDI mapping with tools like GXS,Gentran... I have knowledge on SAP XI. I have gone through all the links/threads specified in the SDN regarding seeburger and  I have also seen some material on configurati

  • Page break,sub total and grand total  in adobe forms

    hi, In adobe forms, i am displaying purchase order details in table format. internal table contains 150 records but it displaying only 50 records in single page. how i have to call a new page,how i have to create a page preak and i want to display on

  • Can't get the updated Verizon Messages app to work on wifi as the update claims it will

    I received the update to the Verizon Messages app yesterday and when I opened it, it said the smartphone will now send and receive text messages over wifi when the cellular network is not available.  I have been unable to make this work and I contact

  • Ipod not importing all photos in iPhoto

    Just bought new ipod video and am syncing it with powerbook; got most of my photos, but not all of my albums in iphoto why is this? I have iLife 06. Please help. Thanks