Hi Tim, I'm not an expert on co-occurrences, but it sound a bit like you forgot to add the query parameter to the cts:frequency call. If that is not the problem, can you include sample code to demonstrate your issue?
Kind regards, Geert > Drs. G.P.H. Josten Consultant http://www.daidalos.nl/ Daidalos BV Source of Innovation Hoekeindsehof 1-4 2665 JZ Bleiswijk Tel.: +31 (0) 10 850 1200 Fax: +31 (0) 10 850 1199 http://www.daidalos.nl/ KvK 27164984 De informatie - verzonden in of met dit emailbericht - is afkomstig van Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit bericht kunnen geen rechten worden ontleend. > From: [email protected] > [mailto:[email protected]] On Behalf Of > Tim Meagher > Sent: vrijdag 12 juni 2009 17:18 > To: 'General Mark Logic Developer Discussion' > Subject: [MarkLogic Dev General] Frequency of co-occurrences > using cts:element-attribute-value-co-occurrences() > > Hi Folks, > > > > I am familiar with using cts:frequency to get the number of > occurrences of a unique element value in a lexicon using > cts:element-values(), but I'm wondering how to find the > number of co-occurrences between an element and attribute > using cts:element-attribute-value-co-occurrences(). Is there > a distinct result for each element/attribute pair found in a > fragment, and if so, how would one obtain the number of > co-occurrences for a unique element/attribute value pair? > > > > I'm under the impression that performing a cts:frequency on > the value of an element returned by the > cts:element-attribute-value-co-occurrences will return the > number of occurrences of that value in its corresponding > lexicon, not in the results of the call to > cts:element-attribute-value-co-occurrences(). > > > > Thanks for the help, > > > > Tim Meagher - AAOM Consulting > > > > _______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
