Context search on content + other field(s)

I'm using oracle.ifs.search.* classes to do a context search on the content but at the same time I want to do a context search on the DOCUMENT.DESCRIPTION field.
(A bit like what you can do when searching in this Forum)
The ContextSearchSpecification only seems to allow 1 classname for the context Query.
I could use a FreeFormQualification instead, I guess, but then I'm not only loosing late binding, but I cannot get to the score results and nor can I sort on the scores.
Are there ways to overcome this ?
Are there any examples on how to use a FreeFormQualification exactly ?
null

Another method that puzzles me a lot :
oracle.ifs.search.ContextSearchSpecification.setMedia(oracle.ifs.beans.Media [] media)
It is supposed to explicitly set the Media to search over. Can I use it to do a context search on multiple media ? It looks that way.
oracle.ifs.beans.Media is not documented.
Any examples of the use of setMedia ?

Similar Messages

  • How do I search contacts by a field other than name (e.g. category)?

    I recently switched from Blackberry to iPhone 4, and I use my iPhone 4 primarily for business. I have a PC and use Outlook as my contacts application.
    I regularly populate my Outlook contact records with various notes, and I regularly categorize my contacts. With Blackberry I could (and regularly did) search my contacts by fields other than by contact name (e.g. words which I had entered into fields such as Notes, City, State, Company, or Category, and this was very useful. For example, if I created a category called "Accountants" and categorized 3 contacts in that category, I could search my contacts for "Accountants" on my Blackberry and it would show a list of the 3 contacts I have who are Accountants. Or if I wanted a list of all contacts who reside in Chicago so that I can put together a slate of meetings during a visit to Chicago, I could search my contacts for "Chicago" and the search would result in a list of all my contacts with "Chicago" in their record (either in location, category, or notes fields).
    With iPhone 4, so far I've only figured out how to search the name fields of my contact records, but hopefully it is possible to search other fields or the entire contact record. How do I do that?
    Thanks.

    http://www.apple.com/iphone/features/search.html

  • Business Content extractors'   "other fields"  -  How do I get them?

    Hi everyone.
    I have installed <b>0CO_OM_OPA_6</b> from Business Content, however there are 6 fields that don't appear. If you right-click on 0CO_OM_OPA_6 in DataSource Overview (RSA1-->SourceSystems) and choose "Object Overview", a window pops up with all the contents listed and grouped as Characteristics, Key Figures, Time Characteristics and Units, and at the end there is a section called "Other Fields" which contains the object I want, AUTYP (Order Category).
    Does anyone know how to get this? It did not appear when I activated the business content, and it is not available in Transfer Rules or Communication Structure.
    Thank you!

    hi,
    sorry... just check in system...
    yes field AUTYP isn't appear in transfer structure,
    checking r/3 side, transaction rsa6, the field AUTYP is a selection, but going detail to table ROOSFIELD (se16), AUTYP has value '1' for field SELECTION, using F1, it's explained
    '1': Pure selection field for the DataSource. The customer can change the selection, but not the visibility
    it should mean it's not visible, which differ from AUFNR which has value 'X' (selectable and visible).
    there also written
    'A field that is not visible (or that is hidden) cannot be transferred into the transfer structure.'
    we can update the value ROOSFIELD-SELECTION for AUTYP with abap program but don't know it will work or not.

  • How to copy the corresponding values other fields in  Search help

    Hi All,
    My selection screen contains 5 fields. three are obligatory parameters, one date field and one select option.
    All are from the same table . I had created search help for one field .
    when I'll click the hit list of the search help I want the corresponding values to get copied to other fields in the selection screen, as my hit list contain values for all those fields.
    How Can I copy those values.
    Please help me on this.

    Hi,
    Please try this.
    In the search help set the export parameter for the other fields also.
    Thanks
    Naren

  • Automatically populate other fields on screen while applying search help on

    Hi,
    There is some urgent requirement
    I have one screen in which 3 fields are there
    Functionality is like this when I apply search help for one field it will call a FM which populate a internal table in which value for all 3 fields will be there and it should be populated in all 3 fields.
    I am assigning proper value to all 3 fields in POV event but only one feild is getting populated on which I am applying search help.
    Anybody can sort this out.
    will be thankful to U.

    Hi..,
    just copy, paste and execute this code..
    Check this code..will be helpful for u..
    tables:mara,makt,mseg.
    parameters: p_bukrs type t001-bukrs,
    p_butxt type t001-butxt,
    p_ort01 type t001-ort01,
    p_land1 type t001-land1.
    data: dynfields type table of dynpread with header line.
    data: return type table of ddshretval with header line.
    at selection-screen on value-request for p_bukrs.
    call function 'F4IF_FIELD_VALUE_REQUEST'
    exporting
    tabname = 'T001'
    fieldname = 'BUKRS'
    dynpprog = sy-cprog
    dynpnr = sy-dynnr
    dynprofield = 'P_BUKRS'
    tables
    return_tab = return
    exceptions
    field_not_found = 1
    no_help_for_field = 2
    inconsistent_help = 3
    no_values_found = 4
    others = 5.
    refresh dynfields.
    read table return with key fieldname = 'P_BUKRS'.
    Add it back to the dynpro.
    dynfields-fieldname = return-retfield.
    dynfields-fieldvalue = return-fieldval.
    append dynfields.
    Get the company code from db and add to dynpro
    data: xt001 type t001.
    clear xt001.
    select single * into xt001
    from t001
    where bukrs = return-fieldval.
    dynfields-fieldname = 'P_BUTXT'.
    dynfields-fieldvalue = xt001-butxt.
    append dynfields.
    dynfields-fieldname = 'P_ORT01'.
    dynfields-fieldvalue = xt001-ort01.
    append dynfields.
    dynfields-fieldname = 'P_LAND1'.
    dynfields-fieldvalue = xt001-land1.
    append dynfields.
    Update the dynpro values.
    call function 'DYNP_VALUES_UPDATE'
    exporting
    dyname = sy-cprog
    dynumb = sy-dynnr
    tables
    dynpfields = dynfields
    exceptions
    others = 8.
    <b>
    plz do remember to close your thread, when ur problem is solvedd !! reward all helpful answers !!
    regards,
    sai ramesh</b>

  • How can I search the "Other" field in my Thunderbird contacts?

    I imported my Yahoo contacts into Thunderbird. All my keywords were in the "Notes" field in Yahoo. After importing into Thunderbird, all these ended up in the "Other" field.
    When I go into the search tool, it lists all searchable fields. "Other" is not included. Is there any way to search "Other"? Or is there a way to import the contacts in a way that lands the Yahoo "Notes" into a searchable field?
    Thanks!

    I am running Thunderbird v 24.2.0 under Bodhi Linux (Ubuntu derivative).
    I click on the Address Book button to open my address book.
    Then I click Edit > Search Addresses.
    This opens a detailed dialog box called Advanced Address Book Search.
    First, I can choose which address book(s) to search.
    Then I can use a drop-down menu to choose various fields and search criteria, to build a regular expression for searching. It is actually quite comprehensive.
    The only problem for me is: Most of my key words are located in the "Other" field, which is not included in the drop-down list. Very frustrating. The information is there, but it cannot be accessed with this tool. (At least, I have not figured out how to do so.)

  • Custom Search Help for the field Equipment number

    Hi,
    I have enchanced sales order transaction and included a field Equipment number(EQUI-EQUNR).
    Here after pressing F4(Search help) standard search help is display.
    I have a requirement wherein, the standard search help should not appear and a customised search where a specific Equipment category type values should appear in the search help.
    Ex. Field equipment  category (EQTYP).EQUNR(Equipment Number).
    Please let me know how to work for the customised search help.

    Hi,
    You need to create a customized search help.
    [Elementary Search Help - Structure|http://help.sap.com/saphelp_nw04/helpdata/EN/cf/21ee38446011d189700000e8322d00/content.htm]
    [Creating Elementary Search Helps|http://help.sap.com/saphelp_nw04/helpdata/EN/cf/21ee5f446011d189700000e8322d00/content.htm]
    Then you need to attach the search help to the screen field..
    [Assigning Search Helps to Screen Fields|http://help.sap.com/saphelp_nw04/helpdata/EN/cf/21ee93446011d189700000e8322d00/content.htm]
    [Hierarchy of Search Help Call|http://help.sap.com/saphelp_nw04/helpdata/EN/0b/32e9b798da11d295b800a0c929b3c3/content.htm]
    regards
    Nitesh

  • 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

  • Context search in compressed files

    Is there any way of searching for content in compressed files?
    For example: if I have five text files in a zip file (and this zip is in iFS), iFS is able to make a context search inside those text files? In our application, the context search works great, but we faced this problem with the zip's.
    Thanks in advance,
    Fabio.

    Hi ,
    We too have the same problem apart from peformance problem.Looks like iFS API's need lot of improvements.

  • Search help for user field for WBS element

    Hi,
    how can I add a search help to one of the user fields for WBS elements without modification? Is there an exit which I can use? I want to have a search help for field PRPS-USR02.
    Thanks for your help.

    Hi
    Create an elementary serach help using the Table USR01 or USR03
    see the steps
    1) Elementary search helps describe a search path. The elementary search help must define where the data of the hit list should be read from (selection method), how the exchange of values between the screen template and selection method is implemented (interface of the search help) and how the online input help should be defined (online behavior of the search help).
    2) Collective search helps combine several elementary search helps. A collective search help thus can offer several alternative search paths.
    3)An elementary search help defines the standard flow of an input help.
    4) A collective search help combines several elementary search helps. The user can thus choose one of several alternative search paths with a collective search help.
    5)A collective search help comprises several elementary search helps. It combines all the search paths that are meaningful for a field.
    6)Both elementary search helps and other search helps can be included in a collective search help. If other collective search helps are contained in a collective search help, they are expanded to the level of the elementary search helps when the input help is called.
    CREATION:
    Go to SE11  Tcode
    select search help
    give the 'z' search help name and create
    select the selection method ur table name eg : 'mara'
    dialog module 'display value immediately'.
    add the field whatever u want and lpos = 1 and spos = 1 and check import and export parameter.
    where left position when displaying and spos = search position
    and then save and activate ..
    See the links:
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee38446011d189700000e8322d00/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee45446011d189700000e8322d00/content.htm
    https://forums.sdn.sap.com/click.jspa?searchID=3173469&messageID=2176485
    https://forums.sdn.sap.com/click.jspa?searchID=3173469&messageID=3601619
    pls go through this for search help creation
    http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm
    Search Help Exits:
    Re: dynamic values for search help
    Re: Dynamic search  help
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee52446011d189700000e8322d00/content.htm
    http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_exit.htm
    https://forums.sdn.sap.com/click.jspa?searchID=4390517&messageID=1712818
    Regards
    Anji

  • Attaching Search Help to a field

    HI All,
    Can anybody please tell me how to attach search help to a particular field??
    Thanks.

    hi
    good
    Attaching to a Table Field or Structure Field
    The search help can be used by all screen fields that refer to the table field or structure field. The search help parameters and the fields of the table or structure must be assigned to one other in this type of attachment.
    If an export parameter of the search help is assigned to a table field, the contents of this parameter are returned to the corresponding screen field as soon as the user has selected a line of the hit list in the input help. If an import parameter of the search help is assigned to a table field, the field contents are used for the value selection (see Value Transport for the Input Help).
    Normally some parameters of the search help cannot be assigned to a table field. The assignment is thus left open for some search help parameters. A constant or any other field that is searched for in the module pool when the input help is called can also be assigned to a search help parameter.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/63/1b70bfc32111d1950600a0c929b3c3/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/63/1b70c2c32111d1950600a0c929b3c3/content.htm
    thanks
    mrutyun^

  • Hide content id field

    Hi,,
    anyone knows how to hide the content id field from the "Content Check id form (Folder)". which comes under link Browse Content->any of the folder -> Actions (situated top right corner) -> New Content. Tell me how to hide the meta data from there..

    (At least in my environment) the link you refer to displays the standard check-in profile. Therefore, you can
    - modify the page template of the standard checkin to hide the content id. Note that change will apply in all places where standard check-in profile is displayed.
    - modify the page template of contribution folders' component not to display the standard, but other profile of your selection. This might require a bit more search (most likely in Folders_g component) and possibly even a little customization.

  • Unable to open search service content sources from SharePoint

    HI
    unable to open search service content sources from SharePoint , I got this error in search server event viewer .
    A database error occurred. Source: Microsoft SQL Server Native Client 10.0 Code: 1205 occurred 1 time(s) Description: Transaction (Process ID 66) was deadlocked
    on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
    Context: Application 'SP_SearchApp'
    adil

    Hi,
    Based on the error message, I recommend to stop all the crawl process in SharePoint search service application by using PowerShell and then check the results:
    http://blogs.technet.com/b/heyscriptingguy/archive/2010/09/28/how-to-use-sharepoint-2010-windows-powershell-cmdlets-to-manage-search-crawls.aspx
    The deadlock error will occurs when there are too many overlapping crawls, so I recommend to schedule the crawl to not overlap in SharePoint and add more crawl components if needed.
    http://blogs.msdn.com/b/sharepoint_strategery/archive/2014/02/10/sharepoint-search-and-deadlocks-in-sql-server.aspx
    If above cannot work, please also check the ULS log and SQL server for detailed error messages.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • How to add search help in Ztable fields and how to make filelad as check bo

    Hello Friends,
    I have one table named ZAUDIT with 5 fields.
    1 . I want to put search help for each field but it shows tht Inactive message.
    Sujjest me steps to create search help.
    2.. In my table I want to display content as check boxes in my last field.
    How to make it?
    Points awarded soon.
    Regards,
    NVM

    Hi,
    steps to create search help:
    Step1 : Go to Se11 and Select Search Help and Enter One Name and Click Create
    Step2 : Enter your Table name in 'Selection Method' Field.
    Step3 : Enter the field Name and tick the Flags Imp and Exp and Type 1 and 2 in Lpos,
    Spos fields.
    Step4 : Save and activate it.
    Goto the table, select the field which u want search help and press button search help, give the search help name which u created.
    To add check box for particular field,
    make use of data element <b>check_box</b>

  • Searching for content in stored webpages?

    I am a student and Oracle Text is new to me. I am using isqlPlus with Oracle10g
    I am trying to search the content of external websites I upload using a procedure. The files are uploaded as BLOBs. I know UltraSearch is out there, but I´m trying to make an easy example using only SQL syntax. So far, I am able to load the html documents into a directory, but the search results are always 0. I don´t know what I am missing (sorry for the ignorance)! Can anyone give me some tips?
    I am not a DBA. This are the rights I have:
    CONNECT
    CREATE SESSION
    CREATE ANY DIRECTORY
    CTXAPP
    RESOURCE
    CREATE CLUSTER
    CREATE INDEXTYPE
    CREATE OPERATOR
    CREATE PROCEDURE
    CREATE SEQUENCE
    CREATE TABLE
    CREATE TRIGGER
    CREATE TYPE
    UNLIMITED TABLESPACE
    --First I create a table
    DROP TABLE t03_sorbaugh.CONTENT_INVENTORY;
    CREATE TABLE t03_sorbaugh.CONTENT_INVENTORY (
    CONTENT_INVENTORY_ID NUMBER NOT NULL,
    FILE_NAME VARCHAR2(1024),
    KEYWORDS VARCHAR2(2048),
    URL SYS.HTTPURITYPE,
    TEXT BLOB DEFAULT empty_blob(),
    TEXT_LOADED CHAR(1) DEFAULT 'N' NOT NULL,
    CONSTRAINT UNQ_CONTENT_INVENTORY
    UNIQUE(CONTENT_INVENTORY_ID) USING INDEX
    TABLESPACE USERS
    --Then I load an external Website
    INSERT INTO t03_sorbaugh.CONTENT_INVENTORY
    (CONTENT_INVENTORY_ID, URL, KEYWORDS)
    VALUES ('1', sys.httpuritype.createuri('http://en.wikipedia.org/wiki/Art'), '');
    COMMIT;
    --The Procedure looks like this (sorry for not keeping it short)
    CREATE OR REPLACE PROCEDURE loadLOBFromBFILE IS
    Dest_loc BLOB;
    Src_loc BFILE := BFILENAME('DIR_TESTCASE', '');
    Amount INTEGER := 0;
    cursor ContentInv_cursor is
    --create a recordset of the file names
    --that we need to load from the filesystem into the
    --Oracle database.
    SELECT
    CONTENT_INVENTORY_ID,
    FILE_NAME
    FROM t03_sorbaugh.CONTENT_INVENTORY
    WHERE FILE_NAME IS NOT NULL;
    varContentInv_id CONTENT_INVENTORY.CONTENT_INVENTORY_ID%TYPE;
    varFileName CONTENT_INVENTORY.FILE_NAME%TYPE;
    BEGIN
    open ContentInv_cursor;
    loop
    varFileName := NULL;
    varContentInv_id := NULL;
    fetch ContentInv_cursor into varContentInv_id, varFileName;
    exit when ContentInv_cursor%notfound;
    Src_loc := BFILENAME('DIR_TESTCASE', varFileName);
    IF DBMS_LOB.FILEEXISTS (Src_loc) = 1 THEN
    SELECT text INTO Dest_loc FROM CONTENT_INVENTORY
    WHERE CONTENT_INVENTORY_ID = varContentInv_id FOR UPDATE;
    /* Opening the LOB is mandatory */
    DBMS_LOB.OPEN(Src_loc, DBMS_LOB.LOB_READONLY);
    DBMS_LOB.LOADFROMFILE(Dest_loc, Src_loc, dbms_lob.getlength(Src_loc));
    /* Closing the LOB is mandatory */
    DBMS_LOB.CLOSE(Src_loc);
    /* Optional update statement */
    UPDATE t03_sorbaugh.CONTENT_INVENTORY
    SET TEXT_LOADED = 'Y'
    WHERE CONTENT_INVENTORY_ID = varContentInv_id;
    COMMIT;
    END IF;
    end loop;
    EXCEPTION
    WHEN OTHERS THEN
    RAISE_APPLICATION_ERROR (-20001, 'Error occurred while loading LOBs.');
    close ContentInv_cursor;
    END;
    -- I upload the file to the directory 'd:\daten\oracletextpraktikum'
    set serveroutput on;
    EXECUTE loadLOBFromBFILE;
    -- PL/SQL-Prozedur erfolgreich abgeschlossen.
    -- Now the preferences and the index
    begin
    ctx_ddl.create_preference('doc_lexer', 'BASIC_LEXER');
    ctx_ddl.set_attribute('doc_lexer', 'printjoins', '_-');
    end;
    drop index idxContentMgmtURL;
    create index idxContentMgmtURL on content_inventory(url) indextype is ctxsys.context;
    -- Finally, I run an example where I search for the word "Art" ... the only Webpage uploaded to my directory contains the Art definition from Wikipedia, but still, I get no search results :(
    SET LINESIZE 5000
    SET PAGESIZE 5000
    select content_inventory_id, url
    from t03_sorbaugh.content_inventory
    where contains(url,'&WORD_TO_FIND') > 0;
    --Type "Art"
    neu 3: where contains(url,'art') > 0
    Es wurden keine Zeilen ausgewählt
    Is isqlPlus somehow limited in using Oracle Text? I can´t seem to find the Problem!

    Okay, but I'm afarid I can't help much more than that, as I'm still new at Oracle Text myself. From my limited knowledge, it all looks fine, but like you, I must be missing something.
    You might try asking the DBA if the TXTSUP_UTIL package is installed in the CTXSYS schema. If it isn't, he can download it from Metalink or I can send it via email.
    While it won't fix the problem, it does offer some insight into the index preferences and storage, etc.
    BIll Ferguson

Maybe you are looking for