Skip to content

Instantly share code, notes, and snippets.

@eedeebee
Last active December 31, 2015 16:49
Show Gist options
  • Select an option

  • Save eedeebee/8015759 to your computer and use it in GitHub Desktop.

Select an option

Save eedeebee/8015759 to your computer and use it in GitHub Desktop.
Query plan search options
<options xmlns="http://marklogic.com/appservices/search">
<search-option>unfiltered</search-option>
<quality-weight>0</quality-weight>
<return-plan>true</return-plan>
<debug>true</debug>
</options>
# Posting the options to the REST server
curl --anyauth --user user:password -X POST -d@'./query-plan-search-options.xml' \
-i -H "Content-type:application/xml" \
http://localhost:8003/v1/config/query/tweet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment