I think you'd need to write a custom 
constraint<http://docs.marklogic.com/guide/search-dev/search-api#id_49750> to 
do that.

--
Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel>
Technical Community Manager
MarkLogic Corporation<http://www.marklogic.com/>
http://developer.marklogic.com/


From: 
<[email protected]<mailto:[email protected]>>
 on behalf of Steve Anderson 
<[email protected]<mailto:[email protected]>>
Reply-To: MarkLogic Developer Discussion 
<[email protected]<mailto:[email protected]>>
Date: Wednesday, September 7, 2016 at 12:10 AM
To: MarkLogic Developer Discussion 
<[email protected]<mailto:[email protected]>>
Subject: [MarkLogic Dev General] Search constrained by mime-type?

Is there a way to constrain a search to a certain mime-type?

For example, if I want to search every JSON document, but not any XML 
documents, how can I do that?

Thanks,

      Steve
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to