Portal Search Robot API

I'm having some problems with the Robot API with JES 2005Q1 on Solaris 10. I'm not sure if this happens under other JES versions or not.
First... I tried to launch java from a robot plugin using JNI, and it was failing from missing libraries.. I renamed 'robot' to robot2 and created a shell script 'robot' that added the Java libs to the LD_LIBRARY_PATH. Then the JNI_CreateJavaVM failed to create the VM.
So I attempted to log the return code from the function call, and the API would not log it... So I created a 'hello world' example (below), and I verified that 'HelloWorld' gets put into the readACL, which means that the log statement should have executed, however, the log statement didn't go into the log file. The API documentation refers to a log level located in process.conf, and I am not able to find that file. So I bumped 'loglevel' to 99 in the robot.conf, as it is the only log level setting I could find outside of the Access Manager Console. Still nothing came out, but a lot of other information did.
NSAPI_PUBLIC int someFx(libcs_pblock pb, CSFilter f, CSResource *r)
int value_sz;
char *attribute = "ReadACL";
char *data = "HelloWorld";
int dataLen=strlen(data);
SOIF_Insert(r->rd, attribute, data, dataLen );
cslog_error(1,1,("fn=someFx: HELLO WORLD\n"));
return REQ_PROCEED;
So then I attempted to use the fopen, fprintf,fflush functions to implement my own logging, and my custom log files were created, but fprintf didn't seem to write to them??
Any ideas?
My questions are,
Is it possible to launch a JVM from a robot plugin? If so, what is the proper way to take care of the shared libraries and create the JVM?
What's up with the logging?
Thanks.

Presumedly you'd like those documents being accessiable by users as well, so they should be put on a web server, ftp or nfs sharing. You can just add the urls to those documents, or the directory they are in, into robot system as starting points and let robot run to collect them.

Similar Messages

  • Automatic login the search robot into portal

    Does anybody know how to automatically login the search robot into portal using LDAP authentification? I would love to index and search content of the portal.
    Maros.

    In most cases the content of the portal consists of content on other webservers. The idea is to spider these sites and then the URL rewriter will rewrite the URL's when going through the Gateway.
    In case of f.i. Fatwire another scheme is needed where an indexer robot reads the content directly from the database (through fatwire API) and then calculates the link for the entry.

  • Help needed in Portal Search

    Hi,
    I have built a portal site using HTML Portlets and JavaPDK portlets, now I want to perform search on the contents. I have studied about oracle text and ultra search but could not find any clue how they interact with my dynamic JavaPDK portlet's contents that are coming from my self defined Database Tables.
    Further more when I put search box/ simple search portlet in my page and search for any content like 'portal' it shows me some data, but if I search my own keywords that I had defined in the page properties I coulnt find any result.
    Please help me in this regards.
    Thanks
    Jam

    No, Portal search will only find content which is added through the Portal UI (Item wizards etc) or through the content management API wwsbr_api. Pending on whether Oracle Text is enabled, the search facility will be able to search within documents, URLs. This is done through a set of Oracle Text indexes :
    - WWSBR_CORNER_CTX_INDX on WWPOB_PAGE$
    - WWSBR_DOC_CTX_INDX on WWDOC_DOCUMENT$
    - WWSBR_PERSP_CTX_INDX on WWV_PERSPECTIVES
    - WWSBR_THING_CTX_INDX on WWV_THINGS
    - WWSBR_TOPIC_CTX_INDX on WWV_TOPICS
    - WWSBR_URL_CTX_INDX on WWSBR_URL$
    Any content which is not added to these tables (e.g. a custom portlet which adds document to a custom table with a BLOB colum) will not be searchable through the standard search functionality.

  • How to use search REST api to get custom managed property data for anonymous user?

     
    I am trying build a public portal with anonymous access and i am trying to read some
    content from custom managed property using search REST api in sharepoint 2013. I have tried to enable all possible attributes of the managed prop. Like searchable,queryable,safe etc. also i am including queryparametertemplate in my REST api search query. But
    still i am not able to retrieve the managed prop. For an anonymous user. The same query returns the value if i am logged in.
    Any Help is greatly appreciated. 
    Thanks,
    Rakesh
    Thanks, Rakesh

    Hi Rakesh,
    To enable anonymous Search REST queries, we need to create queryparametertemplate.xml and upload it to the correct library in SharePoint.
    From your description I can know that you have created the file, then I recommend to check the things below:
    Please use “QueryTemplatePropertiesUrl” instead of “queryparametertemplate” in the Search REST API query as following: &QueryTemplatePropertiesUrl='spfile://webroot/queryparametertemplate.xml'.
    Make sure that the Query Properties you need have been added to the QueryProperties element in the queryparametertemplate.xml file.
    Make sure that the query parameters you need have been added to the WhiteList element in the
    queryparametertemplate.xml file. For example, if you want to use Refiners in the REST API, then the Refiners should be added to the
    WhiteList element in the queryparametertemplate.xml file as following:
    <a:string>Refiners</a:string>.
    You can also debug setting properties in anonymous Search Rest queries following the link below:
    http://www.mavention.com/blog/debugging-setting-properties-anonymous-search-rest-queries
    More references about anonymous Search REST:
    http://blog.mastykarz.nl/configuring-sharepoint-2013-search-rest-api-anonymous-users/
    http://msdn.microsoft.com/en-us/library/office/jj163876%28v=office.15%29.aspx#bk_AnonymousREST
    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

  • Extending Portal Search

    I am looking to extending the Portal search facilities to allow for searching of our own bespoke content which is accessible from custom urls such as http://server:port/pls/portal/custompkg.disp_our_content?id=123
    I had a brainwave that by adding a URL item when our content was added then the Intermedia search would index this content automatically. Unfortunately the lack of content area APIs to add an item has foiled my plan.
    Has anyone got a way of either getting intermedia to index these urls where I can do this programatically? ie by adding to the already generated Portal index??
    Thanks & Regards
    Jenny

    Jennifer
    I would suggest that your first solution would be the way to approach the problem. The URL content that gets indexed comes from the URLs in the Portal URL table, but these are only meaningful as search results if they are associated with an item, i.e. a URL item.
    What Portal version are you using? It may be possible to find more information on the situation with the content are APIs for you.
    The alternative solution might be to use Ultra Search. This is an Internet Search solution and comes as part of iAS. This could be used index you URLs. It offers some Portlet based search UI so that you can search and see the results in the Portal.

  • Query on Portal Search

    I see that no topics on Portal Search is posted frequently .Dont know the reason.Anyway.
    We have run the Portal Robot once and it has generated a set of RD's .
    The problem is that the Search Engine is not capable of searching files with the following extensions
    1.) .doc
    2.) .ppt
    3.) .pdf
    Are these things configurable or is their any other way by which we can achieve this.

    Maybe not a lot of people have questions on search ;-).
    That statement is not correct Portal Search converts the following document types listed below. Go to Service Management/Search, click on Robot and then indexing.
    It lists the type of index and covertors for the different doc type it supports.
    HTH ..

  • Portal search from an external website

    We have a requirement to extend the portal search capability to other websites. I'm wondering if anyone else has done this.
    Basically the client has an Aqualogic 6.1 portal and also hosts a number of websites on a separate (i.e.: non portal) web server. They are unhappy with the search provided by MS Index Server and would like to use the Portal search from these static websites.
    My thinking is that we can crawl the content of these websites into Aqualogic and use the PRC (search API) from these websites to execute the user search. I'm figuring that this should be possible if we install the ALUI API service on these web servers (effectively making then Remote Servers?)
    Any thoughts?
    thanks in advance
    Simon

    Let me see if I understand this. The client has a few static HTML websites that have no relation to the ALUI portal, but you want to you the portal search engine to search those sites?
    Yes, your proposed solution is certainly possible. You could crawl the contents of those websites into specific folders in the KD and set the security so only a specific user (which you would use to authenticate in the custom search page) can see them. You don't even need to install the ALUI API service on those web servers to do this. The API endpoint URL of the portal needs to be accessible from those web servers, and you just need to reference the portal IDK dll or jar files when you write your custom search page.
    I have done something similar to this, but the static web site was actually migrated in to be a part of the portal. Still a separate URL and look and feel, but hosted on the portal. However, I did crawl all the pages in and have a custom search page using PRC to search for documents. It works like a charm.
    DJ Dewey | VHA Inc. | [email protected]

  • Search robot

    Portal Server's Searching robot is able to crawl an arbitrary public site. Is it feasible to ONLY take such feature out of the portal server, just like some other commonly used robots? What I see is it's tightly integrated into Portal Server.
    Thanks in advanced.

    By default, the search engine is not running at all. You can login to psconsole to double-check.
    Even if it's running, there is a new to configure the sites to crawl.

  • Portal Search doesn't work in Portal Applications forum.

    Portal Search doesn't work in Portal Applications forum.

    Hi,
    Can you mention what exactly is not working?
    Thanks,
    Vanathi

  • Search REST API - Usage reports

    Hi,
    We use the Search REST API to execute queries. 
    The Usage reports on the Site Collection under Popularity and Search Reports do not contain any data.
    Is there a way to get usage data for queries executed by the REST API?
    Best regards,
    Christoffer Vig

    You suggest running queries directly against the SP log database? I see it described at http://technet.microsoft.com/en-us/library/hh769359(v=office.14).aspx as well.
    I always thought this was strictly prohibited in a production environment and will void warranty, but is the logging database an exception to this?
    Thanks,
    Mikael Svenson
    Search Enthusiast - SharePoint MVP/MCT/MCPD - If you find an answer useful, please up-vote it.
    http://techmikael.blogspot.com/
    Author of Working with FAST Search Server 2010 for SharePoint

  • Can Portal search for the old version of a specific item?

    Hi,
    If I have created several versions of a file item in Portal, can I search the old versions of this item? The old versions of this item are invisible in portal page. If so, how? Thanks in advance.
    regards,
    Eric Feng

    Currently, Portal does not support searching of non-active versions of an item.
    Please note that there is a separate forum for Portal Search.
    Regards,
    Jerry
    PortalPM

  • Connect Solution Manager to Portal search

    Hi Experts,
    currently we have the requirement to connect our Netweaver Portal Search to SAP Solution Manager. The search should find documents saved in the Solution Manager.
    After searching the SDN I found some hints but came to the opinion that there does not exist any standard approach. Is this true?
    Following some more details describing my problem:
    The Solution Manager is also used to save project related documents like concepts etc. These documents have to be found if the user enters a query in the NetWeaver Portal. The documents should only be saved in the Solution Manager, so it will be no solution to save the documents in KM.
    The hints that I currently found:
    Indexing documents - SolMan Document-Management Search
    SolMan and Portal - Accessing Solution Manager 4.0 documents using KM
    Using KM in Solman (the other way around) - KM in Solman
    Any suggestions are welcome.
    Kind regards,
    Jan Tilo

    Hi,
    I hope below links will help you.
    PDF link
    <b>https://websmp206.sap-ag.de/~sapidb/011000358700006381312006</b>
    SAP Tutor link
    <b>https://websmp206.sap-ag.de/~sapidb/011000358700006477102006E.sim</b>
    In order to connect solution manager to OSS means you need to configure the systems in solution manager using T-code SMSY.
    After configuring you need to configure maintanace optimizer in solution manger.while configuring you need to specify the your S user id.
    The above links will help you.
    kiran kumar.v

  • Search of forums using global portal search (TREX) finds no results

    Hello,
    we are running EP 7.00 SP 12, and have installed and configured the forums application.
    According to [http://help.sap.com/saphelp_nw2004s/helpdata/en/47/17904a21fa3696e10000000a11466f/content.htm], it is also possible to search the forums using the global portal search.
    After the forums installation, the index and queue were automatically created for the forums. TREX Delta indexing of forum object is enabled in  System Configuration -> Knowledge Management -> Content Management -> Repository Managers -> Forum Repository. As I understand it, this should be enough for TREX to be able to index forum objects. There exist some simple threads in the forums, but when searching in the portal for some keywords that exist also in the threads, I get no results.
    I looked at the queue of the forums index, and there have been only 6 entries, so I performed a reindexing and got now about 24 entries, but still the portal search returns no result.
    Is there anything that I've missed or any further suggestions to test for?
    P.S. I am quite new to the SAP (NetWeaver) domain, maybe I missed some mandatory settings or configurations...

    Hi Martin,
    thanks for your reply.
    Till now, I didn't manage to solve the problem. I was away the last week, so I didn't had any time for working on this issue.
    Currently I am not able to test your suggestions, because there is a new problem with the index. The index has now the state "pending". Because of this state I am not able to perform any further actions like re-indexing and so on. On help.sap.com there is only little information about this state. But for me it looks like, that there has to be performed some actions in the TREX Admin Tool, so that this index can be used again.
    I tried also the following on the portal:
    - Delete this forum index
    - Disable TREX delta indexing in the forums repository manager
    - Enable TREX delta indexing in the forums repository manager.
    This caused the creation of a new index for the forum. This new created index had however the initial state of "pending"...
    Has anyone further suggestions on this topic?
    P.S. Has someone successfully implemented such a scenario in his portal? (global portal search for forums)

  • Portal Search Engine

    When using the Portals search engine, does it search the descriptions or does it search for the name of the folders, iViews, and pages?  It seems that it searches what ever is in the description.  For instance, if your search paramenters is "News and Announcements", it will search for all the folders, iViews, and pages that have "News and Announcements" in the description.
    Message was edited by:
            Francis Cung

    Francis,
    as per the Help documentation it should search name, id or description of the iViews if correctly configured. See the documentation quoted below:
    <b>Searching For Portal Pages and iViews</b>
    <i>This function is only available if configured for your system. The system searches for all portal pages and iViews in the roles of the logged-on user.
    In the search field in the portal header, enter the name, ID, or description of a portal page or iView. Open the Search Options dialog box and make sure that the checkbox for the corresponding search area or index is active.
    In the search results list, you only have to click a hit to navigate to the corresponding portal page.</i>
    You can find the whole documentation <a href="http://help.sap.com/saphelp_47x200/helpdata/en/7e/5e115e4a1611d1894c0000e829fbbd/content.htm">HERE</a>
    Regards,
    Shubhadip

  • Person search to metadata field with search REST API on SP2013 online

    Hi!
    I'm developing a sandbox solution to be deloyed on SharePoint 2013 online. This solution contains a web part for a custom functionality. I have a need to make a query against data in user profiles based on two custom metadata properties (mapped to termsets).
    Is it possible to create this kind of query by using search REST API (with javascript)? So I need all persons whos metadata field
    MyOwnTerms contains specific value(s) passed to search?
    I can get all users with /_api/search/query?querytext='*'&sourceid='B09A7990-05EA-4AF9-81EF-EDFAB16C4E31'very (if i set the rowlimit to very high) and the results contains my cystom field
    MyOwnTerms but there is too much of results to loop through just for filtering. I cannot reduce rowlimit because I need ALL the persons with certain metadata value in this field. Is there any way to make this work?
    .Ana

    I went through the same problem and yes it is possible. In my case, I created a Managed Properties specific to my site column metadata, and assign the value only the label of the column metadata for this managed property. So it returns only the value of
    the name and not the metadata ID | Name as the default. 
    So, just move on selectproperties the name of your managed metadata, so it returns the correct value.

Maybe you are looking for