Search with IFS

Hi all,
I'm making my own search JSP but have the following problem. I will paste my code here.
<SNIP>
AttributeQualification aqType = new AttributeQualification();
aqType.setAttribute("XDOCUMENT", "DOCTYPE");
aqType.setOperatorType(AttributeQualification.EQUAL);
aqType.setValue("brochure");
AttributeQualification aqStatus = new AttributeQualification();
aqStatus.setAttribute("XDOCUMENT", "STATUS");
aqStatus.setOperatorType(AttributeQualification.EQUAL);
aqStatus.setValue("approved");
SearchClause scType = new SearchClause( aqType, aqStatus, SearchClause.AND);
</SNIP>
This works fine, but the problem is that when the document type of my XDOCUMENT is "Brochure" (with capital "B"), I can't find the document. So my question is: can I make my search case case-INsensitive??
Thanks!!

I think you want the method AttributeQualification.setCaseIgnored(true);
setCaseIgnored
public void setCaseIgnored(boolean value)
throws IfsException
Sets up case sensitive behavior based on the parameter. Default behavior is case sensitive.
Throws:
IfsException - if the operation fails

Similar Messages

  • IFS Searching with other Search Engines

    Is it possible to set up iFS searching with or without interMedia) that would work with a search engine for static pages, like Infoseek?
    From an "end-users" point of view, I would like to have them search for a document, some of which may be stored in the database, but others are html pages used for the site.

    You would have to write a custom program which would submit searches to IFS and to your Infoseek search engine, and then combine the results for the end user.
    Or you could use iFS and Intermedia to index the static HTML pages.

  • Problem with context search in iFS

    Hello , here is my problem with iFS.
    We have installation of Oracle 8.1.7 Enterprise edition with interMedia and iFS 1.1 on same server (Windows NT Server 4.0/512 RAM). During install everything went fine.
    I had uploaded about 200 MB files in the iFS (pdf's and html's).
    The problem is when I try to use context based search. If I search for file's name everything is fine, but when I search for a word that is in a file it almost immediately gives mi "0 file(s) found", and I'm sure that there are files that have that word in their body's.
    What can be the problem?
    Any sugestions will be in help.
    Thanks in advance.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by mark_d_Drake ():
    That's the way it works. Content Indexing is not on insert, it occurs when the ctxsrv process runs. See the IntermediaText doc for more information.
    <HR></BLOCKQUOTE>
    Documents's content is stored in the GLOBALINDEXEDBLOB column of the IFSSYS.ODMM_CONTENTSTORE table.
    There is an text index GLOBALINDEXEDBLOB_I built on this column.
    To make the context search possible just update this index using the following command in SQL*Plus:
    SQL> exec ctx_ddl.sync_index('GLOBALINDEXEDBLOB_I');
    If you want this index be updated automatically when new documents are uploaded/changed/deleted in iFS then start the ctxsrv utility on the computer where your Oracle database resides. To do this issue the following command in OS command line:
    ctxsrv -user ctxsys/ctxpwd@db_alias
    just replace here ctxpwd and db_alias with real values you specified during the installation.
    null

  • JWS failure with iFS 1.1.9 linux

    Hi everybody,
    Since my update from ifs 1.1.5 linux to
    ifs 1.1.9 linux,I have noticed that jws hasn't been working anymore!
    The content of JWS.log is the following one:
    libserver.so: cannot open shared object file:No such file or directory (libserver.so)
    After searching for libserver.so I discovered that files named libserver.so could only be found in two oracle home subdirectories:
    ./ifs1.1/jws/lib/solaris/sparc/
    and
    ./ifs1.1/jws/native/solaris/sparc/
    Here is the configuration on which iFS is running:
    Pentium II 400 Mhz
    RAM 384 Mo
    OS: Linux Suse 7.0
    The Oracle database is on another machine:
    Celeron 500 Mhz/512 Mo RAM/Windows NT Server.
    Have you already experienced a similar problem with iFS 1.1.9 linux ?
    Could someone give an explanation to me ?
    Many thanks in advance.
    Jean-Claude
    null

    I always get that same error in jws, and ifsstart sometimes cannot start jws. Have you tried to start jws by the web interface http://server:1717/ ?

  • How to use ADF Query search with EJB 3.0

    Hi,
    In ADF guide http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/web_search_bc.htm#CIHIJABA
    The steps to create query search with ADF Business Components says:
    "+From the Data Controls panel, select the data collection and expand the Named Criteria node to display a list of named view criteria.+"
    But with EJB, I'm not able to find Named Criteria node. Can we use ADF query search component with EJB? If yes, can you please show me some example, tutorial etc.?
    Thanks
    BJ

    For EJBs you'll need to implement the query model on your own.
    An example of how the model should look like is in the ADF Faces components demo.
    http://jdevadf.oracle.com/adf-richclient-demo/faces/components/query.jspx
    Code here:
    http://www.oracle.com/technology/products/adf/adffaces/11/doc/demo/adf_faces_rc_demo.html

  • How do i change the setting so that when i type something in the address bar, it searches with google. it's started using yahoo and i hate yahoo, i'm even considering leaving firefox

    somethings i type something in the address bar, like 'paypal', mozilla used to go straight to that website, which was helpful... then it started searching with google, this i was not too upset about... however now it has started searching with yahoo, this i am upset about, and i would like to change this, however i do not know how?

    1. Use  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 done, quit AdwareMedic by clicking AdwareMedic in the menu bar and selecting
        “Quit AdwareMedic”.
    2. Safari > Preferences > Extensions
         Turn those off and relaunch Safari to test .
         Turn those on one by one and test.
    3. Safari > Preferences >  Search > Search Engine :
        Select your preferred   search engine.
    4. Safari > Preferences > General > Homepage:
         Set your Homepage.

  • How to enhance the standard search with custom field?

    Hi all,
    I would like to know the general optimal procedure to enhance the standard searches like Opportunity search or Lead search.
    I've gone through some of the threads here. Some suggest, to add the new field using AET and copy the IMPL class of the search and then code the custom logic. Some say, append the new field to the structure of the search object and then implement the BADI.
    I'm actually a bit confused to understand the correct procedure.
    Can someone please help me with a generic procedure to enhance the standard search with a custom field?
    Thanks in advance.

    Hi Maren,
    Once I have got the same development. I have followed the below steps, please check with this. Let me know for further inputs.
      Add new field using Append structure of type ‘XXX’ in search
      Create BADI implementation for Enhancement spot ‘ES_CRM_RF_Q1O_SEARCH’ and include filter ‘BTQOPP’
      Put your logic in BADI implementation – SEARCH method
      Add it in WebUI configuration
      Remove the operator if required
    Regards,
    Swadini Sujanaranjan

  • Searching with in a SharePoint 2013 Document Library

    Hi,
    i want to search document library by passing values from Search box to Search Results webpart. I m not able to search with in the document library although i have configured content source and result sources. 
    With Regards,
    Jaskaran Singh

    You can try using a web form html webpart in a web part page instead.
    Use Designer to add additional search columns and you should be able to create something usable.
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • How to customize quick query to search with SQL in contain keyword

    I want to build simple query using quick query component. But it will search with SQL equal keyword. How can I customize it to use contain keyword instead. That means, I enter 'sc' to return 'scott'.

    Not sure if the technique described here http://tompeez.wordpress.com/2011/08/21/extending-viewcriteria-to-use-sql-contains-4/ can be used for quick query, but you can try ...
    Timo

  • How to search with multiple constraints in the new java API?

    I'm having a problem using the new MDM API to do searches with multiple constraints.  Here are the classes I'm trying to use, and the scenario I'm trying to implement:
    Classes:
    SearchItem: Interface
    SearchGroup: implements SearchItem, empty constructor,
                 addSearchItem (requires SearchDimension and SearchConstraint, or just a SearchItem),
                 setComparisonOperator
    SearchParameter: implements SearchItem, constructor requires SearchDimension and SearchConstraint objects
    Search: extends SearchGroup, constructor requires TableId object
    RetrieveLimitedRecordsCommand: setSearch method requires Search object
    FieldDimension: constructor requires FieldId object or FieldIds[] fieldPath
    TextSearchConstraint: constructor requires string value and int comparisonOperator(enum)
    BooleanSearchConstraint: constructor requires boolean value
    Scenario:
    Okay, so say we have a main table, Products.  We want to search the table for the following:
    field IsActive = true
    field ProductColor = red or blue or green
    So the question is how to build this search with the above classes?  Everything I've tried so far results in the following error:
    Exception in thread "main" java.lang.UnsupportedOperationException: Search group nesting is currently not supported.
         at com.sap.mdm.search.SearchGroup.addSearchItem(Unknown Source)
    I can do just the ProductColor search like this:
    Search mySearch = new Search(<Products TableId>);
    mySearch.setComparisonOperator(Search.OR_OPERATOR);
    FieldDimension myColorFieldDim = new FieldDimension(<ProductColor FieldId>);
    TextSearchConstraint myTextConRed = new TextSearchConstraint("red",TextSearchConstraint.EQUALS);
    TextSearchConstraint myTextConBlue = new TextSearchConstraint("blue",TextSearchConstraint.EQUALS);
    TextSearchConstraint myTextConGreen = new TextSearchConstraint("green",TextSearchConstraint.EQUALS);
    mySearch.addSearchItem(myColorFieldDim,myTextConRed);
    mySearch.addSearchItem(myColorFieldDim,myTextConBlue);
    mySearch.addSearchItem(myColorFieldDim,myTextConGreen);
    the question is how do I add the AND of the BooleanSearchConstraint?
    FieldDimension myActiveFieldDim = new FieldDimension(<IsActive FieldId>);
    BooleanSearchConstraint myBoolCon = new BooleanSearchConstraint(true);
    I can't just add it to mySearch because mySearch is using OR operator, so it would return ALL of the Products records that match IsActive = true.  I tried creating a higher level Search object like this:
    Search topSearch = new Search(<Products TableId>);
    topSearch.setComparisonOperator(Search.AND_OPERATOR);
    topSearch.addSearchItem(mySearch);
    topSearch.addSearchItem(myActiveFieldDim,myBoolCon);
    But when I do this I get the above "Search group nesting is currently not supported" error.  Does that mean this kind of search cannot be done with the new MDM API?

    I'm actually testing a pre-release of SP05 right now, and it still is not functional.  The best that can be done is to use a PickListSearchConstraint to act as an OR within a field.  But PickList is limited to lookup Id values, text attribute values, numeric attribute values and coupled attribute values.  It works for me in some cases where I have lookup Id values, but not in other cases where the users want to search on multiple text values within a single field.

  • Personalized Simple Search with new messageLovInput - Search does not work

    I have currently set an Message LOV Input into a Simple Search Panel for IcxPorRcvSrchPG.
    I have got the LOV bringing back the correct values, but when I hit the GO button the Search does not work.
    Can someome please help me on how I am able to get the search working in the Simple Search Panel.
    Details of VO's are as follows:
    xxReceiveItemsDueVO (extended from ReceiveItemsDueVO)
    xxReceiveMyItemsVO (extended from ReceiveMyItemsVO )
    xxReceivePurchaseItemsVO (extended from ReceivePurchaseItemsVO)
    xxReceiveReqItemsVO (extended from ReceiveReqItemsVO)
    Extended Attribute I am looking to search with is xxWono.
    Current search items are working 100% with extended VO's, but when I try and search with new item, I am having no luck. The search is acting as though the new item has not even been created.
    Additional Lov Details are as follows:
    Level: Site
    Item Style: Message Lov Input
    ID: xxWONumSearch
    Data Type: VARCHAR2
    External LOV: /oracle/apps/icx/lov/webui/WorkOrderLovRN
    Prompt: Work Order Number
    Search Allowed: False
    Search Criteria: False
    Lov Map
    ID: xxWipEntityName
    Criteria Item: xxWONumSearch
    LOV Region: WipEntityName
    Programmatic Query: False
    Required: False
    Return Item: xxWONumSearch
    Framework version: 11.5.10.6RUP
    Is there a way of doing this through Personalization?
    With the version of framework I am not able to add a simpleSearchMapping through Personalization.
    Can someone please advise?
    Thanks
    Lee

    When I generate and then view the help, it looks perfect!  I changed the name of the project folder since the information is proprietary.  I have several pictures including the parent folder and the only 3 folders that are generated.  I cannot find the Webhelp output folder.  I think this is what you need to see.

  • JSF, encoding,  do not working search with non english words!

    All my pages UTF-8, Database charset set UTF-8, My search with russian words does not working, How can I improve it?

    Update: It seems to be related to the themeLinks in the JSP. I got it working for a second by adding in a missing themelinks link... but it's not working anymore. Huh.
    Ideas?

  • Search with "Current Node + All Subfolders" not functioning correctly

    Hi,
    We are having an issue with the search function of SCCM 2012 Admin Console. We have built multi-level folder structure to SCCM which matches our organizational unit structure in AD.
    The issue occurs when trying to search with "Current Node + All Subfolders" option in a folder to get listing of all collections nested in the structure. As a result we get incomplete list of collections and majority of them are not showing
    up. Sometimes the console even crashes when trying to do this kind of search. Note that this behaviour only occurs when searching inside a folder, not in the device collections root node.
    We managed to trace the SQL query in the above situation from SMSProv.log, and it is as follows:
    select  all SMS_Collection.SiteID,SMS_Collection.CollectionType,SMS_Collection.CollectionVariablesCount,SMS_Collection.CollectionComment,SMS_Collection.CurrentStatus,SMS_Collection.HasProvisionedMember,SMS_Collection.IncludeExcludeCollectionsCount,SMS_Collection.IsBuiltIn,SMS_Collection.IsReferenceCollection,SMS_Collection.LastChangeTime,SMS_Collection.LastMemberChangeTime,SMS_Collection.LastRefreshTime,SMS_Collection.LimitToCollectionID,SMS_Collection.LimitToCollectionName,SMS_Collection.LocalMemberCount,SMS_Collection.ResultClassName,SMS_Collection.MemberCount,SMS_Collection.MonitoringFlags,SMS_Collection.CollectionName,SMS_Collection.PowerConfigsCount,SMS_Collection.RefreshType,SMS_Collection.ServiceWindowsCount from vCollections AS SMS_Collection  where (SMS_Collection.SiteID
    in (select  all Folder##Alias##810314.InstanceKey from vFolderMembers AS Folder##Alias##810314 
    where (Folder##Alias##810314.ObjectTypeName = N'SMS_Collection_Device'
    AND Folder##Alias##810314.ContainerNodeID in
    (16777237,16777374,16777384,16777385,16777375,16777376,16777377,16777378)))
    AND SMS_Collection.CollectionType = 2) order by SMS_Collection.CollectionName
    From this we noticed that not all ContainerNodeIDs are searched, but a list of only 8 ContainerNodeIDs. These ContainerNodeIDs remain the same if the search is done again in the same folder. The same behaviour repeats also in other folders with a different
    list of ContainerNodeIDs.
    For clarification I'll attach a picture which shows our folder structure with ContainerNodeIDs and ParentContainerIDs. We have also marked the containers which were present in SQL statement. From this you can clearly see there should have been far more ContainerNodeIDs
    than listed in the SQL query. Is this a bug in the admin console or could this be a problem with our site database? Is anyone else experiencing similar issues? We have written a custom
    powershell script that reads containers from SMS_ObjectContainerNode WMI-class recursively and is able to return complete list of folders and their subfolders, so we assume that our site database and WMI on site server is functioning correctly.
    We noticed this on CU2 (could have been present also earlier) and updating to CU3 did not fix the problem. Currently we are running SCCM 2012 SP1 CU3 with one primary site. All components besides distribution point is running on the site server. Distrubution
    point is running on a separate server. Our SQL server is running on the site server.
    Best Regards,
    Juha-Matti

    Sorry for the very long delay. I created the ticket in the autumn of last year and just received the final verdict to this issue.
    Microsoft support said they were able to reproduce the problem and that they contacted the product group about this issue. It turns out that this behaviour is by design (wait, what?) and since it is by design there is nothing they
    can/will do about it.
    So the only choice is to request a tailored customization for SCCM2012, which probably in this case (as it is by design) would cost.
    I feel a bit puzzled: how can it be by design if it clearly does not work?

  • When highlighting text and searching with Google, even though my default browser is Chrome, it searches with Safari.  How do I change that?

    Using iMac and Maverick OS.  I have Chrome as my default browser.  I find that going to System Preferences/General under default browser, I note that Chrome is chosen as default, yet the browser "above the line" is Safari and Chrome, while checked off is "below the line".  In other words, the top listed browser is Safari which is unchecked with a line underneath, even though all the other browsers are listed below the line and only Chrome has a check mark. 
    When I am on a website and I select words to search in Google, it always searches with Safari instead of Chrome.  How do I change that?

    Thanks for your response.  I think it was my error in that I did not define the problem properly.  Indeed Chrome is my default browser.  And Maverick does not have a "next line" to default to Google.  I can do that in the Chrome settings. 
    My problem is that when I am in another application.....and it is apparently an application native to Maverick....for example Contacts or Calendar, Reminders, Notes, etc., if I highlight a word or phrase, and right click and choose "search with Google", it defaults to Safari.  How do I change that?

  • Google is set as my search engine but whenever I search something in the address bar it searches with Yahoo! How do I get rid of Yahoo! as my search engine when it is not even set to be my search engine in the first place?

    Google is set as my search engine but whenever I search something in the address bar it searches with Yahoo! How do I get rid of Yahoo! as my search engine when it is not even set to be my search engine in the first place?

    1. Use  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 done, quit AdwareMedic by clicking AdwareMedic in the menu bar and selecting
        “Quit AdwareMedic”.
    2. Safari > Preferences > Extensions
         Turn those off and relaunch Safari to test .
         Turn those on one by one and test.
    3. Safari > Preferences >  Search > Search Engine :
        Select your preferred   search engine.
    4. Safari > Preferences > General > Homepage:
         Set your Homepage.

Maybe you are looking for

  • IMac btree or volume structure problem?

    When I turn on my 8 year old iMac I get a gray screen with the Apple logo and a narrow horizontal bar just above the logo. I tried doing a Safe Boot, but after a few minutes it restarts itself. I started it up from various CDs that came with it, and

  • SAP MM Batch characteristics during Plant to plant stock transfer

    Hello, I have a requirement where if i have 100 kg of a batch A in X plant and i transfer 70 kg of this batch A to Y plant. So now i have 70 kg of Batch A in X plant and 30 kg in Y plant. I want the batch characteristics of the batch A to be copied i

  • Outlook contacts & Comcast problems

    I'm a total Newbie!! I have 2 problems.Until I purchased my 8130, my email & cell contacts were completely seperate.I synced on Outlook and it worked perfectly. 1. My first problem is that I can not "import" my address book from Comcast.All my old em

  • ToDate for Year Ago - OBIEE 10g

    Hi All, I have got a following requirement. Year to Date(YTD) --> 01-01-2011 to 27-09-2011 (today) Year to Date Year Ago (YTD-1) --> 01-01-2010 to 27-09-2010 (same day last year) I can get YTD using ToDate function. Can someone help me to get the YTD

  • Photos won't open since update to 9.1.1  HELP!!!

    I just finished the update to iPhoto 9.1.1 and in the "photos" menu I can see all the thumbnails of the pictures, but when I double click on some ( most, though not all) of the photos, I get a large ! (exclamation point) but no picture.. I cannot fin