Uniqueness and document searches.

I have an application where I need to enforce the uniqueness of an entire document structure. In a relational database, I'd create a unique index across all columns, but I realize that's not really possible using an xml database. Is there any way, other than a linear search across all documents, for me to enforce uniquness of an entire document? The document follows a pretty simple DOM structure, but the tree can be arbitrarily deep (although it tends not to be very deep in most cases)
I was thinking of keeping a separate container as uniqueness index and keeping lists of documents by their MD5 hashes in it, but was hoping there was a more elegant way to go about it.
Thanks,
Daniel Peebles

Hi Daniel,
If you do go the hash route, you could consider storing that as a metadata field right in the XML document (perhaps not hashing on the metadata).
You could then add a Berkeley DB XML Uniqueness Index on the (result of the hash) metadata.
I'm assuming there is no single element in the document that could be a primary key since that would be a better choice.
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

  • Wiki pages and document Search not working

    Hi All,
    I have lot of wiki pages and Documents in my site collection , I try to search those but its not working .
    I tried to fix this issue .
    I create a new search service application , and new content source with my new SharePoint site and start the continuous crawl.
    after I create a new sup site as enterprise search center in my existing site collection , than I try to search my documents and wiki pages , but nothing is shown on my results , but I can see all other documents and wiki pages (its all posted in different
    web application with site collections) because am the owner of all site collections , I got below error when I try to check the crawl logs in my new content source, please see the below log and let me know what I have to do now.
    This item could not be crawled because the repository did not respond within the specified timeout period. Try to crawl the repository at a later time, or increase the timeout value on the Proxy and Timeout page in search administration. You might
    also want to crawl this repository during off-peak usage times.
    Thanks,
    Mani L
    Mani L

    did you refer this http://social.technet.microsoft.com/Forums/sharepoint/en-US/48e2e783-e3b3-4586-bdb4-8c662c35908a/sharepoint-2010-search-error?forum=sharepointadminprevious 
    Are you using any AAM configureation ? If you check wiki age with absolute URL in crwal logs then what is the result ?
    Regards,
    Pratik Vyas | SharePoint Consultant |
    http://sharepointpratik.blogspot.com
    Posting is provided AS IS with no warranties, and confers no rights
    Please remember to click Mark As Answer if a post solves your problem or
    Vote As Helpful if it was useful.

  • Search and Document History in Mountain Lion

    Anyone out there figured out what Apple is doing with the Search and Document History in Mountain Lion? Here's my beef:
    Missing History in Finder. Finder used to have a "History" button in the sidebar that would track docs by when you last used them--yeterday, this week, this month, etc. This was SUPER helpful--but it seems to have disappeared. Anyone know how to make it reappear, or has Apple decided that I don't really need it?
    Really Hard to Search by Filename. In the old version, there was a button that would allow me to search by filename, but the new version makes you click through several very janky layers to do that. Anyone have a shortcut? Or advice on how to reorient my brain to the new search logic?
    Thanks!

    FileVault is one option, as etresoft points out. But you should note that e-mail is an inherently insecure medium. You should never transmit confidential information about patients via e-mail. That's like writing it on a postcard and mailing it... You're trusting everyone between you and the recipient not to read it. You need to either discuss cases only using something like a unique ID number that cannot be linked to the patient without access to your records, or you need to use encrypted e-mail (which is a pain to get set up, because everyone involved needs to participate).

  • Document search, search for documents and letters

    CRM 5.0 - ICWC
    In a serviceticket in the business context there are a few files, documents, emails and letters.
    Documents -> uploaded manualy
    Emails -> created after reply or new email
    Letter -> Created by merge-documents
    In the menu 'Document Search' you can search for all attached documents which belongs to the serviceticket. However, only the document types are found.
    Anyone some tips how to add the option to find the letter documents?

    Hi Adil,
    #1. Per my knowledge, anonymous access cannot be granted at item level.
    If we need to allow anonymous access to items or documents in the lists or libraries, the anonymous access should be granted at list/library level.
    #2. To exclude the list items and documents from libraries, I recommend to create search scope to exclude those contents.
    Remember to select Exclude as the Behavior in the search scope.
    More information about search scopes for your references:
    https://technet.microsoft.com/en-us/library/gg185660(v=office.14).aspx
    http://www.bentedder.com/create-a-search-scope-for-a-sharepoint-2010-list-or-library/
    Best regards.
    Thanks
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Document search and knowledge search

    Hi All,
    I have seen two work centres on interaction center:
    document search and knowledge serach.
    what is the difference between the two.
    how can we configure the same.
    please provide some docs.
    Thanks,
    Priya

    Hello Priya,
    Knowledge Search is used to search for solutions to problems using the Software Agent Framework (SAF) to search against the Solution Database (SDB) or other knowledge repositories that you configure (such as Case Management or Service Tickets).
    The Document Search is for searching for related documents that might be linked to the confirmed account using Content Management.
    You can find detailed information and configuration instructions in the online help.
    Warm regards,
    John

  • How to analyze the navigation flow in Oracle Portal, Number of unique users, downloads and other estastisticas of use of the Portal and Documents

    Dear
    Experts, I have a very exciting demand, the board of a customer.
    I need to create an analytical application on Oracle Portal, UCM, Spaces, WebCenter, to inform me which quantitatively pages, url and documents are accessed.
    How to analyze the navigation flow in Oracle Portal, Number of unique users, downloads and other estastisticas of use of the Portal and Documents?
    I thought I'd create a ods with the data of Content Tracker and Google Analytics, and model the analysis through the BIEE.
    I ask, what is the standard solution that is used in these cases?
    Thank you
    Miki

    Dear
    Experts, I have a very exciting demand, the board of a customer.
    I need to create an analytical application on Oracle Portal, UCM, Spaces, WebCenter, to inform me which quantitatively pages, url and documents are accessed.
    How to analyze the navigation flow in Oracle Portal, Number of unique users, downloads and other estastisticas of use of the Portal and Documents?
    I thought I'd create a ods with the data of Content Tracker and Google Analytics, and model the analysis through the BIEE.
    I ask, what is the standard solution that is used in these cases?
    Thank you
    Miki

  • Recommend document search and landscape

    Thousands of people have asked for landscape mode typing support in iTunes reviews. Obviously this is essential to prevent carpal tunnel syndrome for any kind of long term typing. I think it's ironic that it's available for texting, web browsing and so forth but not for pages which requires a great deal more typing.
    Also, I think it would be great to see search functionality integrated with iphone search field.  I wanted to use pages for portable note taking, but it's far too time consuming to search dozens of documents full of notes manually for the thing I'm looking for.
    Both these features are incuded in the FREE and extremely ghetto iphone notes app that came with the phone, and I think theres no reason not to have it in pages.
    If anyone else reading agrees please let apple know at:
    http://www.apple.com/feedback

    Hello Priya,
    Knowledge Search is used to search for solutions to problems using the Software Agent Framework (SAF) to search against the Solution Database (SDB) or other knowledge repositories that you configure (such as Case Management or Service Tickets).
    The Document Search is for searching for related documents that might be linked to the confirmed account using Content Management.
    You can find detailed information and configuration instructions in the online help.
    Warm regards,
    John

  • Data View Web Part - List of Subsites and Document Libraries under Current Site - Must be able to Package as Site Template in SPDesigner

    Hi Guys,
    On the home page of each sub site I would like to be able to show a list of subsites and Document libraries that are under the current subsite.
    I started investigating a solution using Datasources with SOAP requests sent to the server but it is very difficult to understand how to surface it on the Data View WebPart.
    I have tried with the search results webpart but the problem is that it does not work well when packaged in a Site Template.
    Please advise.
    Thanks and Regards,
    Rhyan

    Ok,
    Here is the problem:
    When creating a mysite from powershell or script, apparently you can ONLY do this from a wfe (or a server running Microsoft SharePoint Foundation Web Application in services on server).
    You CANNOT create mysites from script on your appserver if it is not also a Web Application Server. I confirmed the same is true in my test farm. I guess I was always running most of these scripts on the webserver.
    I searched all over and cannot find this documented anywhere.
    Who do I contact to have Microsoft document this?
    It's Thursday morning, I've been working non stop since Saturday morning so you don't have to :)

  • IC Webclient: document search not showing documents for contacts

    Hi,
    I am working with SAP CRM 4.0, SP7.
    I have created an account(a001) with three contacts(c001, c002, c003). I have attached a document(d001) to account a001 and two documents(d002, d003) to contact c001.
    Now when I open the IC-Web client UI and go to 'Identify Account' and enter a001 in the Account ID and do a search account, I see three contacts(c001, c002, c003) in the result list of account. When I click in the contact(c001) and go to 'Document Search', it shows only documents attached to a001 and there is no way I can see the documents attached to c001.
    Can anyone please let me know, how do I see the documents attached to contact c001 in this case?
    Please note that if I enter c001 in the Account ID of 'Identify Account' and then go to 'Document Search', then it shows me the documents d002 and d003. But, I want to see the contacts documents entering from accounts.
    Thanks in advance,
    Kunal

    Hello Hari,
    Sorry for the delayed Response, will check this BADI and if it helps then I will update this thread
    Thanks
    Chandu

  • Java SSF for Digital Signatures and Document Encryption

    Hello,
    I have read in "SAP Help - Java Development Manual" that there is a Java SSF library for Digital Signatures and Document Encryption API.
    http://help.sap.com/saphelp_nw04s/helpdata/en/4f/65c3b32107964996a56e4165077e24/frameset.htm
    I am trying to develop an example application in NWDS using Interfaces/classes (ISsfData, SsfDataXml...), but NWDS does not find this classes in any library.
    I have searched for Javadocs in NWDS plugins directory and this classes and interfaces should be in JAR com.sap.security.api.jar, but they aren't there.
    Our WAS version is: NW04s WAS 7.0 SP11 and he have downloaded Java Crypto Library (IAIK) and also SAP XML Toolkit.
    Does anyone know how to find or obtain this library?
    Thanks in advance,
    Jorge Linares

    Hello Francesco,
    I want to  generate a digital signature (PKCS#7,XML) using SAP SSF API as explained in
    http://help.sap.com/saphelp_nw04/helpdata/en/4f/65c3b32107964996a56e4165077e24/content.htm and in Amol Joshi's reply in
    Digital Signatures and Document Encryption api
    so my question  is From which PI/XI version and its SPS this SAP SSF LIBRARY is supported ?
    Kind Regards,
    Kubra fatima.

  • [CS3][JS] Uniquely identifying documents with common names - possible?

    Hi!
    Is there no way to refer directly to a document in app.documents when there are several documents with the same name open at the same time (located in different folders)?
    I have tried to assign unique labels to the documents when opening them, but have not succeeded in referring to documents by their labels, only by name - and the name not being unique, I get just one document reference (the first).
    I also tried using the documents.itemByRange function, supposedly returning an array of all documents in the range defined by the parameters sent to the function. However, sending in the same name in the "from" and "to" parameters, returned only one document:
    app.documents.itemByRange('test.indd', 'test.indd').getElements().length
    Result: 1
    //(I would have expected to get both of them)
    // Referring directly by the name:
    app.documents.item('test.indd').getElements().length
    Result: 1
    // Checking the name of the documents by their indexes:
    app.documents.item(0).name
    Result: test.indd
    app.documents.item(1).name
    Result: test.indd
    Do you really have to loop through all open documents and check their fullName to be able to uniquely identify a document if the names are not unique?
    Kind regards,
    Andreas Jansson

    Hi Dave,
    Make that three or four... ;)
    Kris at Rorohiko created a method to get unique references to two
    different documents with the same name. It's usable if you have the free
    APID ToolAssistant version 1.0.44 or higher. (it doesn't need to be
    licensed...)
    Here's an excerpt from the reference manual:
    The get doc GUID function is used as follows:
    guid =
    app.callExtension(0x90B6C,10008,document);
    This function returns a GUID (Globally Unique Identifier) for a
    document. This is a string of the form
    {nnnnnnnn-nnnn-nnnnnnnnnnnnnnnnnnnn}
    where all 'n' stand for a hexadecimal digit.
    These GUID allow you to work with same-name documents that
    are concurrently open without getting tangled in the confusion
    that occurs when using resolve calls.
    As long as a document is not moved from its original location on
    disk, it will keep the same GUID. Two documents with the same
    name but different paths will have different GUID.
    Opening, closing, (re)saving to the same location will NOT
    change the GUID.
    Moving a document to another location will change the GUID.
    The find open doc by GUID function is used as follows:
    doc = app.callExtension(0x90B6C,10009,guid);
    This function retrieves a reference to an already open document
    based on its GUID string.
    These GUID strings are unique and persistent and allow
    persistent references to same-name documents without resolvelike
    issues (but the documents are meant to be 'unmovable' i.e.
    they cannot be renamed or moved to another folder). Once the
    document is open, it can be retrieved via its GUID.
    HTH,
    Harbs

  • Belonging To Search Criteria in Document Search

    Hi,
    I have been trying to find an explanation of the search terms "Me", "My Team", "My Group", "My Company" and "My Responsibilty Group" that are available within the document search.
    Having investigated the search results that are returned I cannot work out the logic.  If anyone can assist, then points will be awarded.  Many thanks,
    Jon

    Hi,
    GO to SPRO->Customer Relationship Management->>>Customer Relationship Management>Application Element->Search Group>Define Search Criteria Selection/Define Search Variant Selection
    Groups of different search criteria can be provided in the advanced search. In Account Management for example, you can search for customers according to address fields or corresponding contact partners. The required search fields are always determined from the selection of two dropdown boxes. These are the search fields By-Shuffler and Show-Shuffler.
    You define the selection options for the search criteria selection. This search field is in the advanced search of the People-Centric UI. You define requested data for the selection, that is a specific field group with the selection. You can group the search criteria that you have specified under Search Group Structure. They are listed in a dropdown box.
    Activities
    1. Select New Entries.
    2. Enter a user-defined identifier for the search criteria in the By-Shuffler column.
    3. Enter a description for the search criteria in the Description column.
    reward points if helps
    Regards
    Kushal

  • Document Search - External Repositories

    Hi Folks,
    Has anyone of you worked on integrating the content of external repositories in Document Search within CIC ? Would really appreciate if you could share your experience doing the same.
    Here are the details of what I am trying to achieve:
    Background:  
    We are on CRM 2007 and Implementing Customer Interaction Center (CIC).
    ECC 6.0, Enterprise Portal (EP)  7.0.
    TREX 7.0. We use a single TREX System for both CRM and Enterprise Portal (EP).
    We do not have SAP Content Server, Enterprise Search and not in scope for the CIC Project.
    As part of CIC, One of the Key Tools we are trying to implement is the Document Search.  We have repositories on the CRM System and External to CRM.
    For the Document Stored on CRM we will be using KPro (Tcode SKPR07) and Indexing on TREX to be searched through CIC Document Search.  This is available Standard, out of the Box.
    For  External Repositories ( i.e. Portal KM Documents  , Documents on Intranet Windows System )  we donu2019t have a Standard  design in CRM  to Integrate them into the CIC Document Search  using TREX.
    Any insight for implement Integration of External Repositories into CIC Document Search would be really helpful.
    Regards,
    Sumit B

    Hi Guest,
    I am quite sure that if you use an external document repository you can only use the features provided by the external repository. If the external repository provides document versioning and the repository manager used to integrate the repository in the KM repository framework does implement the functionality then you may be able to use document versioning.Otherwise, not.
    Hope I could help!
    Best regards,
    Martin

  • Document Search - ship to address search help

    All,
    We are extended classic scenario (7.01 SP 10).
    When we go to Document Search - for Purchase Orders and we pick Ship To Address - it provides us with a list of all the ship to addresses - instead of allowing us to enter some selection criteria.    When I click on Product Category it allows us to enter search criteria as you can see from the print screen below.   For Ship To Address - it provides the list of all plants instead of a pop-up box to narrow down the search.   How do we get a search help for the Ship To Address?
    Thanks
    Sandra

    Hello Sandra,
    i do not understand your issue.
    In SRM standard, for SC or PO, search-help is available to look for delivery address
    Shopping Cart:
    Purchase Order:
    You can find which search-help is used in the Web Dynpro Component context.
    It is BBP_BUPA_CLL_PARTNER for PO and BBP_ADDR_BUPA_SHIPTO for SC.
    Regards.
    Laurent.

Maybe you are looking for