How to Overwrite Document Properties (Title, Author) for Indexing Purposes

SES Experts...
Our client is running SES 1.1.1.2.0.0 and using a Database Data Source to index various documents (PDFs, DOC, XLS, PPT, etc.). The document metadata is taken from column data (TITLE, AUTHORS, KEYWORDS, etc.) rather than the properties of the document.
The client does not want SES to index the properties of the document (Author, Title, Subject, Keywords, etc.).
Is there a way to accomplish this? I believe the Document Service API could accomplish this but it's not clear to me how exactly we would do this.
Any help/pseudo code would be appreciated.
Thanks!

You have to implement a document service and place it in the pipeline after the default summarizer.
You could also try to remove the default summarizer from your pipeline. Try it out before wasting time on a document service implementation. Depends on the way you retrieve your column data.
If however you really need to develop your own DS simply overwrite the title attribute with the value from the column data you mentioned or delete unwanted entries.
public int process(DocumentContainer documentContainer) throws DocumentServiceException {
DocumentMetadata docMeta = documentContainer.getMetadata();
docMeta.setAttributes("TITLE", new String[] { yourtitle }); // overwrite attribute
docMeta.deleteAttribute("AUTHOR"); // delete attribute
return DocumentService.STATUS_ATTRIBUTE_CHANGE;
Oliver

Similar Messages

  • How to access document properties/attributes?

    Hi folks,
    I have a document with some properties (File->Form properties) like title, author, description and so on. Now I've read that I can use the xfa.form.form1.desc.title method to access the title. But the only value I get back is [object XFAObject] .. what is this? It's the same with author or description.
    Anyone who can help here?
    Thx alot,
    Tobias

    You need to get the object's value property. So,
    xfa.form.form1.desc.title.value;
    Jared Langdon
    www.jlangdon.ca

  • How to import a Root Certificate Authority for signing

    How can I import a Root Certificate Authority in order to use it with Certificate Assistant as a CA to sign other certs?
    I have the CA cert imported in keychain along with it's associated private key (from a .p12), it's got the gold icon and is recognized as a Root certificate authority, yet Certificate Assistant will not list it as an available Root CA in the "Set Default CA" action dialog, the "Add..." dialog seems only interested in a ".certAuthorityConfig" plist file.
    Do I have to generate a certAuthorityConfig for the CA? I can't seem to find a way to do that. No clues from certtool & security CLI utils even.
    Any info/leads on how to get this to work would be much appreciated.
    Regards,
    -david

    Hi Alex,
    From ACE perspective, it doesn't make differences if you are using certificates issued by your local or a "well known" CA. Moreover, if not mistaken, you have to configure authentication group whatever you are doing client or server authentication.
    http://www.cisco.com/en/US/partner/docs/app_ntwk_services/data_center_app_services/ace_appliances/vA4_1_0/configuration/ssl/guide/certkeys.html#wp1043643
    Thanks,
    Olivier

  • How to set Menu and Title functionality for a remote control in a menu?

    I have a main menu (countries) and under each country there is a submenu (regions). When I play my DVD on my Mac it seems to function alright:
    If I go to country C and hit the "menu" button, nothing happens (I see the "action prohibited" line popping up). And nothing should happen of you hit menu in a submenu. Only if you hit Title/Top menu you should be able to go to the main menu.
    However... When I play my DVD on a DVD player (and I tested it on 2 different ones) and I go to a the Country C and hit the "menu" button, I am suddenly transfered to Country A. And if I go from the main menu to Country D and I hit the "menu" button, I go to... Country A. The menu button seems to be linked to the first submenu. Which is very odd!
    So there is definately something going very wrong when using the menu/title buttons during playback when I am in a submenu (not while playing a track).
    Can someone help me? Is there a way to define what happens with the remote control buttons menu or title when you are in a submenu and NOT playing a track? I can not find any controls for that.
    Thanks!

    Does this mean I should select "not set" in the general tab at the dropdown menu's for Title, Menu and Return in the Remote Control section? I can't find any other place where I can select menu or title.
    But if I set these to "not set",the menu and title buttons still work in simulation mode... So I guess I should do something else in order to disable menu and title? Sorry for the amount of questions from my side!

  • I have children's books in Japanese, Chinese and Arabic that I am trying to convert into epub formats that ibookstore will accept. My source docs are in ms word or pdf format. I want to use ibooks author for this purpose. Can anyone suggest a solution?

    Is there an easy way of importing the children's books into ibooks author? There is an image on every other page. The books has to be in fixed layout format.
    Any help will be sincerely appreciated. I understand that ibookstore will accept only epub 3.0 formats for Japanese titles. As I stated earlier, my objective is to make those language books available in ibookstore.

    The books has to be in fixed layout format
    If you mean keep the same as original, I wouldn't expect to retain that, sorry.
    You'd be obligated to either copy/paste in sections/blocks of text, images, etc. or insert from Pages/Word, but either way you can expect to have to rework towards whatever 'fixed' layout you need in an iBA book....that can mean significant work in some examples.
    You may want to work with a sample to find out the best workflow in any case.
    As for Arabic support, see this thread: Does iBook Author support Arabic...: Apple Support Communities
    Good luck.

  • How to best partition an external drive for my purposes?

    Hello, please help,
    I've just bought a Western Digital 'My Passport' 320Gb USB (no firewire) portable external harddrive for backing up my data prior to iMac repair.
    I also plan to totally wipe my PPC iMac and reinstall it with Leopard.
    I erased the external HD, zeroing out the data from it's previous owner, and reformatted it as Mac OS Extended (not journaled).
    Now I realise that it might be even more useful than I'd imagined.
    I'd now like to partition it so I can use Carbon Copy Cloner to create a bootable copy of my entire iMac while using the rest of the drive as a separate partition for just backing up data.
    Ideally I want to be able to use the drive on both Intel and PPC Macs and even PCs, is this possible? How should I format the drive to achieve this?
    I've heard I should format it as Mac OS Extended (Journaled) HFS+, what ever that is
    I'm currently running OS 10.4.11 but plan to buy Leopard and install that after the wipe.

    17" 1.9Ghz iMac G5 (iSight)
    I've just bought a Western Digital 'My Passport' 320Gb USB (no firewire)
    I'd now like to partition it so I can use Carbon Copy Cloner to create a bootable copy of my entire iMac while using the rest of the drive as a separate partition for just backing up data.
    Ideally I want to be able to use the drive on both Intel and PPC Macs and even PCs, is this possible? How should I format the drive to achieve this?
    For what you want to do, there is a mismatch between your PPC computer and the external drive that you bought.
    With a few exceptions, a PPC Mac requires a firewire external drive for booting and will not boot from a USB drive, regardless of which OS is installed and regardless of the partition scheme and volume format on the drive. I also have an iMac G5, and mine will not boot from USB.
    If you do exchange your drive for a firewire drive, do not get another Western Digital model to use with your G5 - many external WD firewire drives will not boot a PPC mac. See [this page|http://wdc.custhelp.com/cgi-bin/wdc.cfg/php/enduser/stdadp.php?pfaqid=1787]
    If you want to keep your present USB drive, you can still partition it with one partition for a backup clone and another for "other stuff". With respect to immediate use for recovering your stuff after a clean Leopard install on the HD, I think that Migration Assistant will still work, though I haven't tried this. As for the future, the problems with a clone not being bootable are 1) You can't test it to see if it works OK, and 2) If you do need to restore from it you'd need to boot from "somewhere else" - I think you could boot from an install disk and use Disk Utility's Restore feature to clone it back.
    With regard to PC access, a PPC mac normally requires an Apple Partition Map partition scheme on the drive for booting, and such a scheme does not allow for the FAT32 volume format that is readable by PCs. However in this case since your PPC mac can't boot from it anyway, you could partition the drive as GUID. This would allow the main volume to be formatted as Mac OS Extended (Journaled) for the nonbootable clone, and would allow the extra volume to be formatted as FAT32. If you eventually got an Intel Mac, a clone from it to the main volume would also then be bootable.
    But what I would do, if feasible, is exchange the USB drive and get a non-WD firewire drive instead.
    Message was edited by: jsd2

  • How to print on console from applet for debugging purpose.. ?

    Hi,
    To debug my app which is an applet running in browser, I inserted some sysout statements in applet but it do not work.
    Is it not possible to sysout with applet or there is any other way for debugging.
    Please reply..
    Thank you.

    To debug my app which is an applet running in browser, I inserted some sysout statements in applet but it do not work.The sysout statements prints to 'Java console', you can see it in browser by selecting 'Show Java Console' somewhere in the menus of browser.
    Or you can make it to appear every time applet is loaded. This can be done from the Java Control Panel.
    ControlPanel>Java>Advanced>JavaConsole>ShowConsole
    Also, for complete debugging check all the boxes in:
    ControlPanel>Java>Advanced>Debugging
    Thanks!

  • How can I generate fake AI channels for testing purposes?

    In order to be able to test my VIs under several conditions, I'd like to test them by feeding pre-programmed data over regular virtual channels. Is something like this possible ?
    Edwin

    Edwin,
    I'm not sure this answers your question, but often times I have to develop code on a machine that doesn't actually have the DAQ hardware. Therefore, I usually create a subVI which is similar to my data acquisition VI in every way (inputs and outputs), but instead of getting the data from the card, I output some known array of data for the channels. The rest of my program doesn't know this is "dummy" data, so it works just as it should.
    This is the method I recommend for such applications.
    Mark

  • Urgent: two authors for the same book

    I have a database with three tables: books, authors and aux.
    The books table stores the names of the books. The authors table stores the name of the authors. Table aux takes the id of the other two. I did this for the case of the same book has two or more authors
    The query I did was the following:
    SELECT authores.author, books.title
    FROM aux, authors, books
    WHERE aux.books_id = books.id AND aux.authors_id = authors.id
    ORDER BY books.title ASC
    How do I show the two authors for the same book?
    For now, I'm using a simple table:
    <table border="1" cellpadding="1" cellspacing="1">
      <tr>
        <td>author</td>
        <td>title</td>
      </tr>
      <?php do { ?>
        <tr>
          <td><?php echo $row_rsBooks['author']; ?></td>
          <td><?php echo $row_rsBooks['title']; ?></td>
        </tr>
        <?php } while ($row_rsBooks = mysql_fetch_assoc($rsBooks)); ?>
    </table>
    Thus, the table presents two results for the same book, instead of uniting the two authors of the same book.

    Thanks for the reply.
    In the meantime, got what I wanted. The expression looks like this:
    SELECT livros.titulo, GROUP_CONCAT(autores.autor SEPARATOR ',') AS Autores
    FROM livros INNER JOIN aux ON aux.livros_id = livros.id INNER JOIN autores ON aux.autores_id = autores.id
    GROUP BY livros.titulo

  • Creating Properties and Methods for an exe built in LabVIEW

    Hi all,
    How do we create properties and methods for an executable built in LabVIEW.
    I know when building an exe, the "Enable ActiveX server" option in advanced has to be enabled.
    But after that how do we create Properties and methods for the activeX component.
    Your help is greatly appreciated.
    Regards,
    Muthuraman S
    Regards,
    Muthuraman

    You cannot build your own COM specific properties and methods for the ActiveX interface in LabVIEW, the only thing exposed are the normal VI server properties and methods.
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • Document Properties Persistence

    Each time I load my project (Xcelsius 2008) I set the Document Properties to u201CUse Global Fontu201D.  It does not persist from session to session.  Is anyone else having this problem?

    hello,
    does this mean that if you enter something in the description field on the document properties dialog box for a template that i created, that is it saved, but not available on the new from template dialog box.
    tracy

  • How to make F7,F8,F10 disabled for security?

    Hi alll,
    Pls can any boady tell me ; how to make F7,F8,F10 disabled for security purposes?
    Abdetu.

    Hello Gerd
    Thanks for reply,
    i made a search for the file u mentioned
    FMRWEB; i found it on path C:\orant\FORMS60
    having the following :
    # FMRWEB.RES is the key definition file for webforms. The syntax is:
    # JFN : JMN : URKS : FFN : URFD (whitespace ignored)
    # JFN = Java function number
    # JMN = Java modifiers number
    # URKS = User-readable key sequence (double-quoted)
    # FFN = Forms function number
    # URFD = User-readable function description (double-quoted)
    # JAVA FUNCTION NUMBER
    # 33 = PageUp
    # 34 = PageDown
    # 35 = End
    # 36 = Home
    # 37 = LeftArrow
    # 38 = UpArrow
    # 39 = RightArrow
    # 40 = DownArrow
    # 65 - 90 = Ctrl+A thru Ctrl+Z (These will always have the control
    # modifier explicitly included, as well as any other
    # modifiers that might be used.)
    # 112 - 123 = F1 thru F12
    # 9 = Tab (Ctrl+I, without the control modifier)
    # 10 = Return (Ctrl+J, without the control modifier)
    # JAVA MODIFIERS NUMBER
    # Equal to the sum of the values for the modifier keys:
    # 0 = None
    # 1 = Shift
    # 2 = Control
    # 4 = Meta
    # 8 = Alt
    # FORMS FUNCTION NUMBER
    # The Forms function numbers match the function numbers found in a
    # typical Forms key binding file.
    # USER-READABLE STRINGS
    # The double-quoted strings appear when users click [Show Keys], and
    # are used for this purpose only. These strings can be translated as
    # needed. Note that the strings do not affect what actually happens
    # when end users press a particular key sequence.
    9 : 0 : "Tab" : 1 : "Next Field"
    9 : 1 : "Shift+Tab" : 2 : "Previous Field"
    116 : 0 : "F5" : 3 : "Clear Field"
    38 : 0 : "Up" : 6 : "Up"
    40 : 0 : "Down" : 7 : "Down"
    33 : 0 : "PageUp" : 12 : "Scroll Up"
    34 : 0 : "PageDown" : 13 : "Scroll Down"
    69 : 2 : "Ctrl+E" : 22 : "Edit"
    10 : 0 : "Return" : 27 : "Return"
    76 : 2 : "Ctrl+L" : 29 : "List of Values"
    115 : 0 : "F4" : 32 : "Exit"
    75 : 2 : "Ctrl+K" : 35 : "Show Keys"
    83 : 2 : "Ctrl+S" : 36 : "Commit"
    118 : 1 : "Shift+F7" : 61 : "Next Primary Key"
    117 : 0 : "F6" : 62 : "Clear Record"
    38 : 2 : "Ctrl+Up" : 63 : "Delete Record"
    117 : 1 : "Shift+F6" : 64 : "Duplicate Record"
    40 : 2 : "Ctrl+Down" : 65 : "Insert Record"
    119 : 1 : "Shift+F8" : 66 : "Next Set of Records"
    1005 : 0 : "Down" : 67 : "Next Record"
    1004 : 0 : "Up" : 68 : "Previous Record"
    118 : 0 : "F7" : 69 : "Clear Block"
    66 : 2 : "Ctrl+B" : 70 : "Block Menu"
    34 : 1 : "Shift+PageDown" : 71 : "Next Block"
    33 : 1 : "Shift+PageUp" : 72 : "Previous Block"
    116 : 1 : "Shift+F5" : 73 : "Duplicate Field"
    119 : 0 : "F8" : 74 : "Clear Form"
    122 : 0 : "F11" : 76 : "Enter Query"
    122 : 2 : "Ctrl+F11" : 77 : "Execute Query"
    69 : 3 : "Shift+Ctrl+E" : 78 : "Display Error"
    80 : 2 : "Ctrl+P" : 79 : "Print"
    123 : 0 : "F12" : 80 : "Count Query"
    85 : 2 : "Ctrl+U" : 81 : "Update Record"
    121 : 3 : "Shift+Ctrl+F10" : 82 : "Function 0"
    112 : 3 : "Shift+Ctrl+F1" : 83 : "Function 1"
    113 : 3 : "Shift+Ctrl+F2" : 84 : "Function 2"
    114 : 3 : "Shift+Ctrl+F3" : 85 : "Function 3"
    115 : 3 : "Shift+Ctrl+F4" : 86 : "Function 4"
    116 : 3 : "Shift+Ctrl+F5" : 87 : "Function 5"
    117 : 3 : "Shift+Ctrl+F6" : 88 : "Function 6"
    118 : 3 : "Shift+Ctrl+F7" : 89 : "Function 7"
    119 : 3 : "Shift+Ctrl+F8" : 90 : "Function 8"
    120 : 3 : "Shift+Ctrl+F9" : 91 : "Function 9"
    113 : 0 : "F2" : 95 : "List Tab Pages"
    72 : 2 : "Ctrl+H" : 30 : "Help"
    ------------------------------------end of file-----------------------------------------
    Now if this is the file i have How can i make F7,F8,F10 disabled for security?
    can u clarify to me how can handle this,i am afraid i may do something wrong..!!!
    But how do you want to commit without the shortcut?? What do u mean by a shortcut..?
    Thanks in advance..
    Regards,
    Abdetu.

  • I am trying to edit my website which was composed in iweb. I have my website saved on my hard drive. When I open iweb, I can't seem to load the website folder into iweb for editing purposes. Anyone know a quick solution to this?

    I am trying to edit my website which, was composed on iweb about 2 years ago. I have the website stored on my hard drive. When I open iweb, I can't figure out how to load the website into iweb for editing purposes. Any help would be greatly appreciated! Thanks

    You need to migrate to a modern, supported webpage development application and leave iWeb behind.  It hasn't been supported for 2 years now and was behind the curve feature wise when it was dropped by Apple.
    One app that many have migrated to because it is very similar to iWeb in the GUI and features is Everweb.  It has a demo version that you can try.  Text and photos from you current published site can be copied and pasted into Everweb to help the migration over.
    There are other possible candidates.  Just search the iWeb forum for "iWeb alternative" or "iWeb replacement" to get a list of topics discussing them.

  • Cisco Call Manager free license for training purpose.

    I am going to setup a Cisco IP-Telephoney lab & looking for Cisco Call Manager free software license (What is Cisco has authorized for this purpose).
    Is there any available?
    Please help me.

    Duplicate thread of
    https://supportforums.cisco.com/thread/2181741
    Do not SPAM the forums.

  • Using Oracle Essbase For Report Purpose

    Good afternoon all,
    I am new in Oracle Essbase. I will appreciate If I can get a link on how to setup Essbase and use it for report purpose.

    start here http://download.oracle.com/docs/cd/E12825_01/nav/portal_1.htm it has all of the information on installation and setup

Maybe you are looking for

  • Help with Old Deskjet Printer

    I have an old 660C and it goes through the process of printing but the pages are blank.  HP wont support it anymore!  I am looking for someone to help me fix it.  Will pay!  HELP!

  • Controlling external keyboard using MainStage

    Hi guys, i need help... I'm start in the mainstage word. i used cubase for control my vst's and my pc3x kurzweil. a friend show me the mainstage and i loved. It's perfect for vst's control and the interface is very dynamic. but i have a big problem..

  • Network-Shared Variable - read string with CVI

    I need to read an NSV string with CVI.  I have been digging into accessing and writing NSV with CVI, but they are all scalar value.  What should I do with strings, clusters and arrays?

  • N82 wont show map data

    Hello there, I installed Maps 3 on my N82 and i am using ovi suite. I still have some map content from germany map on the phone but i moved to the philippines and now tried to download the philippine map onto my N82. It downloaded the map but i cant

  • Slow typing using SQL workspace

    I've noticed several people have reported similar problems when typing in the sql workspace the responsive is extremely slow, i've tried the recomendations posted on other messages but to no success. What i noticed when i look at Help->About->Propert