IFS -WebUI Search-Problem...

When I try to search for the content of an object via the WebUI, I get following error message:
IFS 22012: Search failed.Invalid query may have been specified.
I have the ctxserver started.
a few time ago it worked, but now it doesnt.
What4s the problem?

Thanks Alexandre,
but still it will help a lot if you can specify where in TFM does the details for refreshing the context index can be found. There is not such a refresh command in the WebUI of iFS nor I see it in the iFS manager. I am sure it is there somewhere but I do not have experience with iFS to locate it.

Similar Messages

  • Content search problem

    Hi all
    I am having some problems with the content search. Please help me with this:
    In iFS, a new document type "MWORLDTYPE" (sub type of DOCUMENT class) is created. I am using SimpleXmlParser to load xml files and convert them into mworldType documents. After parsing all loaded xml documents are seen as mworldType documents. My task is to do Attribute+content search.
    I used the below code to do content search. Though one of my xml (mworldType) documents contain the text for which I am searching, I am getting zero results.
    Used the below statement to run the file:
    java ExtendedContentSearchXml name
    Attached please see the following documents: 1. source code, 2. sample xml instance.
    source code
    // $Header$
    // Copyright (c) 2000 Oracle Corporation
    public class ExtendedContentSearchXml extends BaseTestHarness
    private String phrase ;
    * Constructor
    * Please complete the missing tags for ContentSearch
    * @param
    * @return
    * @throws
    * @pre
    * @post
    public ExtendedContentSearchXml()
    * Please complete the missing tags for doSomething
    * @param
    * @return
    * @throws
    * @pre
    * @post
    public void doSomething( LibrarySession ifs )
    throws IfsException
    ifs.setAdministrationMode(true);
    //SearchSpecification searchSpecification = buildSearch( Document.CLASS_NAME, "doc", phrase );
    SearchSpecification searchSpecification = buildSearch( "MWORLDTYPE", "mworldType", phrase );
    Search search = new Search( ifs, searchSpecification );
    search.open();
    SearchResultObject [] results = search.getItems();
    search.close();
    if( results != null )
    System.out.println("The number of object founds are " + results.length);
    for( int i = 0; i < results.length; i++ )
    SearchResultObject sro = results [ i ];
    Document doc = ( Document ) sro.getLibraryObject( Document.CLASS_NAME );
    System.out.println( "Document : " + doc.getName() + ", path =" doc.getAnyFolderPath() " Score (query1) = " + sro.getScore("query1"));
    doc.filterContent( false );
    BufferedReader reader = new BufferedReader( doc.getFilteredContent() );
    try
    for( String nextLine = reader.readLine();
    nextLine != null;
    nextLine = reader.readLine() )
    //System.out.println( nextLine );
    catch( IOException ioe )
    throw new IfsException( 9999, ioe );
    else
    System.out.println("No Results Found");
    public void setPhrase(String str) {
    phrase = str;
    * Please complete the missing tags for buildSearch
    * @param
    * @return
    * @throws
    * @pre
    * @post
    public SearchSpecification buildSearch( String className, String fileExtension, String phrase )
    throws IfsException
    // Document.DescriptionAttribute contains 'phrase';
    AttributeQualification aq1 = new AttributeQualification();
    //aq1.setAttribute( Document.CLASS_NAME, PublicObject.NAME_ATTRIBUTE );
    aq1.setAttribute( "MWORLDTYPE", PublicObject.NAME_ATTRIBUTE );
    aq1.setOperatorType( AttributeQualification.LIKE );
    aq1.setCaseIgnored( true );
    //aq1.setValue( "%doc" );
    aq1.setValue( "%mworldType" );
    // Document.ContentObject = ContentObject.ID
    JoinQualification jq1 = new JoinQualification();
    jq1.setLeftAttribute( className, Document.CONTENTOBJECT_ATTRIBUTE );
    jq1.setRightAttribute( ContentObject.CLASS_NAME, null );
    // Combine the Attribute and Join Qualifications
    SearchClause searchClause = new SearchClause( aq1, jq1, SearchClause.AND );
    // Create the Content Query 'Document Body contains phrase...' and add it in.
    String queryName = "query1";
    ContextQualification contentClause = new ContextQualification();
    contentClause.setQuery( phrase );
    contentClause.setName( queryName );
    System.out.println("Search phrase =" + phrase);
    searchClause = new SearchClause( searchClause, contentClause, SearchClause.AND );
    // Add in the FreeForm Search....
    //FreeFormQualification fq1 = new FreeFormQualification();
    //fq1.setSqlExpression("contains(description,'script',2) > 0");
    //searchClause = new SearchClause( searchClause, fq1, SearchClause.AND);
    // Set up th e Search Class Spec.
    SearchClassSpecification scs = new SearchClassSpecification();
    // Add in the Class for the Where Clause
    String [] searchClasses = new String []
    className, "DOCUMENT",
    ContentObject.CLASS_NAME
    scs.addSearchClasses( searchClasses );
    // Add in the Class for the Select Clause
    scs.addResultClass( className );
    // Define the Order by Clause
    // The List of Classes for the Order Clause
    String [] classNames = new String []
    ContentObject.CLASS_NAME
    // The List of Attibutes for the Order Clause.
    String [] attributes = new String []
    ContextQualification.ORDER_PREFIX + "." + queryName
    // The Ordering for the Attributes in the Order Clause
    boolean [] sortOrder = new boolean []
    false
    SearchSortSpecification sss = new SearchSortSpecification( classNames, attributes, sortOrder );
    // AttributeSearchSpecification searchSpec = new AttributeSearchSpecification();
    ContextSearchSpecification searchSpec = new ContextSearchSpecification();
    searchSpec.setContextClassname( ContentObject.CLASS_NAME );
    // Set the SELECT statement and FROM statement of the search
    searchSpec.setSearchClassSpecification( scs );
    // Set the WHERE clause of the Search
    searchSpec.setSearchQualification( searchClause );
    // Set the ORDER by clause of the search
    searchSpec.setSearchSortSpecification( sss );
    return searchSpec;
    * main
    * @param args
    * Please complete the missing tags for main
    * @return
    * @throws
    * @pre
    * @post
    public static void main( String [] args )
    ExtendedContentSearchXml contentSearch = new ExtendedContentSearchXml();
    contentSearch.setPhrase(args[0]);
    contentSearch.run();
    xml instance
    <?xml version="1.0" standalone="yes"?>
    <mworldType>
    <name> mworld_1.mworldType</name>
    <Category1>Administration</Category1>
    <sub_category1>General_1</sub_category1>
    <topic>Office Protocol_1</topic>
    <format_type>Other</format_type>
    <language>US English</language>
    <submit_company>AMA</submit_company>
    <submit_name>Ken Sickles</submit_name>
    <submit_date format="mm-dd-yyyy">01-29-2001</submit_date>
    <posted_date format="mm-dd-yyyy">01-29-2001</posted_date>
    <posted_by>Ken Sickles</posted_by>
    <access_level>All</access_level>
    <rb_metadata> no meta data </rb_metadata>
    <blurb> this is blurb </blurb>
    <content_url>www.mworld_1.com </content_url>
    <content>My name is Sridevi. This is the content of mworld_1 xml document </content>
    </mworldType>
    Thank you
    Sridevi.
    null

    Either run ctxsrv on the database machine or do the following using SQL*Plus (logged in as the ifs schema):
    exec ctx_ddl.sync_index('globalindexedblob_i')
    Read the interMedia Text documentation for more information about updating interMedia Text indexes.

  • Editing XML documents from iFS WebUI

    When I click on an XML document within the iFS WebUI, it opens the file and shows it to me within Internet Explorer.
    I want the document to be opened on my workstation with Arbortext Epic Editor, but IE keeps trying to display it.
    Has anyone had a problem like this? I don't want Internet Explorer to open the document, but what the XML file is associated with within Windows...
    I have tried changing the MIME type for XML documents within JWS from default to application/octet-stream in an attempt to force IE to pass it to the operating system... but it didn't work.. unless I change the wrong mime.properties file...
    Anyone have a solution?

    Did you change your settings in IE for that mimetype ?
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by David Thomas ([email protected]):
    When I click on an XML document within the iFS WebUI, it opens the file and shows it to me within Internet Explorer.
    I want the document to be opened on my workstation with Arbortext Epic Editor, but IE keeps trying to display it.
    Has anyone had a problem like this? I don't want Internet Explorer to open the document, but what the XML file is associated with within Windows...
    I have tried changing the MIME type for XML documents within JWS from default to application/octet-stream in an attempt to force IE to pass it to the operating system... but it didn't work.. unless I change the wrong mime.properties file...
    Anyone have a solution?<HR></BLOCKQUOTE>
    null

  • IFS Webui source code

    HI,
    I've don't understood if the IFS webui source code was available or not (I've just noticed that I could not find it !)
    Is it possible to customize the webui interface (not only images) or re-use the source code for private developments ?
    Thanks for your answers.
    Yann.

    Seems to be an answer :
    Re: Bug when RangeSize is greater than returned rows?

  • Change priority (drop list) value in WEBUI search area

    Hi all,
    I looking for the customization area/ direction to change the value or the translation of the priority drop list in the WEBUI search area.
    Can someone know how?
    Please help,
    Regards,
    Ety

    Hi
    Do you mean you want to change the details that is showing in the drop down list in your search view on web ui.
    If so, then you can refer to the following code and reuse it as per your requirement.
    Firstly, in your context node's, respective attribute, generate the getter setter methods and add the following pieces of code in get_p and get_v method.
    *code in get_p method
    CASE iv_property.
    WHEN IF_BSP_WD_MODEL_SETTER_GETTER=>FP_FIELDTYPE.
      field type: picklist
    RV_VALUE =
    CL_BSP_DLC_VIEW_DESCRIPTOR=>FIELD_TYPE_PICKLIST.
    ENDCASE.
    *code in get_v method
    DATA: ls_ddlb        TYPE bsp_wd_dropdown_line,
          lt_ddlb        TYPE bsp_wd_dropdown_table.
    IF NOT gr_ddlb_status IS BOUND.
        CREATE OBJECT gr_ddlb_status EXPORTING iv_source_type = 'T'.
      ENDIF.
        ls_ddlb-key   = 'FERT'.
        ls_ddlb-value = 'FINISHED PRODUCT'.
        INSERT ls_ddlb INTO TABLE lt_ddlb.
        ls_ddlb-key   = 'ROH'.
        ls_ddlb-value = 'RAW MATERIAL'.
        INSERT ls_ddlb INTO TABLE lt_ddlb..
    gr_ddlb_status->set_selection_table( it_selection_table = lt_ddlb ).
    rv_valuehelp_descriptor = gr_ddlb_status.
    Whatever, data is written in quotation marks u2018 u2019 is what we want in the drop down fields to display so that the user can choose from one of them.
    Hope this helps.
    Regards
    Preeti Viswanath

  • Outlook 2010, Exchange 2010 - Searching Problems

    Anyone out there able to help with some searching problems some of our users have been seeing?
    Searching in OWA works fine but some people have problems when searching for older emails in Outlook. We've rebuilt Outlook profiles, rebuilt the windows index's (which seems to work but only temporarily). If there's a way to schedule the Windows index to
    rebuild every night or once  week, I'd be very happy to test that out but haven't been able to figure out how to do that.
    Anyone have any other ideas?

    Hi,
    It seems something keeps corrupting the index... Run Anti-virus program and Malicious Software Removal Tool to scan your system, check if there's any virus or malware that may cause the index issue.
    If this issue persists, please also go to File tab ->
    Options -> Search -> Indexing Options
    -> Advanced -> Click Troubleshoot search and indexing, to do some troubleshooting steps to find the possible cause.
    I hope this helps.
    Regards,
    Melon Chen
    TechNet Community Support

  • Problem in WebUI Search using categories

    When doing an Advanced Find in the WebUI using a content type search specifing a Category and searching on the attributes, the results are the category instances and not the publicobjects that they associate with. The WinUI does this correctly. Ideas on how to correct?
    Michael D. Smith
    ERDC - CRREL
    603-646-4765
    [email protected]

    I am sorry, this is not an answer to your question but a little help from you is well appeciated.
    I have just started exploring oracle 9i Lite to develop apps. on Palm and WinCE using OKAPI but the documentation does not seem enough. Is there some book or sample programs available that demonstrate OKAPI to develop form based apps ? CodeWarrior and Satellite Forms are not good when someone wants to try writing demp app.
    Thanks,
    Ashish

  • CRM WebUI Caching problem

    hi all,
    We are creating/Updating CRM products as a background job. When we update the products, we dont see the changes immediately in the WebUI. These changes are immediately visible in SAPGUI.
    If we close and open the browser we will be able to see the changes we have made from background.
    Is it a caching issue?  How to resolve this problem?
    Please help.
    Raghav

    Hi Raghav,
    Thanks for the details!
    I think the issue is because the page is not refreshed hence fresh data transfer does not happen with the backend. So the new results are not included in the search result. Check if you can manually refresh the search result to every time make a backend call and get the results.
    You can also opt for refreshing of the page as well.
    Hope this helps!
    Regards,
    Saumya

  • IFS 9i configuration problem: "intermedia seems to be misconfigured"

    I installed Oracle 9iAs with corresponding database.
    So, I want to use IFS.
    I launched ./ifsconfig from $Oracle_Home/ifs1.1/bin.
    I want to use Intermedia Option.
    I verified that ctxsys user can connect to the database.
    When the "IFS Configuration Assistant" verifies Intermedia Configuration,
    I obtain the following message:
    The following error occured:
    oracle.ifs.utils.action.ActionFailedException:
    interMedia seems to be misconfigured:
    java.sql.SQLException:
    Exhausted Resultset
    What can I do?
    When I don't use Intermedia option, then IFS work fine.,
    but I can't search in contents of documents :(
    Thanks,
    vincent.

    I had the same problem. Make sure you set the LD_LIBRARY_PATH environment variable on the database server to "$ORACLE_HOME/ctx/lib" then restart the database.

  • List View Web Part Search problem

    We have a problem with the search in the
    List View Web Part (SearchBox).
    If you enter anything in SearchBox
    and the beginning of the search, nothing happens.
    This problem only occurs in non-admins.
    In this case, the browser generates an error:
    "inplview" not defined.

    I have the same problem. I think the problem is related to the Publish feature.
    Any ideas?

  • Google search problem in safari

    I went to do a google search and used the window in Safari. When I hit go, I get results but they look strange. Only the search term and then most of it is blank. It's as if the page is so big that I can't see the rest.  When I go to the bottom of the page it says Mobile, but nothing else. When I tap beside it, it went to a "classic" view as if on the desktop of your computer, but then I could not see what I was typing in the search box. It was invisible. No problem with Bing or Yahoo.
    I also have noticed on a page that I normally check that the login button was not there. I could click where the login button usually is and then it will take me to the page, but what I type is also invisible.
    I have an iPhone 4s 5.1.1. No problems on my husbands iPhone 4s.
    Will try to restore.
    Has this happened to anyone?

    Restore has fixed it.

  • How to fix the search problem due to timezone?

    I live in GMT+8 timzone. I just migrated a site from SP2010 to SP2013. After migrated when I search for a managed property (datetime) all results return is 1 day later.
    To troubleshoot the problem, I setup a new managed property using "Text" datatype. In refinement panel for that managed property I found the refinement are all looks like 2013/12/11 16:00:00. (which should be 2013/12/12 00:00:00)
    The old server is running in GMT+8. The only different is SP2010 and SP2013.I have changed the web application -> general settings -> timezone to GMT+8 and the site collection settings as well. We did not enable "My site" so there
    is no personal regional settings. What else I can check?  What should I check and how can I make the search work as expected?

    Once a document is stored and uploaded it has the UTC time stamp on it. Now this timestamp cannot be changed.
    So you either use timezone when the document was uploaded or use it the same way. 
    BTW what difference does it make with the time it shows?
    The field in question is designed to store a "Date" value only not the "Time". The time is always 00:00:00.
    In the old farm, users search for 2013/12/31 will get the results with field value 2013/12/31. Now in the new farm, with the timezone problem, search for 2013/12/31 will get the results with field value 2014/1/1

  • Search problem with ActiveDirectory - please help

    Hi,
    I've tried to get a list of the users out of the Active Directory.
    But I just can't get my code to work. It returns nothing back.
    The problem should be simple. But I can not figure out why.
    Please help!
    Raymond
    import javax.naming.*;
    import javax.naming.event.*;
    import javax.naming.directory.*;
    import javax.naming.ldap.*;
    import java.util.Hashtable;
    import java.util.Vector;
    import java.util.Enumeration;
    public class AdClient {
    public AdClient() {
    getUsers();
    public static void main(String args[]) {
    Client client = new Client();
    private void getUsers() {
    // domain = utest
    String INITCTX = "com.sun.jndi.ldap.LdapCtxFactory";
    String HOST = "ldap://192.168.128.50:389";
    String SEARCHBASE = "ou=Users,dc=utest,dc=com";
    String FILTER = "cn=*";
    try {
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, INITCTX);
    env.put(Context.PROVIDER_URL, HOST);
    env.put(Context.SECURITY_AUTHENTICATION, "simple");
    env.put(Context.SECURITY_PRINCIPAL, "[email protected]");
    env.put(Context.SECURITY_CREDENTIALS,"admin");
    DirContext ctx = new InitialDirContext(env);
    SearchControls constraints = new SearchControls();
    constraints.setSearchScope(SearchControls.SUBTREE_SCOPE);
    NamingEnumeration results;
    // now search for the users
    results = ctx.search(SEARCHBASE, FILTER, constraints);
    while (results.hasMoreElements()) {
    SearchResult sr = (SearchResult)results.nextElement();
    System.out.println(sr.getName());
    ctx.close();
    } catch(Exception e) {
    e.printStackTrace();
    }

    I tried your code...
    There were two issues I saw, when I changed them it worked!
    1) public static void main(String args[]) {
    Client client = new Client();
    should be
    public static void main(String args[]) {
    AdClient client = new AdClient();
    2) String SEARCHBASE = "ou=Users,dc=utest,dc=com";
    env.put(Context.SECURITY_PRINCIPAL, "[email protected]");
    Should be
    String SEARCHBASE = "ou=Users,dc=utest,dc=newcom,dc=com";
    env.put(Context.SECURITY_PRINCIPAL, "[email protected]");

  • RoboHelp HTML 8 Search problem

    I have a single (non-merged) RoboHelp 8 HTML project in which I cannot seem to get Search working correctly.
    I expected to see a box into which I can type a search term and a blank pane below the Contents/Index/Search/Glossary bar where search results would appear.  Instead, I get the following when I generate WebHelp:
    This problem appears in IE 6, IE 7, Firefox 3.0, and Firefox 3.5, all of which our customer base uses.  I'm using RoboHelp 8 on a Windows PC with XP Pro 2002, SP3.
    In the Project Settings/General dialog, I have the default settings for the Stop List and the Always Ignore List selected.  For "Add new keywords to" I have "Index File (HHK)" selected, and "Binary Index" is selected.
    When generating WebHelp, I have the following set:
    General selections:  Under "Additional Options," "Apply to all Topics," "CSS" is selected, with the correct CSS name displayed.  "Add Mark of the Web" is selected.
    Navigation selections:  For Toolbar Buttons, Contents, Index, Search, Glossary are selected.  For Search Options, "Enable Highlight Search Results" is selected.
    Navigation Pane Preferred Format selection is Pure HTML.  (We tried DHTML/HTML but that resulted in an empty nav pane and a nonfunctional index.)
    Optimize Speed For:  Web Site (Internet)
    Publish:  Republish All.
    What are we doing wrong?  I'm totally stumped and I can't seem to find any help on this issue anywhere.  Thanks!

    Hi there
    Please do expound.
    MSMoore9412 wrote:
     I finally succeeded in getting a Search pane that looked right and performed correctly by deselecting the Mark of the Web option.
    To my knowledge this option only affects the output when you view things locally, as in when you are testing the output immediately after generating. Are you saying here that it somehow affected things after you uploaded the files to the server?
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Numbers search problem

    I have Numbers 08, OX, the search works some of the time but will suddenly quit. The other day I was searching books by a certain author, to compare to a list of her books, trying to figure out which ones I had not read. (yes, I keep a log of the books I have read). For instance, I had searched & found a book, then searched for another, no find. Yet, when I looked at the one before, I see the one I searched for a few lines below. I tried other searches that should have landed on books but nothing happened. I quit Numbers & then checked it again, nada. It is working today...did it just need a reboot of Mac? I really can't imagine software that requires that. Oh yes, there were about 30 books that I searched.
    Thanks for your help in solving my problem in Numbers.

    I have Numbers 08, OX, the search works some of the time but will suddenly quit. The other day I was searching books by a certain author, to compare to a list of her books, trying to figure out which ones I had not read. (yes, I keep a log of the books I have read). For instance, I had searched & found a book, then searched for another, no find. Yet, when I looked at the one before, I see the one I searched for a few lines below. I tried other searches that should have landed on books but nothing happened. I quit Numbers & then checked it again, nada. It is working today...did it just need a reboot of Mac? I really can't imagine software that requires that. Oh yes, there were about 30 books that I searched.
    Thanks for your help in solving my problem in Numbers.

Maybe you are looking for

  • How to find the user exit for order cancellation

    I want to find the user exit for order cancellation. And also to ensure that no one amends the order once the canellation has taken place. The cancellation shall be deemed to be affected only if the vendor has confirmed the acknowledgement of the ord

  • Budgeting at the company code level

    Hi Experts, My client is in Sales and Distribtuion company and they are having sales budget and procurement budget along with financial budget at the company code level down to the branches.And also they will budgeted the advertisement and sales prom

  • Advantages of BW SD reports over the SIS

    Hello BI experts, Would like to present the advantages of BW SD reports over the SD SIS reports. 1) Please provide me three main advantages and benefits to clients implementing BW SD reports over the SIS reports. 2) Are there any reports in the SIS s

  • No account assignment details were adopted - Confirm Goods / Services

    Hey Group, I have an issue:  I'm in the Confirm Goods /Services.  When I attempt to 'Start' a search for Confirms Goods Receipts/Services Performed, I get the message:  No account assignment details were adopted.  Do any of you know why I might  be g

  • Why does PSE 12 installation continually fail?

    Despite repeated attempts with Adobe Support, I am unable to get PSE 12 installed due to "Shared Technologies" installation failure. After 20-30 minutes of attempting an install, I receive an error message saying that Shared Technologies has failed t