Hi Majid

You cannot create facet over fields. If single facet is require over 
elements with different QName then it requires restructuring the content 
and keep the elements value participation during facet formation as new 
attribute or element value with same QName name. Apply the range indexing 
over the new element or attribute.

Regards
Abhishek Srivastav
Systems Engineer
Tata Consultancy Services
Cell:- +91-9883389968
Mailto: [email protected]
Website: http://www.tcs.com
____________________________________________
Experience certainty.   IT Services
                        Business Solutions
                        Outsourcing
____________________________________________



From:
Majid Valipour <[email protected]>
To:
[email protected]
Date:
06/28/2011 08:08 PM
Subject:
[MarkLogic Dev General] Facet on Field
Sent by:
[email protected]



Hi all,

Is it possible to create a Facet on a Field?

If negative what are my options (beside creating a field) to create search 
constraint and facet for
elements foo and bar in the following XML:
<foo>
   <string>abc</string>
</foo>
<bar>
   <string>xyz</string>
<bar>

Thanks,
Majid Valipour
Programmer
Scholars Portal
416-978-7216
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general


=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to