Show us some XML. It's difficult to decipher what you mean without concrete examples.
Don't rule out anything at this point. You may need a new range index. You may have to use XQuery. -- Mike > On 13 Feb 2015, at 10:50 , Maisnam Ns <[email protected]> wrote: > > Hi, > > Can someone help with this use case. > > I have a huge xml data in which product is one of the elements. I want to > find the top 10 products from these data. > > Product is not in the range index and will not be part of facets. > How to search this with JAVA API and not with xquery. > > Secondly, I need to divide the data into two parts. In marklogic there are > directories and collections. > > But how do I search a string from say part A if data is divided into part A > and part B.There is an option to select just from part A , part B and both > Part A and Part B. Depending on selection of options, if I select Part A , > the string has to search from Part A likewise for Part B and if both A and B > is selected it has to search from both A and B. > > Please let me know how to do this in java. A snippet of code will be highly > appreciated. > > And , information studio of Marklogic does not provide any option for > collections , it only provides for different directories. > > Thanks in advance > _______________________________________________ > General mailing list > [email protected] > http://developer.marklogic.com/mailman/listinfo/general _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
