Index and document name question

First of all, thanks for an XML database that actually works. After trying multiple other DBs, I was finally able to insert my 100000 XML documents and it worked.
I inserted all the documents using dbxml_load_container which uses the filename and DBXML_GEN_NAME and inserts it to the container.
Now for my purpose I will always query a specific document by its name which would be something like:
$query = "collection('exampleData.dbxml')/*"/*[dbxml:metadata('dbxml:name')=somename]";
(correct me if the query is wrong).
Do I need to create any sort of indexes or anything for such queries? I will never query the container based on some attribute or node value or anything.
Thank you.

Hi
Do I need to create any sort of indexes or anything for such queries? I will never query the >container based on some attribute or node value or anything.
unique-node-metadata-equality-string for node {http://www.sleepycat.com/2002/dbxml}:nameYou do not need an index on the document names, as Berkeley DB creates the above index for you.
A query like this will use the index:
query 'doc("emp1/dbxml_9")/employee'
Let us know if you have further questions.
Ron

Similar Messages

  • TREX index and document search in 7.0

    Hello everyone,
    Could someone clarify next question?
    Is it possible to use TREX to index CRM 7.0 objects's attachments to search attachment?
    And if yes, could you provide me with roadmap and documents?
    Thank you in advance!
    Michael Wolff

    Michael,
    Were you able to find the solution. If yes, please provide some information.
    Thanks
    Chalapathi

  • Embedded Search Index AND Document Security?

    I'm using Adobe Acrobat Standard 8.1.7.
    It appears that I cannot have both an embedded search index and restricted security (e.g., password required to change document) on the same document.
    Why is that?
    If I start with security ON and then attempt to embed a search index, I get below error message:
    A search index can not be embedded in this document because this document has restricted security permissions.
    If I start with security OFF, successfully embed a search index, and then secure the document, Acrobat "strips off" the previously embedded search index.  No warning message; no feedback to end-user; just kills it!
    Why are those two functions mutually exclusive?  Anyone know of a work-around?
    Thank you in advance!

    Hi,
    As to "why", that might be floating out there in Adobe's devnet space or in one of the blogs maintained by Adobe's devnet crew.
    Also good to know about use of embedded index - if used, cannot apply fast web view to the PDF. It is one or the other, but not both.
    Work around? I've not come across one; but, that does not mean something isn't "out there" <g>.
    Be well...

  • How to get DocID and Document name

    Hi All,
    I am working on BO XR R3.1 version.i am looking to get DocID by BO SDK.i am able to see there is one fuction to for CUID (getCUID()) in BO sdk) same way can i get DocId like(986752) with single docid and documnet name.
    or is there any fuction in BO SDK to show DocID & Documnet name of single report?

    Hi  Nitin,
    See if this helps.
    http://help.sap.com/businessobject/product_guides/boexir31/en/xi3-1_url_reporting_opendocument_en.pdf
    Regards,
    Shweta

  • About blob handling - how to display document type and document name?

    Hi,
    I am developing an APEX application, and I need a report region with a blob column(document) in it, and I want it to display like this :
    with an image on the left side(different images for different type of docs such as word, pdf, txt) ,
    and the file name on the right, with a download link on the file name, and also get the file name included into the download link address,
    also have the file size displayed in the report.
    I failed on getting this done with the help of any document, any help will be very much appreciated.
    Thanks.

    OK this link is very useful: http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/apex/r31/apex31nf/apex31blob.htm#o
    plus the doclib application example.
    It's too late here and I won't write down the detail now. The above two give the answers anyway.

  • How to extract Title, Author and Document name from document(.doc;.rtf;..)

    Some files contain meta-data from which we can extract even more details.
    for example: .mp3 file format is:
    at end of file - 128 bytes
    offset type len name
    0 char 3 "TAG"
    3 char 30 title
    33 char 30 artist
    63 char 30 album
    93 char 4 year
    97 char 30 comments
    127 byte 1 genre
    For Documents, is it possible to get the Creator, Title and Name of the document from the file (*.doc, *.rtf, ...)

    > I'd love to but they don't make those particular css
    pages available to us
    > (which seems insane). To modify the css we have to
    extract it from their
    > page
    > apparently.
    If the page can grab the CSS, so can you. Look in the code.
    Find the link
    to the CSS file. Browse to that link. You now have the CSS
    file. Or show
    us the link's code and we'll get it for you.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Lvanhoff" <[email protected]> wrote in
    message
    news:gqijsu$dk3$[email protected]..
    > I'd love to but they don't make those particular css
    pages available to us
    > (which seems insane). To modify the css we have to
    extract it from their
    > page
    > apparently.
    >
    > So if there were some way to tell DW: "Show me all the
    styles used in this
    > html and put them in the style area of the document" it
    would make my life
    > EVER
    > so much easier! :-)
    >
    > Thanks
    >

  • Contact page and Version name question

    When making a contact sheet, is it possible to just have the image number under each photo and NOT the words "Version Name"?
    Thanks.

    I'm trying to find out whether this is possible as well. It's annoying having "Version Name" print out on something I'd like to show a client!

  • Workflow, Folios and Document Update question?

    " Hi All,
    System Setup - Oracle UCM 10gR3, ORacle 11G DB using OracleText
    We are currently passing a folio through the workflow and want to be able to read the metadata of the content/docuemnt item stored in the folio.
    We can do this from iDoc from say another webform/webpage but when we do it in the workflow scripting interface we get an error as follows:
    Event generated by user 'Secretariat' at host 'appecmts01'. Error
    generated when executing query '((SDATA(sddDocName LIKE 'TEST'))) and
    ((((prj/%) WITHIN dDocAccount)))'. Unable to execute query
    'CotsSearchQuery'. ORA-20000: Oracle Text error:
    DRG-50857: oracle error in ctx_query.result_set
    ORA-20000: Oracle Text error:
    DRG-51030: wildcard query expansion resulted in too many terms
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.CTX_QUERY", line 772
    ORA-06512: at "DB_ADMIN.CONTENT_SEARCH", line 116
    ORA-06512: at line 1
    What it is doing is automatically adding the "and
    ((((prj/%) WITHIN dDocAccount))" statment onto the search query, but only from the workflow iDoc script interface. Using the iDoc elsewhere works correctly.
    Is this standard behaviour? What can we do to resolve the issue barring disabling accounts?
    Script we are using in workflow
    &lt;$getViewValuesResultSet("FolioContentId", "", "")$&gt;
    &lt;$count = 0$&gt;
    &lt;$numRows = 0$&gt;
    &lt;$loop SchemaData$&gt;
    &lt;$numRows = rsNumRows("SchemaData")$&gt;
    &lt;$if strEquals(getValue("SchemaData", "dCpdParentDocName"),"UP-003563")$&gt;
    &lt;$numRows = rsNumRows("SchemaData")$&gt;
    &lt;$test = getValue("SchemaData", "dDocName")$&gt;
    &lt;$QueryText = "dDocName&lt;Matches&gt;`test`"$&gt;
    &lt;$executeService("GET_SEARCH_RESULTS") $&gt;
    &lt;$if SearchResults$&gt;
    &lt;$loop SearchResults$&gt;
    &lt;$Poopie = "Vaylee"$&gt;
    &lt;$endloop$&gt;
    &lt;$wfMailSubject="Prop Owner - decision, namely &lt;$dDocTitle$&gt; (&lt;$dDocName$&gt;) FYI"$&gt;
    &lt;$wfMessage="Prop Owner - &lt;$numRows$&gt;........Folio id: &lt;$dCpdParentDocName$&gt;......Doc id: &lt;$getValue('SchemaData', 'dDocName')$&gt;..This is a computer generated e-mail to notify you that the Agenda has served on the Commitee Meeting on &lt;strong&gt;&lt;$Committee_Meeting_Date$&gt;&lt;/strong&gt; and the final version of the Minutes of Meeting, namely &lt;strong&gt;&lt;$dDocTitle$&gt; (&lt;$dDocName$&gt;) &lt;/strong&gt; has been compiled and approved and is ready for distribution to the correct proposal owners / initiators &lt;i&gt;(click on the link below to view the Minutes of Meeting)&lt;/i&gt;."$&gt;
    &lt;$wfNotify(Poopie, "user")$&gt;
    &lt;$endif$&gt;
    &lt;$count = count + 1$&gt;
    &lt;$endif$&gt;
    &lt;$endloop$&gt;
    Thx
    Edited by: Stuart S on Jan 12, 2009 11:10 AM

    Hi
    I missed out to read that line in the problem that you had put across. I had come across a scenario like this and the reason and the workaround that i ffigured out was :
    Cause:
    This is caused by the 'ZonedSecurityFields' configuration entry not being set with the 'xClbraUserList' and 'xClbraAliasList ' options.
    Solution
    To implement the solution, please execute the following steps:
    1. On the Content Server's file system, navigate to <ContentServer>\config
    2. Make a backup copy of the 'config.cfg' file
    3. Open the 'config.cfg' file
    4. Under the "Additional Variables" section, place the following configuration entry:
    ZonedSecurityFields=xClbraUserList,xClbraAliasList
    5. Save the changes and close the file
    6. Restart the Content Server
    Let me know if this resolves the issue you are facing.
    Thanks
    Srinath

  • Query with two filter prompts(phase and document)

    Hi All,
    I am new to sap sourcing.
    I am trying to customize a query for (Sourcing Report for all supplier registrations showing the cycle times for each
    approval phase of the process)which I have added two filter prompts(phase and document name).
    When I try to execute the query, I don't get the required output for the phase filter prompt.
    Also phase is a value list and when I select the phase from the drop down, the report doesn't give any value.
    Please find the query as mentioned.
    SELECT <%RESULTS%>
    FROM <%SCHEMA%>.FCI_WORK_ITEM
    T1
    INNER JOIN <%SCHEMA%>.FCI_WORK_PROCESS T2 ON T1.PARENT_OBJECT_ID =
    T2.OBJECTID INNER JOIN (
    SELECT
    OBJECTID,
    10002203 AS
    CLASSID,
    CREATED_BY_USER_OBJECT_ID,
    CREATED_BY_USER_CLASS_ID,
    CREATED_BY_USER_OBJECT_NAME,
    CREATED_AT,
    EDIT_AT_DATETIME, MODIFIED_AT
    FROM
    <%SCHEMA%>.ODP_ODP_VEN_MODIFICATION_WF
    WHERE
    CONTEXTID=<%CONTEXT(odp.vendormgmt.wf_vendor_modification)%>
    UNION
    ALL
    SELECT
    OBJECTID,
    10002213 AS
    CLASSID,
    CREATED_BY_USER_OBJECT_ID,
    CREATED_BY_USER_CLASS_ID,
    CREATED_BY_USER_OBJECT_NAME,
    CREATED_AT,
    EDIT_AT_DATETIME, MODIFIED_AT
    FROM
    <%SCHEMA%>.ODP_ODP_VEN_REGISTRATION_WF
    WHERE
    CONTEXTID=<%CONTEXT(odp.vendormgmt.wf_vendor_registration)%>
    T3 ON
    T3.OBJECTID = <%COALESCE%>(T1.ROOT_PARENT_OBJECT_ID,
    T1.BIZ_DOC_OBJECT_ID) AND
    T3.CLASSID = CASE WHEN
    T1.ROOT_PARENT_OBJECT_ID IS NULL THEN T1.BIZ_DOC_CLASS_ID ELSE
    T1.ROOT_PARENT_CLASS_ID END
    WHERE
    T1.CONTEXTID=<%CONTEXT(workflow.process)%> AND
    (T2.PHASE_SUB_REF_OBJECT_NAME like ?OR T2.BIZ_DOC_OBJECT_NAME like
    <%ORDERBY%>
    Please suggest how can I change the query accordingly.
    Also , please suggest how can add the result fields for calculating the duration(created at - Action date).
    Please do the needful.
    Thanks and Regards
    Ganga

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             Hello Vignesh,
    Thank you!!
    I could find that only the supplier registration modifications are included in the query given by you, but we need to include the supplier registrations as well.
    I tried modifying the query and it worked.
    But, now the challenge is to include the workflow status(T1.APPROVAL_STAUS) in the filter prompt.
    T1 table is FCI_WORK_ITEM.
    T.APPROVAL_STAUS is an integer data type in the table.
    I defined the T.APPROVAL_STAUS as string In Result fields and in the filter prompt.
    But the query works for other filter prompts except workflow status.
    I have included the filter prompts as mentioned below:
    T1.CONTEXTID=<%CONTEXT(workflow.process)%> AND
    UPPER(T2.BIZ_DOC_OBJECT_NAME) like ? AND
    UPPER(T2.PHASE_SUB_REF_OBJECT_NAME) like ? AND
    UPPER(T1.APPROVAL_STATUS) like ? AND
    UPPER(T1.PERFORMER_OBJECT_NAME) like ?
    <%ORDERBY%>
    Please suggest on this.
    Thanks and Regards
    Ganga Durga

  • Cannot open Pages documents that I've worked on.  I open a new document, work on it, then save and close it.  When I try to open the document again, I get the following message: The document "[name]" could not be opened. The file isn't in the correct form

    I cannot open Pages documents that I have worked on and saved.  When I try to reopen Pages documents that I've saved, I get the following
    message:
    "The document “[name of document]” could not be opened. The file isn’t in the correct format.
    The file might be corrupted, truncated, or in an unexpected format."
    I have downloaded the latest update to iWork, but that doesn't help.
    I use Mac OSX 10.6.7
    I am using Pages '09 version 4.0.5 (852)
    If anyone can help, I would greatly appreciate it.
    Best regards,
    New York Mac User

    A few general trouble shooting tips that may apply here:
    1. If you used Software Update to do the OS update(s) to reach 10.6.7, go to http://support.apple.com/downloads/ and download and apply the Mac OS v10.6.7 Combo Updater. The Combo Updater contains some fixes that were not included in the incremental updaters used by Software Update.
    1a. Check that you have the current version of Pages (and of the other iWork applications) installed. All three applications' current version numbers end in .0.5
    2. A common cause of malfunctioning applications is a corrupted preferences file (.plist file). Your Pages '09's plist is at yourname > Library > Preferences > com.apple.iWork.pages.plist
    Quit Pages, locate the file and Drag it to the Desktop (or to the Trash).
    Restart Pages and attempt to open one of the files.
    If all is well, Trash the plist file and empty the Trash.
    If there's no change, AND you've made changes to the Preferences that you wish to keep, drag the file back to its previous location, replacing any new one that has been created.
    Regards,
    Barry

  • Questions about Indexing and Using an Indexing POA

    Although I have only about 50 users, at least 15 of them have in excess of 100,000 messages in their accounts and the POA (version 7.0.2) is regularly slowing to a crawl. (I just know that plans for revolution are fomenting!) I have embarked on a campaign to reduce these accounts by archiving everything off to get mail accounts down to 3000 or fewer pieces. I have achieved user buy-in, but have worked on only a few users so far.
    In another closely related thread, it was suggested to me that the PO speed issues relate to broken indexes. And I suspect that given so many messages, the indexes were never getting fully rebuilt with the default QF POA settings. I am trying to fix that situation in addition to reducing mail account sizes. So, I have set up a second POA on another server and dedicated it to the indexing task. The /qfinterval is set for 1 hour, other /qf switches at default. The POA-QF does no mail delivery, but it does do nightly user upkeep.
    The POA-QF seems to be steadily working away and making progress at reducing the number of unindexed messages. However, I have questions about what I am seeing and what more I can do:
    1. Is the progress I am seeing real progress? For example I have a user with over 100,000 messages to be indexed and every time I check the logs, the count drops by about 500 messages per hourly QF cycle. I assume that if I just let it keep running, it will eventually get caught up and fixed. Not only with this user, but with all the others as well. Will my patience (and theirs) be rewarded? Are there any gotchas I need to prepare for?
    2. One user has recently had virtually all of her messages successfully moved to archive. I can see them in the Archive, and do not see them in the online account. However, now over a week later, QF still shows >130,000 items still left to index for that user. The POA-QF is making slow, steady progress reducing that number, but why is this user's QF count still so high? Does it just need more time, or is there something amiss for this user?
    3. I may want to rebuild indexes for single users from scratch. I have seen the TID 3105742 which tells how to do this: Essentially you turn off mail delivery functions, and make some other switch changes to dedicate the POA to indexing for just a single user, and then you let the POA rebuild the indexes. The implication of that scenario is that the POA is now enjoying exclusive access to the user's databases.
    If I want to use my secondary POA-QF to rebuild a user's index from scratch, does the main POA have to be offline and the user out of GWise? That is, Does the QF process require exclusive access in order to rebuild indexes from scratch?
    Thanks for any thoughts or suggestions.
    Peter Smick

    pgsmick wrote:
    > 1. Is the progress I am seeing real progress? For example I have a user with
    > over 100,000 messages to be indexed and every time I check the logs, the count
    > drops by about 500 messages per hourly QF cycle. I assume that if I just let
    > it keep running, it will eventually get caught up and fixed. Not only with
    > this user, but with all the others as well. Will my patience (and theirs) be
    > rewarded? Are there any gotchas I need to prepare for?
    Set this switch for this indexing POA - /qflevel=999 - this will index
    everything in one run. It will take a long time, but with no qflevel switch you
    are indeed only indexing 500 messages at a time, and if the user has that much
    mail, it might never really catch up.
    >
    > 2. One user has recently had virtually all of her messages successfully moved
    > to archive. I can see them in the Archive, and do not see them in the online
    > account. However, now over a week later, QF still shows >130,000 items still
    > left to index for that user. The POA-QF is making slow, steady progress
    > reducing that number, but why is this user's QF count still so high? Does it
    > just need more time, or is there something amiss for this user?
    >
    This is odd, because really the index count should drop to nothing, but with the
    above switch this might get resolved as well.
    > 3. I may want to rebuild indexes for single users from scratch. I have seen
    > the TID 3105742 which tells how to do this: Essentially you turn off mail
    > delivery functions, and make some other switch changes to dedicate the POA to
    > indexing for just a single user, and then you let the POA rebuild the indexes.
    > The implication of that scenario is that the POA is now enjoying exclusive
    > access to the user's databases.
    Not really - the POA is not enjoying exclusive access to the user's database,
    the indexer is just avoiding an attempt to index anything else.
    > If I want to use my secondary POA-QF to rebuild a user's index from scratch,
    > does the main POA have to be offline and the user out of GWise? That is, Does
    > the QF process require exclusive access in order to rebuild indexes from
    > scratch?
    No - QF never requires exclusive access. That said, you may find that an
    extremely vigorous QF can cause slowdowns for the user.
    Danita
    Novell Knowledge Partner
    Moving GroupWise to Linux?
    http://www.caledonia.net/gwmove.html

  • Table name and field name for accounting and material document in MM

    Hi
    Table name and field name for accounting and material document in MM
    how can we diffreentiate the accounting document in MIGO and MIRO ?

    Hi,
    For Goods reciept documents you can search from the tables  MKPF-Header: Material Document and MSEG-Document Segment: Material,
    and for Invoice documents you can search in  tables   BKPF-Accounting Document Header and BSEG-Accounting Document Segment.
    For differentiating the Accounting documents in MIRO and MIGO based on posting key and document types for GRN -document key is -WE and for MIRO document is -RE.......
    Hope this may help you.....................

  • Indexing names in InDesign 5.5, swapping first name and last name

    Hi,
    I'm trying to index a bunch of names in a programme, but the problem I'm having is that the names listed in the body of the programme are in first name last name order. Like:
    John Doe, Jane Doe, Ben Long...
    And these index to be like
    John Doe..123, 123
    Jane Doe..123, 123
    Ben Long..123, 123
    But I need the index to be formatted differently, last name, first name. Like
    Doe, John..123, 123
    Doe, Jane..123, 123
    Long, Ben...123, 123
    Is there any way that I can index them as first name last name, but have them appear on the index as last name, first name?
    I'm using CS5.5 on a mac
    Thanks.

    Hi Ellis,
    Thanks, that's really helpful!!
    I see that adds just the one instance of it, by chance is there a shortcut that I can use to add all instances of that, like the "Add All" button when adding an entry using the dialog box.
    Thanks.

  • How to add document name and document namespace to xml mail sender msg

    Hi,
    I have set up a sender mail CC that accepts messages already in XML format. However, the messages are missing the document name and document namespace. I am trying to use MessageTransformBean to add these to the message payload. However the examples I've found so far all talk about converting plain text coming in. When I used convertionTpe -> SimplePlain2XML it messed up the original content with unnecessary xml tags.
    Can someone please tell me how to insert the document name and namespace into the payload without converting the original xml content? Thanks in advance.

    Dont think there is a way.
    As the source is a XML, why dont you create the MessageType with the same name and namespace as the XML file in the email.
    Regards,
    Bhavesh

  • KB fix for print document name in event logs on Server 2012 and Server 2012R2

    It appears as though the requested corrections to the documentation where never honored
    Note After you apply the hotfix or update, you can show the printed document name in the event by enabling a specific Group Policy.
    The policy name:
    Computer Configuration \ Administrative Templates \ Printers
    Allow job name in event logs 
    The Windows 8 / Server 2012 fix is:
    Event ID 307 does not show the printed document name in Windows
    http://support.microsoft.com/kb/2938013/en-us
    2012R2 is in the April Roll up.
    Windows RT 8.1, Windows 8.1, and Windows Server 2012 R2 Update: April 2014
    http://support.microsoft.com/kb/2919355/en-us
    Alan Morris Windows Printing Team

    In my simple test, I see that the Group-Policy does exist on 2012R2 but not for 2012.
    I isolated the registry changes so I can update a 2012 only system... that text is below.
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Policies\Microsoft\Windows NT\Printers]
    "ShowJobTitleInEventLogs"=dword:00000001
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Printers]
    "ShowJobTitleInEventLogs"=dword:00000001
    I hope this helps others out since it took sometime to narrow this down. Thank you.

Maybe you are looking for

  • Fonts issue while using FM 7.1

    Hi, I am using the XML file as a source and port the content to FM 7.1. I have to port 8 languages like Arabic, Russian, Korean, and so on. I am facing the following issues with few of the languages: Korean - The Korean fonts (Gulim, GulimChe, Dotum,

  • Client to server byte sending not working =\

    Hi. Im working on a simple socket server. The problem im having is this; Whenever i send anything to the server, if i read what i send it just comes up as 0, it's the same if i send something to the client. This is the connection when the client firs

  • WEBI Report Use of Variable in Drill Down

    Hi, i am new to BI Webi report just doing some practice exercise from E fashion Universe. Need your help in creating a WEBI report which should show Sales Revenue broken down to half-year level. For example: We have Year, when we drill Year 2004, it

  • HD operating Temperature

    Hello, Another post regarding the heat. Sorry I just received my macbook and it runs very hot. The link below states my hard drive operating temperature. I am just using the Internet and an email application and my HD temperature is 104 F or 40 C. Fo

  • Java tutorial - helps, problem  is i don't understand the API

    I don't understand the JAVA Tutorials or the API